Cooking

Keto Macros Calculator — fat, protein & carbs for ketosis

Calculator Free · Private
Reviewed by: (política editorial ) · Last reviewed:
Was this calculator helpful?

A well-formulated ketogenic diet is a metabolic intervention, not just a low-carb meal plan. The macronutrient split that defines nutritional ketosis in adults is generally carbohydrates below 50 g per day (often under 25 g for therapeutic targets), protein around 1.2 to 1.7 g per kg of reference body weight (roughly 20 to 25 percent of calories), and fat filling the remainder at about 70 to 75 percent of calories. The biological endpoint is sustained beta-hydroxybutyrate (BHB) above 0.5 mmol/L on a blood ketone meter, the threshold that Stephen Phinney and Jeff Volek call nutritional ketosis (0.5 to 3.0 mmol/L). This calculator lets you set your daily calorie target and goal (cut, maintain, or lean gain) and returns the gram targets for fat, protein, and carbs that keep you inside nutritional ketosis while honoring an evidence-based protein floor for lean mass retention.

Last reviewed: June 3, 2026 Verified by Source: Virta Health — Two-Year Outcomes of a Novel Continuous Care Intervention for T2D, Athinarayanan SJ et al. — Long-Term Effects of a Ketogenic Diet in T2D (Frontiers in Endocrinology 2019), Norwitz NG, Soto-Mota A et al. — Elevated LDL Cholesterol with a Carbohydrate-Restricted Diet (Curr Opin Endocrinol Diabetes Obes 2022), Phinney SD & Volek JS — The Art and Science of Low Carbohydrate Living (Beyond Obesity LLC), ISSN Position Stand: Diets and Body Composition (Aragon et al., JISSN 2017) 100% private

A standard ketogenic diet uses roughly 72% of calories from fat, 23% from protein, and 5% from carbohydrates — keeping total carbs under 50 g/day to sustain nutritional ketosis (blood BHB ≥ 0.5 mmol/L). At 2,000 kcal: ~160 g fat, ~115 g protein, ~25 g carbs.

When to use this calculator

  • Type 2 diabetes remission protocols (Virta-style continuous remote care with BHB targeting and HbA1c monitoring)
  • Adjunctive therapy for drug-resistant epilepsy in adolescents and adults using a Modified Atkins approach instead of a strict 4:1 classical keto ratio
  • Endurance and CrossFit athletes targeting fat adaptation with BHB in the 0.8 to 1.5 mmol/L range for steady-state performance
  • Weight-loss plateau breaks for low-carb dieters who have stalled on a generic low-carb plan and need a true sub-50 g carb threshold
  • Lean-mass preservation during an aggressive cut (20 to 25 percent deficit) where a 1.6 g/kg protein floor matters more than the fat ratio
  • PCOS and insulin resistance management where lower carb intake reduces postprandial insulin response
  • Cognitive support protocols (mild cognitive impairment, migraine prevention) where therapeutic BHB above 1.0 mmol/L is the goal
  • Fitness professionals and dietitians validating client targets before building a meal plan

Worked Example — 2,000 kcal, weight loss goal

  1. Input: 2,000 kcal/day, Goal = Lose weight
  2. Effective calories after −20% cut: 2,000 × 0.80 = 1,600 kcal
  3. Fat: 1,600 × 0.72 ÷ 9 = 128 g fat (provides 1,152 kcal = 72%)
  4. Protein: 1,600 × 0.23 ÷ 4 = 92 g protein (provides 368 kcal = 23%)
  5. Carbs: 1,600 × 0.05 ÷ 4 = 20 g carbs (provides 80 kcal = 5%)
Result: 128 g fat · 92 g protein · 20 g carbs — well within the sub-25 g carb threshold for sustained nutritional ketosis

How it works

3 min read

Ketogenic eating is a metabolic intervention. The point is not the macro ratio itself but the downstream state — sustained nutritional ketosis with BHB between 0.5 and 3.0 mmol/L, the range Stephen Phinney and Jeff Volek describe in The Art and Science of Low Carbohydrate Living as the foundation of a well-formulated ketogenic diet. The calculator translates that target into grams of fat, protein, and carbohydrate for the calorie ceiling you give it.

