To calculate net carbs, take a food's total carbs and subtract: Fiber. Since our body doesn't have the enzymes to break down fiber, it passes through our digestion system unchanged.