Skip to main content

Calculating Your Keto Macros: An Evidence-Based Guide

In this article

  • There is no evidence-based keto ratio that suits every person.
  • The Mifflin–St Jeor equation estimates resting energy. It does not measure total daily energy and can be meaningfully wrong for an individual.
  • “Net carbs” is an informal calculation. Decide whether you are tracking total or net carbohydrate and use the same convention throughout.
  • Carbohydrate and protein targets need individual context. Fat is usually the arithmetic remainder, not a quota to force.
  • A calculator cannot adjust diabetes medicine, prescribe a therapeutic ketogenic diet, or turn a ketone value into a health score.

A macro calculation converts a food plan into daily grams of carbohydrate, protein, and fat. It can make meal planning more consistent, but it cannot determine whether a ketogenic diet is appropriate, nutritionally adequate, or effective for a medical condition.

This guide is based on the original energy-equation research, validation studies, current clinical guidance, and official food-label rules rather than fixed ratios copied from commercial keto plans.

Illustrated calculator, body measurements, food scale, and two different nutrition-label formats feeding into an estimate range
Macro planning combines uncertain energy estimates, individual protein needs, a clearly defined carbohydrate method, and the actual serving and label jurisdiction. The result is a starting estimate, not a prescription.

Medication safety: Do not use a macro calculator to change insulin or another diabetes medicine. Carbohydrate restriction can increase hypoglycemia risk with insulin and some glucose-lowering drugs. The 2026 American Diabetes Association (ADA) Standards also advise avoiding very-low-carbohydrate plans with SGLT2 inhibitors because of ketoacidosis risk.38 Review keto side effects and urgent warning signs before making a major change.

Start with the purpose, not a ratio

A self-directed weight-loss plan, a sports nutrition plan, diabetes medical nutrition therapy, and a prescribed epilepsy diet do not use the same targets. Clinical ketogenic diets can specify a fat-to-carbohydrate-plus-protein ratio and laboratory follow-up. Those treatment protocols should not be reverse-engineered from a lifestyle calculator.

For diabetes care, the ADA does not endorse one ideal percentage of calories from carbohydrate, protein, or fat. Its 2026 guidance calls for an individualized eating plan based on metabolic goals, preferences, access to food, treatment, and the person's ability to sustain the plan.3 The same caution applies to generic keto percentages. A chart showing 75% fat, 20% protein, and 5% carbohydrate describes one formulation; it does not establish a personal requirement.

Before doing arithmetic, define:

  • the reason for changing the diet;
  • whether a clinician has set any carbohydrate, protein, fluid, mineral, or energy limits;
  • medicines that may be affected;
  • whether you will count total or net carbohydrate;
  • the outcomes that will determine whether the plan is helping.

Use Is Keto Right for You? for the safety screen and Keto Diet 101 for evidence on common goals.

Estimate resting energy, with the error visible

What the Mifflin–St Jeor equation estimates

M. D. Mifflin, S. T. St Jeor, and colleagues developed their resting energy expenditure equation from indirect-calorimetry measurements in 498 adults aged 19 to 78. The simplified equations are:1

  • Equation labeled for men in the original study: 10 × weight in kg + 6.25 × height in cm − 5 × age in years + 5
  • Equation labeled for women in the original study: 10 × weight in kg + 6.25 × height in cm − 5 × age in years − 161

The result estimates energy used at rest. It is not a direct measurement of basal metabolism, exercise expenditure, digestion, or a full day's energy requirement.

The original model has two sex-specific constants. It does not model the effects of hormone therapy, intersex variation, or individual differences in body composition. A calculator asks for one of the source categories because the equation requires it, not because the result defines gender or precisely captures physiology.

How large can the error be?

In a systematic review led by clinical nutrition researcher David Frankenfield, Mifflin–St Jeor was more likely than several common equations to predict resting metabolic rate within 10% of a measured value. It still produced noteworthy individual errors, and older adults and U.S. ethnic-minority groups were underrepresented in the validation evidence.2

An activity multiplier adds another layer of uncertainty. “Light,” “moderate,” and “very active” are broad categories, and watches also estimate rather than directly measure energy expenditure. There is no defensible universal “professional athlete” multiplier: training volume, sport, season, body-composition goals, and recovery demands differ too much.

