If you're doing keto, net carbs are the only carbs that really matter. Net carbs are the digestible carbohydrates that actually raise your blood sugar, calculated as total carbs minus fiber (and certain sugar alcohols). Everything else, like fiber, passes through largely without affecting your blood sugar or ketosis.1

Understanding net carbs is the single most important skill for keto success, and it's a core part of the keto basics every beginner should master. Once you get this down, reading labels becomes second nature, and you'll never accidentally sabotage your progress with hidden carbs again.


What Are Net Carbs?

Net carbs are the carbohydrates your body actually digests and converts to glucose. They're calculated by subtracting fiber (and certain sugar alcohols) from total carbs.

The basic formula:

Net Carbs = Total Carbs - Fiber

Why subtract fiber? Your body can't digest it. Fiber passes through your digestive system largely intact, so it doesn't raise blood sugar or insulin levels, and it won't affect ketosis.

Example: An avocado has 12g total carbs and 10g fiber.

  • 12g - 10g = 2g net carbs

That's why avocados are a keto staple despite looking "high carb" at first glance.


The Complete Net Carb Formula

For most whole foods, the basic formula works perfectly. But when sugar alcohols are involved (common in keto products), you need the expanded version:

Net Carbs = Total Carbs - Fiber - (Some) Sugar Alcohols

Not all sugar alcohols are created equal. Some don't affect blood sugar at all, while others spike it almost like regular sugar.

Sugar Alcohols: What Counts and What Doesn't

Sugar alcohols (polyols) vary widely in how much they raise blood sugar. The glycemic index (GI) numbers below come from a peer-reviewed review of polyols, measured against glucose (GI 100); for comparison, table sugar has a GI of about 60-65.2

SweetenerSubtract?Glycemic IndexNotes
ErythritolYes, 100%0Best choice; usually well tolerated
AlluloseYes, 100%~0Technically a rare sugar, not a sugar alcohol; excellent choice
Monk fruitYes, 100%0Zero-calorie; often blended with erythritol
SteviaYes, 100%0Zero-calorie; often blended with erythritol or maltodextrin
SorbitolPartially9Count half; can cause digestive upset in larger amounts
IsomaltPartially~2-9Count half
XylitolPartially13Count half; highly toxic to dogs
MaltitolNo35-52Avoid; roughly half the blood-sugar impact of table sugar

The simple rule: Subtract erythritol, allulose, monk fruit, and stevia completely, since they have essentially no effect on blood sugar.2 For xylitol, sorbitol, and isomalt, subtract only half. Never subtract maltitol: with a glycemic index of about 35-52, it raises blood sugar roughly half as much as table sugar, far more than the other polyols.2


How to Calculate Net Carbs: Step by Step

For Whole Foods (No Sugar Alcohols)

Step 1: Find total carbohydrates on the label or look up the food.

Step 2: Find the fiber content.

Step 3: Subtract fiber from total carbs.

Example: 1 cup of broccoli

  • Total carbs: 6g
  • Fiber: 2.4g
  • Net carbs: 3.6g

For Packaged Foods With Sugar Alcohols

Step 1: Find total carbohydrates.

Step 2: Subtract all fiber.

Step 3: Identify which sugar alcohols are listed.

Step 4: Subtract erythritol and allulose completely. Subtract half of xylitol, sorbitol, or isomalt. Don't subtract maltitol.

Example: A "keto" protein bar

  • Total carbs: 18g
  • Fiber: 9g
  • Erythritol: 5g
  • Net carbs: 18 - 9 - 5 = 4g