How the Math Works

The calculator applies a goal multiplier to your calorie input, then splits the effective calories using the standard keto ratios:

GoalMultiplierEffective kcal (at 2,000 input)
Lose weight× 0.801,600 kcal
Maintain× 1.002,000 kcal
Gain muscle× 1.152,300 kcal

Then the macro split is applied to the effective calories:

Macro% of kcalCalories per gram
Fat72%9 kcal/g
Protein23%4 kcal/g
Carbohydrates5%4 kcal/g

Reference Keto Macro Table

Use this table to spot-check your numbers at common calorie levels:

Daily CaloriesGoalFat (g)Protein (g)Carbs (g)
1,500 kcalMaintain120 g86 g19 g
1,800 kcalMaintain144 g104 g23 g
2,000 kcalMaintain160 g115 g25 g
2,000 kcalLose weight128 g92 g20 g
2,000 kcalGain muscle184 g132 g29 g
2,500 kcalMaintain200 g144 g31 g
2,500 kcalLose weight160 g115 g25 g
3,000 kcalMaintain240 g173 g38 g

Protein Target vs Body Weight

An important cross-check: protein should also stay above roughly 1.2 to 1.7 g per kg of reference body weight (or 0.6 to 0.8 g per pound). For an 80 kg person, that is 96 to 136 g of protein — a good guardrail against muscle loss during a cut. If the calculator's protein output falls below your body-weight-based minimum, raise your calorie input or choose the Maintain option and track the cut through food choices.

Keto Adaptation and the "Keto Flu"