After you have chosen carbohydrate, protein and fat amounts, the macro arithmetic worksheet converts those entered grams into calories and percentages using the general 4/4/9 factors. Its optional energy-reference field compares two numbers you supply. It does not estimate energy needs, select macro amounts or withhold and recalculate a fat target.

Why a fixed calorie deficit is a poor default

Automatically subtracting the same number of calories from every estimate compounds two uncertainties: the starting estimate may be wrong, and the appropriate rate of weight change differs by person. A larger theoretical deficit is not automatically safer or more effective.

If weight change is the goal, treat the estimate as a starting hypothesis. Compare it with actual intake, a trend measured over several weeks, hunger, training, sleep, symptoms, and clinical context. A dietitian or clinician can help set and reassess energy intake when there is diabetes, pregnancy, adolescence, kidney disease, substantial weight loss, high training load, or eating-disorder risk.

Choose total carbohydrate or an explicit net-carb method

Total carbohydrate on a U.S. label

The U.S. Nutrition Facts panel provides a regulated Total Carbohydrate value. Dietary fiber appears beneath it, and sugar alcohol may be declared when relevant. The FDA's label materials explain that Total Carbohydrate includes dietary fiber and sugar alcohols.4

Tracking total carbohydrate uses the printed value without further subtraction. It is the clearest convention when products use different fibers, sweeteners, or front-of-package “net” claims.

Net carbohydrate is an informal estimate

The FDA does not require a “net carbs” nutrient line. In common U.S. use, an estimate begins with Total Carbohydrate and subtracts selected components. The choices must be explicit:

  • dietary fiber may be subtracted when using a U.S. label;
  • sugar alcohols differ in absorption and metabolism, so there is no reliable blanket “subtract half” rule;
  • allulose needs its own identified amount; FDA guidance keeps it in Total Carbohydrate while allowing it to be excluded from Total Sugars and Added Sugars.5

Do not guess an unlisted component or subtract every sugar alcohol automatically. The net carb calculator keeps the label value visible and subtracts only adjustments the user selects.

Label systems also differ. Under European Union rules, carbohydrate and fibre are separate entries in the nutrition declaration.6 Subtracting fibre again from an EU-style carbohydrate value counts the same difference twice. Choose the label region before calculating, and use values from the same serving or 100-gram column.

A net-carb estimate does not predict a specific glucose or ketone response. Product formulation, portion size, label rounding, and individual physiology still matter.

Set carbohydrate from context

There is no carbohydrate number that guarantees ketosis for every person. Food intake, energy balance, activity, recent diet, physiology, and medicine influence ketone production. Research papers also use different definitions of “low carbohydrate” and “ketogenic.”

A starting carbohydrate target should therefore record:

  • total or net counting;
  • grams per day, rather than only a calorie percentage;
  • the reason for the target;
  • fiber and food-quality constraints;
  • the date and outcome for reassessment.

For diabetes, carbohydrate targets must be coordinated with medication and glucose monitoring. For a prescribed ketogenic therapy, the clinical team sets the protocol. For a self-directed plan, do not keep cutting carbohydrate simply to chase a higher ketone reading.

Read how many carbs on keto for the range used in research and the reasons people respond differently.

Set protein without a universal table

Protein needs vary with body size, age, energy intake, training, injury or illness, pregnancy, and kidney function. A table that assigns one grams-per-pound target to every “sedentary,” “fat loss,” or “muscle gain” category hides those differences.

Set protein before calculating the fat remainder, but use an individualized source for the number. A registered dietitian can account for the goal and any clinical restrictions. Someone with kidney disease should not copy a high-protein target from a fitness plan; an athlete should not rely on a generic activity multiplier to provide a sport-specific protein strategy.

Protein does not have one universal cutoff at which it “kicks you out” of ketosis. Do not lower an adequate protein plan only because a home ketone value changed.

Calculate fat as the remainder

After energy, carbohydrate, and protein have been selected, the arithmetic remainder can be expressed as fat:

Estimated fat grams = [daily energy − (carbohydrate grams × 4) − (protein grams × 4)] ÷ 9

The 4, 4, and 9 values are standard energy-conversion factors for carbohydrate, protein, and fat. They simplify planning; food labels and databases still involve rounding.

If the expression is negative, the inputs conflict. Do not replace the negative result with zero or pretend the plan balances. Reconsider the estimated energy, carbohydrate, and protein inputs with the person who set them.