Example: A candy labeled "sugar-free" (with maltitol)

  • Total carbs: 24g
  • Fiber: 0g
  • Maltitol: 18g
  • Net carbs: 24 - 0 - 0 = 24g (don't subtract the maltitol)

This is why many "sugar-free" candies aren't actually keto-friendly: maltitol is the most common sugar alcohol in cheap sugar-free products.


Net Carbs in Common Keto Foods

Here's a quick reference for foods you'll eat regularly:

Vegetables (per 1 cup raw, unless noted)

FoodTotal CarbsFiberNet Carbs
Spinach1g0.7g0.3g
Lettuce (romaine)1.5g1g0.5g
Celery3g1.6g1.4g
Cucumber2.6g0.5g2.1g
Zucchini3.5g1g2.5g
Broccoli6g2.4g3.6g
Cauliflower5g2g3g
Green beans7g3.4g3.6g
Bell pepper6g2g4g
Cabbage5g2g3g
Asparagus5g2.8g2.2g
Brussels sprouts8g3.3g4.7g
Tomato (1 medium)4.8g1.5g3.3g
Onion (1/4 cup)4g0.5g3.5g

Fruits (serving sizes vary)

FoodServingTotal CarbsFiberNet Carbs
Avocado1/2 fruit6g5g1g
Raspberries1/2 cup7g4g3g
Blackberries1/2 cup7g4g3g
Strawberries1/2 cup6g1.5g4.5g
Blueberries1/4 cup5g0.5g4.5g
Lemon1 whole5g1.5g3.5g
Lime1 whole7g2g5g

Nuts and Seeds (per 1 oz / 28g)

FoodTotal CarbsFiberNet Carbs
Pecans4g2.7g1.3g
Macadamia nuts4g2.4g1.6g
Brazil nuts3g2g1g
Walnuts4g2g2g
Almonds6g3.5g2.5g
Hazelnuts5g2.7g2.3g
Peanuts6g2.4g3.6g
Pistachios8g3g5g
Cashews9g1g8g
Chia seeds12g10g2g
Flax seeds8g8g0g
Hemp seeds2.6g1.2g1.4g

Notice the huge difference between nuts. Pecans and macadamias are keto superstars, while cashews can quickly eat up your carb budget.

Dairy

FoodServingNet Carbs
Butter1 tbsp0g
Heavy cream1 tbsp0.4g
Cream cheese1 oz1g
Cheddar cheese1 oz0.4g
Mozzarella1 oz0.6g
Parmesan1 oz0.9g
Brie1 oz0.1g
Sour cream2 tbsp1g
Greek yogurt (full-fat, plain)1/2 cup4g
Cottage cheese1/2 cup5g
Milk1 cup12g

Milk is surprisingly high in carbs because of the lactose (milk sugar). Stick to cream, cheese, and butter.


Common Net Carb Mistakes

Mistake 1: Trusting "Net Carbs" on Product Labels

The problem: "Net carbs" is not an FDA-defined or FDA-regulated term. The agency only requires "total carbohydrate," "dietary fiber," and "total sugars" on the Nutrition Facts label.3 Companies can calculate "net carbs" however they want, and many subtract maltitol or other sugar alcohols that actually affect blood sugar.

The fix: Always check the ingredients list. If you see maltitol, maltitol syrup, or isomalt, recalculate the net carbs yourself. Some "2g net carb" bars are actually 10-15g when you count properly.

Mistake 2: Ignoring Serving Sizes

The problem: That "3g net carb" serving might be unrealistically small.

The fix: Check the serving size first. If a "keto" cookie says 3g net carbs per serving but the serving is half a cookie, you're eating 6g with the whole thing. Keto ice creams often list servings as 1/3 cup, and who eats that little?

Mistake 3: Not Counting Carbs From Vegetables

The problem: Thinking vegetables are "free" and not tracking them.

The fix: While leafy greens are very low, other vegetables add up. A cup of broccoli here, some onions there, a tomato in your salad, and suddenly you've used 10-15g of your carb budget. Track everything, at least at first.

Mistake 4: Forgetting About Fiber Quality

The problem: Some packaged foods add "functional fibers" like IMO (isomalto-oligosaccharides) that may actually raise blood sugar.

The fix: IMO was once marketed as a true fiber, but research shows it largely digests like a carbohydrate: one study found it raised blood glucose and insulin almost as much as plain sugar.4 If you see IMO on a label and the net carb count seems too good to be true, be skeptical. Stick to foods with naturally occurring fiber.

Mistake 5: Using International Labels Without Adjusting

The problem: Labels from the UK, the EU, and Australia list "available carbohydrate," which already excludes fiber. In other words, the carbohydrate figure is effectively net carbs, with fiber listed separately.5

The fix: If a product is from outside the US and lists "Carbohydrates: 5g" and "Fibre: 3g" separately, the 5g is the net carbs, so don't subtract again, or you'd be undercounting. One caveat: those labels include sugar alcohols (polyols) in the carbohydrate figure, so you can still subtract erythritol and allulose yourself.

Label TypeWhat "Carbohydrates" Means
US/CanadaTotal carbs (subtract fiber)
UK/EU/AustraliaAlready net carbs (don't subtract)

How Many Net Carbs Should You Eat on Keto?

Most people stay in ketosis with these targets:

GoalDaily Net Carbs
Strict keto / guaranteed ketosisUnder 20g
Standard keto20-30g
Liberal keto / maintenance30-50g

20g is the magic number for beginners. At this level, virtually everyone enters ketosis within a few days. As you become fat-adapted, you may be able to tolerate more carbs while staying in ketosis, and some people can go up to 50g, especially if they're active.

For more on setting your macros, see our Keto Macros Guide.


Tips for Staying Under Your Net Carb Limit

Build meals around protein and fat first. Start with your protein (meat, fish, eggs), add healthy fats (olive oil, butter, avocado), then fill in with low-carb vegetables. Carbs become an afterthought rather than the foundation.

Learn the "safe" vegetables. Leafy greens (spinach, lettuce, kale), cruciferous vegetables (broccoli, cauliflower, cabbage), and zucchini are all under 4g net carbs per cup. Eat these freely.

Be careful with "keto" products. Many bars, cookies, and treats use questionable math or blood-sugar-spiking sweeteners. Whole foods are always safer.

Track for the first few weeks. Use an app like Carb Manager or Cronometer to log everything. You'll quickly learn which foods fit your budget and develop intuition for portion sizes.

Save carbs for vegetables, not processed foods. Your 20-30g of net carbs should come primarily from nutrient-dense vegetables, not keto desserts. A cup of broccoli gives you fiber, vitamins, and minerals. A keto cookie gives you... a cookie.


Net Carbs vs. Total Carbs: Which Should You Track?

Track net carbs. This is the standard approach for keto, and it's the same one we use throughout our keto macros guide. Fiber doesn't raise blood sugar or affect ketosis, so counting it against your limit is unnecessarily restrictive.

Some people prefer tracking total carbs for simplicity or because they're very carb-sensitive. If you're not seeing results with net carbs, you could try a stricter total carb limit (under 30-40g total). This is also one of the key differences worth understanding in our keto vs. low-carb breakdown. But for most people, net carbs work perfectly.


Frequently Asked Questions

Does fiber really not count?

Correct. Fiber passes through your digestive system without being converted to glucose. It doesn't raise blood sugar or insulin, and it won't kick you out of ketosis. In fact, fiber is beneficial for gut health and helps you feel full.

What about "soluble" vs. "insoluble" fiber?

Both types can be subtracted. Soluble fiber forms a gel and slows digestion (found in oats, beans, and some vegetables). Insoluble fiber adds bulk (found in vegetable skins, nuts, and whole grains). Neither significantly impacts blood sugar.

Can I eat unlimited net carbs if they're from fiber?

Technically, if a food's carbs are entirely from fiber, the net carbs are zero. But use common sense: if you're eating huge amounts of fiber, you might experience digestive discomfort. Also, check that the fiber is naturally occurring, not added functional fibers like IMO.

Why do some keto calculators give different net carb numbers?

Different databases and rounding can cause small variations. USDA data, manufacturer data, and third-party testing sometimes disagree. A difference of 0.5g here or there won't matter, so focus on consistency rather than precision.

Is allulose a sugar alcohol?

Technically no. Allulose is a rare sugar that occurs naturally in small amounts in foods like figs and raisins. But it behaves much like erythritol: it tastes like sugar, has about 0.4 calories per gram, and has minimal impact on blood glucose. A meta-analysis found 5-10g with a meal meaningfully blunts the post-meal glucose rise.6 The FDA also exempts allulose from "total sugars" and "added sugars" on the label (it still counts in total carbohydrate).6 You can safely subtract 100% of allulose when calculating net carbs.

Do net carbs matter if I'm not doing keto?

Net carbs are most relevant for keto because ketosis requires very low carb intake. If you're doing general low-carb (not strict keto), tracking total carbs or net carbs both work, just be consistent with whichever method you choose.


Quick Reference: Net Carb Calculation

For whole foods:

Net Carbs = Total Carbs - Fiber

For packaged foods with sugar alcohols:

Net Carbs = Total Carbs - Fiber - Erythritol - Allulose - (Half of Xylitol/Sorbitol/Isomalt)

Never subtract:

  • Maltitol
  • Maltitol syrup
  • Regular sugar (obviously)

When in doubt: Check the ingredients, test your blood sugar response, and remember that whole foods are always the safest choice.


Key Takeaways

  • Net carbs = Total carbs - Fiber (for whole foods)
  • Subtract erythritol and allulose completely; subtract half of xylitol/sorbitol; never subtract maltitol
  • Aim for 20-30g net carbs daily for reliable ketosis
  • Don't trust product labels, always verify the math and ingredients yourself
  • Focus on vegetables for your carbs, not processed keto products
  • Track for a few weeks to build intuition, then transition to intuitive eating


Sources


  1. Healthline, "Net Carbs: How to Calculate Them". Net carbs in whole foods are calculated by subtracting fiber from total carbohydrates; fiber is not digested into glucose and does not raise blood sugar. ↩︎

  2. Livesey G. "Health potential of polyols as sugar replacers, with emphasis on low glycaemic properties." Nutrition Research Reviews, 2003. PubMed. Reported glycemic indices: erythritol 0, xylitol 13, sorbitol 9, isomalt ~2-9, maltitol 35 (other sources cite up to ~52). For comparison, sucrose (table sugar) has a glycemic index of about 60-65. ↩︎ ↩︎ ↩︎

  3. U.S. Food & Drug Administration, "Guidance for Industry: Food Labeling Guide." The Nutrition Facts label requires "Total Carbohydrate," "Dietary Fiber," and "Total Sugars"; "net carbs" is not an FDA-defined or regulated term. ↩︎

  4. Madsen LR, et al. "Gastrointestinal Tolerance and Glycemic Response of Isomaltooligosaccharides in Healthy Adults." Nutrients, 2017. PMC. The study found IMO produces a glycemic and insulinemic response comparable to digestible sugars, concluding IMO behaves as a digestible caloric carbohydrate rather than a true non-digestible fiber. ↩︎

  5. In the EU, UK, and Australia, nutrition labels declare "available carbohydrate," which excludes fiber, so the listed carbohydrate value already represents what US consumers call net carbs. See ESHA/Trustwell, "How Carbs Are Calculated in Different Countries." ↩︎

  6. Han Y, et al. "Allulose for the attenuation of postprandial blood glucose levels in healthy humans: A systematic review and meta-analysis." Nutrients, 2023. PMC. The FDA also exercises enforcement discretion allowing allulose to be excluded from "Total Sugars" and "Added Sugars" (while remaining in Total Carbohydrate) and to use 0.4 kcal/g; see FDA allulose guidance↩︎ ↩︎