HealthMarch 30, 2026

Net Carbs Calculator Guide: How to Count Net Carbs for Keto (2026)

By The hakaru Team·Last updated March 2026
Medical Disclaimer: This guide is for informational purposes only and does not constitute medical or dietary advice. Consult a registered dietitian or physician before making significant changes to your diet.

Quick Answer

Net carbs = total carbohydrates minus dietary fiber (and sugar alcohols for keto). For a standard ketogenic diet, the target is 20–50 grams of net carbs per day to maintain ketosis. Most nutritional labels list total carbs and fiber separately, so subtract fiber grams from total carbs to find net carbs.

The Net Carbs Formula Explained

The standard net carbs formula is simple:

Net Carbs = Total Carbohydrates − Dietary Fiber

That's it for most purposes. If you're eating whole foods and checking nutrition facts labels, subtracting fiber grams from total carb grams gives you net carbs. A cup of broccoli might list 6g total carbs and 2.4g fiber — so net carbs are 3.6g.

When to Subtract Sugar Alcohols

For keto dieters tracking processed low-carb foods, sugar alcohols add a layer of complexity. Not all sugar alcohols behave the same way metabolically:

  • Erythritol: glycemic index ~0; subtract fully from total carbs
  • Xylitol and sorbitol: moderate glycemic impact; conventionally counted at half value
  • Maltitol: glycemic index ~52 (similar to table sugar); count at full value

The working formula when sugar alcohols appear on a label:

Net Carbs = Total Carbs − Fiber − (Sugar Alcohols × applicable fraction)

The FDA Fiber Definition

The U.S. Food and Drug Administration defines dietary fiber as non-digestible soluble and insoluble carbohydrates that have physiological benefits (such as lowering blood glucose or cholesterol). Since 2020, the FDA requires manufacturers to list only fiber types with proven benefits — which means the fiber number on a U.S. nutrition label is reliable for net carb calculations. According to the USDA FoodData Central database (2024), average American fiber intake is approximately 16 grams per day, well below the 25–38g recommended by the Dietary Guidelines for Americans.

Net Carbs vs Total Carbs: Why the Distinction Matters

Total carbohydrates on a nutrition label include everything: sugars, starches, and fiber. But not all carbs have the same effect on your body. Dietary fiber passes through the digestive tract largely intact — it doesn't get broken down into glucose, and it doesn't raise blood sugar.

This distinction matters most for:

  • Ketogenic and low-carb dieters: counting total carbs would make many fiber-rich vegetables appear off-limits, when they're actually ideal keto foods
  • People with type 2 diabetes or prediabetes: fiber slows glucose absorption and reduces post-meal blood sugar spikes
  • Anyone tracking macros: net carbs give a more accurate picture of caloric load and glycemic impact

Glycemic Index Context

The glycemic index (GI) measures how quickly a food raises blood glucose on a scale of 0 to 100. High-fiber foods consistently rank lower. According to research published in Diabetes Care(2021), replacing high-GI foods with low-GI alternatives reduced HbA1c (a three-month blood sugar marker) by an average of 0.5 percentage points in people with type 2 diabetes — a clinically meaningful reduction.

A study in the Journal of Nutrition (2022) found that dietary fiber intake was inversely associated with fasting blood glucose, with each 10g/day increase in fiber linked to a 0.8 mmol/L reduction in fasting glucose. High-fiber, low-net-carb foods achieve low GI scores precisely because fiber slows the digestion of any accompanying starches or sugars.

Daily Net Carb Targets by Diet Type

Net carb targets vary significantly by diet type. The right target depends on your goals: ketosis maintenance, general weight loss, metabolic health, or simply eating healthier than the standard American diet.

Diet TypeDaily Net Carb TargetPrimary Goal
Standard Ketogenic Diet20–50gSustained ketosis, fat adaptation
Modified / Targeted Keto50–100gKeto with pre/post-workout carbs
Low-Carb (non-keto)100–150gWeight loss, blood sugar control
Mediterranean Diet~225gCardiovascular health, longevity
Standard American Diet~300g(No specific target — typical intake)

According to the American Diabetes Association's 2023 Standards of Care, low-carbohydrate eating patterns (defined as fewer than 130g total carbs per day) are effective for improving glycemic control and reducing cardiovascular risk factors in adults with type 2 diabetes. No single carb target is right for everyone — individual metabolic response, activity level, and health goals all factor in.

High Net Carb Foods vs Low Net Carb Foods

The biggest practical challenge with net carbs is knowing which foods to avoid and which to eat freely. Here's a direct comparison of common foods:

Food (per standard serving)Net CarbsCategory
White bread (1 slice, 28g)~13gHigh — avoid on keto
Cooked pasta (1 cup)~38gHigh — avoid on keto
White rice (1 cup cooked)~44gHigh — avoid on keto
Banana (1 medium)~24gHigh — avoid on keto
Spinach (1 cup raw)~0.4gLow — freely eat
Raspberries (½ cup)~5gLow — keto-friendly in moderation
Almonds (1 oz / 23 nuts)~2.7gLow — keto-friendly
Avocado (½ medium)~2gLow — freely eat

Processed grain products and tropical fruits sit at the high end. Leafy greens, non-starchy vegetables, most berries, nuts, and healthy fats cluster at the low end. The pattern holds across food groups: the more processed and starch-dense a food, the higher its net carb count.

Net Carbs in Common Keto-Friendly Foods

If you're building a keto meal plan, these are the staples. All values sourced from USDA FoodData Central (2024):

Food (per serving)Total CarbsFiberNet Carbs
Avocado (½ medium, ~68g)6g4g2g
Broccoli (1 cup raw, ~91g)6g2.4g3.6g
Almonds (1 oz, ~28g)6.1g3.4g2.7g
Cream cheese (2 tbsp, ~29g)1.6g0g1.6g
Eggs (2 large)0.7g0g0.7g
Bacon (3 slices cooked, ~34g)0.1g0g0.1g

Eggs, bacon, and cream cheese are essentially zero net carbs — which is why they're keto staples. Avocado and almonds have more total carbs but high fiber offsets the count. Broccoli at 3.6g net carbs per cup is one of the most nutrient-dense low-carb vegetables available.

A 2020 meta-analysis in Nutrition & Metabolismexamined 13 randomized controlled trials on very-low-carbohydrate ketogenic diets and found significant reductions in body weight, triglycerides, and blood glucose compared to low-fat control diets. Participants averaged 20–50g net carbs per day across these studies. According to Atkins Nutritionals' dietary research summaries, individuals who track net carbs (rather than total carbs) tend to maintain higher dietary adherence because they can eat more vegetables and still hit their targets.

Calculate net carbs for any food instantly

Use our free Net Carbs Calculator →
Medical Disclaimer: This guide is for informational purposes only and does not constitute medical or dietary advice. Consult a registered dietitian or physician before making significant changes to your diet.

Frequently Asked Questions

What is the net carbs formula?

Net carbs = total carbohydrates minus dietary fiber. For keto dieters tracking sugar alcohols, a modified formula applies: net carbs = total carbs minus fiber minus half of sugar alcohol grams (since most sugar alcohols have a partial glycemic impact). The basic fiber-only formula is the standard used on most nutrition labels.

How many net carbs per day for keto?

Most standard ketogenic diet protocols target 20 to 50 grams of net carbs per day to maintain ketosis. The lower end (20g) is typically used during an induction phase or for people who are more insulin-resistant. Some individuals can sustain ketosis at up to 50g net carbs daily, depending on activity level and metabolic health.

Do sugar alcohols count as net carbs on keto?

It depends on the sugar alcohol. Erythritol has a glycemic index of nearly zero and is generally subtracted in full. Maltitol has a glycemic index of 52 and is often counted at full value. Xylitol and sorbitol fall in between and are commonly counted at half value. When in doubt, count half the sugar alcohol grams to be conservative.

Why do net carbs matter more than total carbs?

Dietary fiber is not digested or absorbed by the small intestine, so it does not raise blood glucose or trigger an insulin response. Only digestible (net) carbs affect blood sugar. For people managing ketosis, blood sugar control, or insulin resistance, net carbs give a more accurate picture of a food's metabolic impact than total carbs.

Which vegetables are lowest in net carbs?

Leafy greens are the best option: spinach has about 0.4g net carbs per cup, romaine lettuce about 0.7g, and arugula about 0.4g. Other low net carb vegetables include zucchini (2.4g per cup), cauliflower (3.2g per cup), broccoli (3.6g per cup), and cucumber (1.9g per cup). Starchy vegetables like corn, peas, and potatoes are much higher.

Can you eat fruit on a keto diet?

Most fruits are too high in net carbs for strict keto. A medium apple has about 21g net carbs and a banana has 24g — already at or above the daily keto limit in a single serving. Lower-carb options include raspberries (5g net carbs per half cup), blackberries (6g), and strawberries (6g). Avocado, often categorized as a fruit, is keto-friendly at just 2g net carbs per half.