Net Carbs & Keto Macro Calculator
Calculate net carbs from a food label, then get your personalized keto macro targets.
Net Carbs vs. Total Carbs: What Actually Matters on Keto?
Walk down the keto snack aisle at any grocery store and you will see it everywhere: "Only 3g Net Carbs!" printed in large, confident type while the nutrition label underneath lists 22 grams of total carbohydrates. That gap โ 19 grams โ is not marketing trickery. It reflects a genuine biochemical distinction between carbohydrates that spike your blood glucose and those that pass through your gut without being absorbed in the same way. Understanding this distinction is the single most important number skill you can develop on a ketogenic diet.
The Simple Formula Behind Net Carbs
Net carbs are calculated by starting with total carbohydrates from the nutrition label and subtracting two categories: dietary fiber and sugar alcohols. The standard formula is:
Net Carbs = Total Carbs โ Dietary Fiber โ (Sugar Alcohols ร Impact Factor)
Fiber earns a full subtraction because humans lack the enzymes to break down most dietary fiber into glucose. Soluble fiber ferments partially in the colon, but even this produces short-chain fatty acids rather than glucose, contributing minimally to blood sugar. The net effect on ketosis is essentially zero for most people.
Sugar alcohols are more complicated, which is why the calculator asks you to specify the type. Erythritol, which has become the dominant sweetener in keto baking, is absorbed in the small intestine and then excreted in urine almost entirely unchanged โ its glycemic index is essentially zero, and most keto dieters subtract it fully. Xylitol and sorbitol, by contrast, have a partial metabolic impact, typically counted at about half their gram weight. Maltitol is the troublesome one: it has a glycemic index roughly half that of table sugar, meaning you should count nearly all of its grams toward your net carb total regardless of what the front-of-package claims.
Why Your Daily Carb Limit Is Not One Number
The oft-cited threshold of "under 20 grams of net carbs per day" for entering ketosis is a starting point, not a universal law. Ketosis occurs when liver glycogen is depleted enough that the body shifts to producing ketone bodies from fat. How quickly that happens โ and at what carbohydrate intake level you can remain in ketosis โ depends on several individual factors: your metabolic health, activity level, body composition, and how long you have been fat-adapted.
Sedentary individuals with insulin resistance typically need to stay closer to 20 grams to maintain measurable ketosis. Athletes doing high-intensity training can often sustain ketosis at 50 grams or even higher because muscle glycogen turnover is rapid. Someone who has been keto for two or more years and has developed strong fat-adaptation may tolerate carb creep better than a newcomer. This is why the calculator lets you set your own carb limit rather than imposing a fixed number โ your target should be calibrated to your situation.
How to Set Your Keto Macros Beyond Just Carbs
Keto is often described as a high-fat diet, but the more precise framing is that fat is a residual macro โ it fills the calorie gap after you have set your carbs and protein. Getting protein right matters more than most people starting keto realize. Too little protein on a calorie-restricted keto diet leads to muscle loss; too much can theoretically push amino acids into gluconeogenesis and impair ketosis, though research suggests this effect is smaller than commonly feared.
A practical approach is to set protein between 20โ30% of total calories, depending on your activity level and whether you are trying to preserve or build lean mass. Fat then covers the remaining calories after carbohydrates are accounted for. At a 1,800-calorie intake with a 20-gram carb limit and 25% protein, for example, you would land at approximately 140g fat, 112g protein, and 20g net carbs โ giving a ratio close to the classic 70/25/5 split.
Reading Nutrition Labels Like a Keto Detective
The label on a US food product lists total carbohydrates, then indents fiber and sugars beneath it. Sugar alcohols may or may not be listed depending on the manufacturer. If a product claims to be "keto" but does not separately list sugar alcohols, check the ingredients list for sorbitol, maltitol, xylitol, isomalt, glycerol, or erythritol. Once identified, apply the appropriate impact factor before calling a food "low carb."
A common trap is "net carb" claims on protein bars where maltitol is the primary sweetener. A bar with 25g total carbs, 2g fiber, and 18g maltitol sugar alcohols might advertise 5g net carbs. But applying the correct 100% impact factor for maltitol leaves you with 23 effective carbs โ nearly a full day's budget on a strict keto protocol. The calculator above handles this automatically once you select the sugar alcohol type.
Common Mistakes That Knock You Out of Ketosis Without Realizing
Even careful keto dieters hit unexpected stalls. Hidden carbs in restaurant sauces, condiments, and medications (many pills use glucose-based fillers) add up quickly. Portion sizes are another culprit: a serving of nuts listed at 5g net carbs becomes 15g when you eat three servings. Dairy products โ particularly milk and yogurt โ contain lactose, a disaccharide that must be counted fully. Heavy cream and hard aged cheeses are low-carb; milk and sweetened yogurt are not, despite being dairy.
Net carb math also does not account for individual gut microbiome differences. Some people produce more butyrate from fermenting fiber, which may have mild systemic effects. For most practical purposes this is negligible, but it illustrates why testing your ketone levels with a blood meter remains the gold standard for knowing whether your numbers are working for your specific body.
Using the Calculator Effectively
For the food label section, pull up the nutrition facts of whatever food you are evaluating โ a snack bar, a recipe you have cooked, or a packaged product. Enter total carbs, then fiber, then sugar alcohols if present. Select the sugar alcohol type from the dropdown. The result tells you the realistic net carb impact of that food on your daily budget.
For the macro planning section, enter your daily calorie target (your TDEE minus whatever deficit you are running), set your personal carb limit, and choose a protein ratio. The results will show you grams and percentages for fat, protein, and net carbs, along with calorie contributions from each. This gives you a complete picture of how to structure your day โ not just whether a single food fits.
Think of net carb tracking as financial budgeting. Knowing one purchase is affordable does not mean you have planned your whole month. The macro targets section is your monthly budget; the net carbs section tells you the cost of each transaction.