The fat result is not a minimum that must be reached with butter, oil, or “fat bombs.” It is the portion of the selected energy estimate left after the other inputs. Appetite, actual progress, food quality, and medical needs may justify a different plan. When choosing fats, emphasize sources such as olive oil, nuts, seeds, avocado, and fish rather than allowing a low-carb target to drive saturated-fat intake upward.

Adjust from observations, not ketone chasing

A useful review compares the plan with what happened:

  • Was the selected total-or-net convention used consistently?
  • Were serving sizes and raw-versus-cooked entries consistent?
  • Did the plan provide varied foods, fiber, and adequate protein?
  • Did hunger, gastrointestinal symptoms, sleep, or training change?
  • If relevant, what happened to glucose, blood pressure, kidney markers, LDL cholesterol, and apoB?
  • Is the restriction practical enough to sustain without distressed or rigid eating?

Initial body-weight changes can be noisy, and a single day does not calibrate an energy equation. Review a stable trend rather than changing macros after every fluctuation. Recalculate after a meaningful, sustained change in body weight, activity, treatment, or goal.

For athletes, the International Society of Sports Nutrition position stand led by Alex Leaf found that ketogenic diets had largely neutral or detrimental effects on athletic performance compared with higher-carbohydrate diets, with context varying by activity and study duration.7 A generic calculator cannot plan training fuel, competition, recovery, or periodization; a sports dietitian can.

Ketone measurements can answer a defined clinical or adherence question, but they do not grade food quality, fat loss, cardiovascular risk, or overall safety. The ketone level interpreter explains the limits of blood, breath, and urine readings.

Frequently Asked Questions

What is the standard keto macro ratio?
There is no evidence-based ratio for everyone. Research protocols and clinical diets use different formulations, while personal targets depend on the goal, medical context, food quality, and response.
Does Mifflin–St Jeor give my exact calorie need?
No. It estimates resting energy from age, height, weight, and one of the original study's two sex constants. Activity multipliers add uncertainty, and validation research documents meaningful individual error.
Should I count total carbs or net carbs?
Either can be used consistently, but they are not interchangeable. Total Carbohydrate is the regulated U.S. label value. Net carbs is an informal estimate whose deductions and label region must be stated.
Should I always subtract all sugar alcohols?
No. Sugar alcohols differ, and a label may combine more than one. Do not use a blanket percentage or deduct an amount that the label does not identify.
Do I have to hit the calculated fat number?
No. Fat is the arithmetic remainder after selected energy, carbohydrate, and protein inputs. It is not a quota to force when appetite, symptoms, observed progress, or clinical advice points elsewhere.
Should I lower carbs or protein to raise my ketones?
A higher ketone reading is not a general health score. Do not compromise adequate protein, food quality, medication safety, or clinical goals to chase a number.

Works cited

  1. Mifflin MD, St Jeor ST, Hill LA, Scott BJ, Daugherty SA, Koh YO. A new predictive equation for resting energy expenditure in healthy individuals. American Journal of Clinical Nutrition. 1990;51(2):241–247. https://pubmed.ncbi.nlm.nih.gov/2305711/
  2. Frankenfield D, Roth-Yousey L, Compher C. Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults: a systematic review. Journal of the American Dietetic Association. 2005;105(5):775–789. https://pubmed.ncbi.nlm.nih.gov/15883556/
  3. American Diabetes Association Professional Practice Committee. Facilitating Positive Health Behaviors and Well-being to Improve Health Outcomes: Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1):S89–S131. Accessed August 23, 2026. https://diabetesjournals.org/care/article/49/Supplement_1/S89/163932/5-Facilitating-Positive-Health-Behaviors-and-Well
  4. U.S. Food and Drug Administration. Total Carbohydrate on the Nutrition Facts Label. October 2021. Accessed August 23, 2026. https://www.accessdata.fda.gov/scripts/interactivenutritionfactslabel/assets/InteractiveNFL_TotalCarbohydrate_October2021.pdf
  5. U.S. Food and Drug Administration. Guidance for Industry: The Declaration of Allulose and Calories from Allulose on Nutrition and Supplement Facts Labels. October 2020. Accessed August 23, 2026. https://www.fda.gov/regulatory-information/search-fda-guidance-documents/guidance-industry-declaration-allulose-and-calories-allulose-nutrition-and-supplement-facts-labels

Article history

  1. Updated
  2. First published

Your learning guide

Loading reading status…