Full keto adaptation takes two to six weeks. The first week is when most people quit — headaches, lightheadedness, leg cramps, and bonk-level fatigue. This is sodium and water loss, not a metabolic problem. Standard mitigation protocol per Phinney/Volek and the Virta Health clinical guidelines:

  • Sodium 3 to 5 g per day (about 1.5 to 2 teaspoons of table salt or equivalent broth)

  • Potassium 3 to 4 g per day (avocado, leafy greens, salt substitute, or supplemental potassium chloride)

  • Magnesium 300 to 500 mg per day (glycinate or malate; citrate works but can loosen stools)

  • Water to thirst — over-drinking on top of low sodium worsens symptoms; do not chase a 1-gallon target
  • Electrolyte loading is the single highest-leverage intervention for week-one adherence.

    Measuring Ketosis

    Urine ketone strips (Ketostix) measure acetoacetate excretion and become unreliable once you are fully adapted. The two reliable home methods in 2026:

  • Blood BHB with a Keto-Mojo GK+ meter — the clinical standard. Target 0.5 to 3.0 mmol/L for nutritional ketosis; 1.0 to 3.0 mmol/L for therapeutic protocols.

  • Breath acetone with a Ketonix or Biosense — non-consumable, slower to update, useful for trend tracking.
  • Variants: MAD, CKD, TKD, and Classical Keto

    The classical 4:1 ketogenic diet (~90% fat) is a therapeutic tool for pediatric epilepsy. The Modified Atkins Diet (MAD) allows 15 to 20 g carbs with liberal protein and is the standard adult epilepsy protocol. Cyclical keto (CKD) layers a weekly 24- to 48-hour carb refeed for glycogen-dependent strength athletes. Targeted keto (TKD) times 15 to 30 g of fast carbs around training. Low-carb/LCHF (sub-100 g carbs) is not keto — it will not produce sustained BHB above 0.5 mmol/L for most people.

    Clinical Outcomes

    The strongest evidence base is in type 2 diabetes. Virta Health's two-year outcomes (Athinarayanan et al., Frontiers in Endocrinology 2019; follow-up in Diabetes Therapy 2020) reported 53.5 percent diabetes reversal and 17.6 percent remission at two years, with significant reductions in HbA1c, weight, and medication burden.

    Risks to Flag

    The most discussed 2026 concern is the LDL-C response. Norwitz, Soto-Mota, and colleagues (Current Opinion in Endocrinology, Diabetes and Obesity, 2022) characterized a "lean mass hyper-responder" phenotype — lean, athletic keto adopters who show large LDL-C and ApoB rises. Whether this elevation carries the same cardiovascular risk as the metabolic-syndrome phenotype is unsettled. Baseline a full lipid panel (including ApoB) and recheck at three to six months. Other contraindications: pregnancy without supervision, type 1 diabetes without endocrinologist oversight (ketoacidosis risk), familial hypercholesterolemia, gallbladder disease history, and active eating disorders. This calculator is a planning tool, not medical advice.

    Frequently asked questions

    What is the standard keto macro ratio?

    The standard nutritional-ketosis split is approximately 70–75% of calories from fat, 20–25% from protein, and 5% from carbohydrates. In practice that means fat at 72%, protein at 23%, and carbs at 5% — which is what this calculator uses. At 2,000 kcal this produces about 160 g fat, 115 g protein, and 25 g carbs.

    How many carbs can I eat on keto?

    Total carbs below 50 g per day is the standard nutritional-ketosis ceiling. Many people need to drop to 20 to 25 g to consistently see BHB above 0.5 mmol/L. Track total carbs (not net) for the first month — fiber tolerance varies and the net-carb shortcut hides slip-ups.

    How do I calculate keto macros manually?

    Take your effective daily calories (your TDEE with any goal adjustment). Multiply by 0.72, then divide by 9 to get fat grams. Multiply by 0.23, then divide by 4 to get protein grams. Multiply by 0.05, then divide by 4 to get carb grams. Example: 2,000 kcal × 0.72 ÷ 9 = 160 g fat.

    How do I prevent the keto flu?

    Front-load electrolytes from day one: 3 to 5 g sodium, 3 to 4 g potassium, and 300 to 500 mg magnesium daily. Salty broth twice a day handles most of the sodium. Drink to thirst, not to a gallon target — over-hydrating on top of low sodium makes symptoms worse. Symptoms usually resolve within 5 to 10 days.

    What BHB level confirms I'm in ketosis?

    Phinney and Volek define nutritional ketosis as 0.5 to 3.0 mmol/L measured by blood BHB. For general fat loss and metabolic health, 0.5 to 1.5 mmol/L is sufficient. For therapeutic protocols (epilepsy, cognitive support), clinicians often target 1.5 to 3.0 mmol/L. Above 3.0 mmol/L is unnecessary for most goals.

    Is the LDL rise on keto dangerous?

    It depends on phenotype. Norwitz and colleagues (Curr Opin Endocrinol Diabetes Obes 2022) described 'lean mass hyper-responders' — lean, athletic adopters whose LDL-C and ApoB rise sharply. Whether this confers the same cardiovascular risk as LDL elevation in metabolic syndrome is unresolved in 2026. Baseline a full lipid panel including ApoB and recheck at 3 to 6 months.

    How much protein is too much on keto?

    The evidence-based target is 1.2 to 1.7 g of protein per kg of reference body weight (about 0.6 to 0.8 g per pound). Going meaningfully above 2.0 g/kg is rarely needed and trades off against fat calories. The 'protein spikes insulin and kills ketosis' concern is largely overstated — gluconeogenesis is demand-driven, not supply-driven.

    Cyclical keto vs strict keto — which produces better results?

    Strict (continuous) keto produces the most consistent BHB and is the protocol used in clinical trials including Virta Health. Cyclical keto (CKD) layers a weekly 24- to 48-hour carb refeed and is mainly used by strength athletes whose glycogen demands exceed what gluconeogenesis can support. CKD breaks ketosis during the refeed window, so it is the wrong tool for therapeutic protocols.

    Can keto help reverse type 2 diabetes?

    Reversal — defined as HbA1c below the diabetes threshold without glucose-lowering medication other than metformin — is supported by Virta Health's continuous remote care trial. Their two-year data (Athinarayanan et al., 2019) showed 53.5 percent diabetes reversal and 17.6 percent remission, with broad reductions in HbA1c and medication use.

    Do exogenous ketones (BHB salts, ketone esters) actually work?

    They raise blood BHB acutely but do not replicate endogenous fat adaptation. Useful for a single endurance event or blunting acute keto-flu symptoms, but they do not speed up adaptation and most consumer-grade BHB salts dose too low to reach therapeutic mmol/L levels.

    Sources and references