Skip to main content

Keto Macro Calculator

Calculate your personalized keto macros for fat loss & ketosis. Get carb, protein & fat targets. Free, no sign-up, evidence-based ketogenic diet planning.

Last revised Maintained by Pavan Kusunuri · About our editorial standards

Calculator inputs

Personal Details

Your height.

Your weight.

Your results

Daily Calories & Keto Macros
1700 kcal | C:21g P:106g F:132g
Standard Keto – Net Carbs: 21g
Daily Calorie Target
1700 kcal
Carbohydrates (g)
21 g (5%), count as net carbs
Protein (g)
106 g (25%)
Fat (g)
132 g (70%)
Net Carbs (g)
21 g (total carbohydrate minus fibre and sugar alcohols)
Macro Ratio (Carbs / Protein / Fat)
5% / 25% / 70%
Estimated Ketosis Threshold
Under 30 g net carbs: within the range usually used to reach nutritional ketosis
Keto Recommendations
Keep net carbs within the allowance, protein moderate, and let fat make up the rest of the calories. Fluid and sodium needs often rise on keto.
Hydration Guidance
Drink to thirst. Sodium losses often rise on very-low-carbohydrate diets, but check with your doctor before adding salt if you have high blood pressure, kidney or heart disease.
Medical Disclaimer: This calculator provides a general educational estimate only. It is not a diagnosis, prescription, or substitute for professional medical advice. Always consult a qualified doctor or healthcare provider to confirm your results and get guidance suited to your specific health situation before making any decisions based on this output. Full disclaimer.

Sources & methodology

Formula:
Step 1 -- daily calories
Reference:
Volek & Phinney
Content last updated:
Scheduled re-verification:
September 2027

Calculation type: Published clinical formula. Figures are taken from Volek & Phinney and European Journal of Clinical Nutrition (Paoli et al.) and Epilepsia Open (Kossoff et al.) — see sources below.

Your entries stay on this device. This calculator runs entirely in your browser — the figures you type are not sent to us or to anyone else. The page itself uses cookies for analytics and advertising, described in the privacy policy.

How to Use This Calculator

  1. Enter Personal Details

    Input your age, gender, height, and weight.

  2. Select Activity Level

    Choose your activity level for accurate calorie needs.

  3. Choose Goal & Macro Ratio

    Select your goal (weight loss, maintenance, gain) and macro ratio.

  4. Review Results

    See your daily calorie target, macro grams, and ketosis threshold.

Worked example: 30-year-old woman, 165 cm, 70 kg, weight loss

Moderately active, standard keto ratio.

Example Inputs
Age
30 years
Sex
Female
Height
165 cm
Weight
70 kg
Activity
Moderately active
Goal
Weight loss
Ratio
Standard keto (5/25/70)
Example Results
Daily Calorie Target
1,700 kcal
Carbohydrates (g)
21 g (5%), count as net carbs
Protein (g)
106 g (25%)
Fat (g)
132 g (70%)
Net Carbs (g)
21 g (total carbohydrate minus fibre and sugar alcohols)
Estimated Ketosis Threshold
Under 30 g net carbs: within the range usually used to reach nutritional ketosis
Figures are indicative only and may vary.

Understanding Your Results

  • Net Carbs
    Total Carbs – Fiber – Sugar Alcohols. This is the effective carb count for keto.
  • Ketosis Threshold
    The daily carb limit to achieve and maintain ketosis (typically 20-50g net carbs).
  • Macro Ratio
    The percentage distribution of calories from carbs, protein, and fat.
  • Standard Keto Ratio
    5% Carbs, 25% Protein, 70% Fat – the most common ratio for ketosis.

Key Tips

  • Net carbs = Total carbs - Fiber - Sugar alcohols – use this for tracking.
  • The carbohydrate figure is a net-carb allowance: count total carbohydrate minus fibre and sugar alcohols against it. Roughly 20-50 g a day is the range usually cited for nutritional ketosis.
  • Protein is a share of calories here (25% by default). Cross-check it against roughly 1.2-2.0 g/kg of a healthy body weight; for someone with a lot of excess weight, current weight overstates the need.
  • Fat should be the primary calorie source (70-80% of intake).
  • Sodium and fluid losses often rise in the first weeks of keto; if you have high blood pressure, kidney or heart disease, ask your doctor before adding salt.

Understanding Ketogenic Macros

What is the Ketogenic Diet?

The ketogenic diet is a high-fat, moderate-protein, very-low-carbohydrate diet. Restricting carbohydrate (and keeping protein moderate) lowers insulin and raises blood ketones, a state called nutritional ketosis in which ketones from fat supply part of the brain's and body's energy. It is not the same as diabetic ketoacidosis, which is a dangerous emergency.

Macro Ratios for Ketosis

Standard keto: 5% Carbs, 25% Protein, 70% Fat. Therapeutic: 4% Carbs, 16% Protein, 80% Fat. High Protein: 5% Carbs, 30% Protein, 65% Fat.

Net Carbs and Ketosis

Net carbs = total carbs - fibre - sugar alcohols (some sugar alcohols are partly absorbed, so label values are approximate). Keeping net carbs under roughly 20-50 g daily is the usual way to reach and stay in nutritional ketosis. The carbohydrate grams this calculator gives are an allowance to spend, counted as net carbs.

Fat and Protein on Keto

Fat is the primary energy source, roughly 65-80% of calories across the presets here. Protein is kept moderate but sufficient to preserve muscle; contrary to popular belief, modest extra protein does not simply 'turn into sugar' and end ketosis, because the body makes glucose from protein according to need.

Formula & methodology

Formula used

Step 1 -- daily calories

daily calories = TDEE + goal adjustment (floored by sex)

Same calorie base as the standard macro calculator: Mifflin-St Jeor BMR times an activity factor, adjusted for the goal.

Step 2 -- keto macro split

carbs (g) = calories x 5% / 4
protein (g) = calories x 25% / 4
fat (g) = calories x 70% / 9

Standard keto ratio shown; therapeutic and high-protein presets shift these percentages.

Step 3 -- read the allowance as net carbs

net carbs allowance = carbohydrate grams from Step 2

The carbohydrate grams are a daily allowance for NET carbohydrate: the total carbohydrate in your food minus its fibre (and, where applicable, sugar alcohols). No fibre share is assumed, because how much fibre a day of eating contains depends on the foods chosen.

Net carbs are counted from food labels or a nutrition database as you eat. Keeping the count under the allowance, and under roughly 30-50 g in general, is what the ketosis wording below refers to.

Variable definitions

SymbolMeaningUnit
TDEETotal Daily Energy Expenditure. From Mifflin-St Jeor BMR and an activity factor.kcal/day
net carbsNet carbohydrate. Total carbohydrate minus fibre (and sugar alcohols, where applicable) -- the portion that affects blood glucose and can interrupt ketosis.g

Step-by-step calculation

  1. 1. Compute TDEE and apply the goal
    2,201 kcal, rounded to 2,200 kcal, minus 500 kcal for weight loss = 1,700 kcal.
  2. 2. Apply the 5/25/70 split
    21 g carbs, 106 g protein, 132 g fat.
  3. 3. Treat the carbohydrate grams as a net-carb allowance
    21 g of net carbohydrate a day: total carbohydrate eaten minus fibre and sugar alcohols.
  4. 4. Compare against a threshold
    21 g sits under the commonly used 30 g/day marker for nutritional ketosis; ketone testing is the only confirmation.

Clinical interpretation

ResultWhat it means
Standard keto (5/25/70)The most commonly used ratio for general fat loss and metabolic goals.
High protein keto (5/30/65)Shifts protein upward, useful when preserving muscle during a larger deficit is the priority. Whether the extra protein affects ketone levels varies between people.
Therapeutic keto (4/16/80)Fat at 80% of calories is roughly 1.8:1 by weight, milder than the 3:1-4:1 classical epilepsy diets and not a medical prescription. Medical ketogenic diets are set up and monitored by a clinician; this is just a stricter-fat preset.
Under 30 g net carbsWithin the range most often used to reach nutritional ketosis.
30-50 g net carbsKetosis is often possible but less certain -- individual carbohydrate tolerance varies.
Over 50 g net carbsKetosis is unlikely for most people at this intake.

Thresholds: Paoli et al. (2013) review of very-low-carbohydrate diets; Kossoff et al. (2018) for the medical ketogenic diet.

These thresholds vary by individual -- activity level, carbohydrate tolerance and metabolic health all shift where ketosis actually begins. Blood ketone testing (or, less reliably, breath or urine tests) is the way to check; the wording here describes a plan, not a measurement.

Who this applies to

  • Healthy adults choosing a ketogenic approach for weight loss or metabolic goals, planning their own diet
  • Estimating a starting macro split before adjusting based on measured ketones or progress

Who it should not be used for

  • The medical ketogenic diet used for epilepsy or other conditions, which follows a stricter clinician-supervised ratio, not this calculator's presets
  • People with type 1 diabetes, for whom a very-low-carbohydrate diet changes insulin dosing and carries a ketoacidosis risk that requires medical supervision
  • People taking insulin, sulfonylureas, SGLT2 inhibitors or blood-pressure medication, whose doses may need to change within days of cutting carbohydrate
  • People with a history of kidney stones, gallbladder disease, or pancreatitis, for whom a high-fat diet carries specific risks
  • Pregnant or breastfeeding people
  • Anyone with a history of disordered eating, for whom a highly restrictive diet framework carries elevated risk

How this is used in practice

Ketosis is a spectrum, not a switch
The net-carbs estimate here answers 'will your planned intake likely permit ketosis', but actual ketone production depends on total carbohydrate, protein, activity level, and individual metabolism. Two people eating identical macros can differ in measured ketone levels. If ketosis is a specific goal rather than a general low-carb approach, blood beta-hydroxybutyrate testing is the only way to confirm it.
Protein: enough to keep muscle, not a hard ceiling
The claim that 'too much protein kicks you out of ketosis' is often exaggerated in popular sources, and the evidence for a sharp protein ceiling in healthy people is weak. The practical approach is to keep protein at an adequate, moderate level (roughly 1.2-2.0 g/kg of a healthy body weight) and let ketone testing, if you care about it, tell you how your own body responds.
The adaptation period is real and commonly mistaken for failure
The first 1-2 weeks of a ketogenic diet commonly bring fatigue, headache and irritability -- often called the 'keto flu' -- which is thought to relate to increased sodium and water loss as insulin falls. Symptoms are usually temporary. Salt and fluid needs vary: people with high blood pressure, kidney or heart disease should ask their doctor before adding salt.

Common mistakes

  • Treating 'net carbs' as an exact, universal number
    Net carbs are food-specific: total carbohydrate minus fibre and sugar alcohols, read from the label or a database. A diet built on vegetables has a much higher fibre share than one built on processed low-carb products, so the same total grams can mean very different net carbs.
  • Basing the protein target on current body weight when it is high
    Protein needs track lean mass more than total weight, so someone with substantial excess fat should check the gram figure against a healthy body weight rather than their current weight.
  • Assuming any low-carb intake produces ketosis
    Individual carbohydrate tolerance for ketosis varies. Someone very insulin-sensitive and highly active may stay out of ketosis at 40 g net carbs where someone else would be well into it -- the thresholds shown are population averages.
  • Ignoring electrolytes
    Lower insulin on a ketogenic diet increases sodium excretion, and many people feel better with more sodium and fluid in the first weeks. This is individual: check with your doctor first if you have high blood pressure, kidney or heart disease.

Limitations

  • The carbohydrate figure is an allowance only; counting net carbs against it depends on you reading food labels accurately.
  • Individual variation in carbohydrate tolerance for ketosis is substantial and not modelled here.
  • The calorie target underneath these macros carries the same estimation error as any Mifflin-St Jeor-based figure.
  • This is a diet-planning tool, not a substitute for ketone testing if confirming ketosis matters to your goal.
  • It does not screen for the medical contraindications listed above -- kidney stones, gallbladder disease, type 1 diabetes -- which a person should discuss with a clinician before starting.

This page is educational. It explains how a published formula works and what its output means in general terms. It does not examine you, cannot account for your medical history, and is not a diagnosis or a treatment recommendation. Decisions about your health should be made with a qualified clinician who can assess your individual circumstances.

Sources & references

Frequently Asked Questions

What macro ratio does this calculator use for keto?

Standard keto is 5% carbs, 25% protein, 70% fat, which is the default and a common ratio for general fat loss and metabolic goals. Therapeutic keto (4% carbs, 16% protein, 80% fat) is a stricter-fat preset, about 1.8:1 fat to protein-plus-carbohydrate by weight; it is milder than the 3:1-4:1 ratios used in medical epilepsy diets, which clinicians set up and monitor. High-protein keto (5% carbs, 30% protein, 65% fat) shifts more calories to protein, useful if preserving muscle during a larger deficit is the priority.

Does the carb number mean total carbs or net carbs?

Treat it as a net-carb allowance. Net carbs are total carbohydrate minus fibre and sugar alcohols, and they are worked out from the foods you eat, not from your body, so this calculator does not guess a fibre share. If it shows 21 g, you count the total carbohydrate of each food, subtract its fibre (and sugar alcohols, though some are partly absorbed), and keep the day's running total at or under 21 g.

How many net carbs do I need to stay in ketosis?

Under about 30 g net carbs a day is within the range most often used to reach nutritional ketosis; 30-50 g often works but is less certain, since individual carbohydrate tolerance varies; above roughly 50 g, ketosis is unlikely for most people. These are population thresholds, not a guarantee for your body. Blood ketone testing is the way to confirm it; this calculator can only describe the plan.

How much protein should I eat on keto without leaving ketosis?

Here protein is a fixed share of calories (25% on the standard preset, which works out to about 1.5 g/kg for the 70 kg woman in the example). Roughly 1.2-2.0 g/kg of a healthy body weight is a commonly cited range for keeping muscle on a low-carbohydrate diet. The popular idea that a little extra protein 'kicks you out of ketosis' is exaggerated for most healthy people, but individual responses differ, so ketone testing is the real check.

What is the "keto flu," and should I add salt?

The keto flu is the fatigue, headache and irritability many people notice in the first 1-2 weeks, thought to relate to extra sodium and water loss as insulin falls. It is usually temporary. Drinking to thirst and including salted food helps some people, but if you have high blood pressure, kidney or heart disease, or take blood-pressure or diabetes medication, ask your doctor before changing salt intake or starting keto.

Need more help? Contact support or email globalcalqulate@gmail.com. We typically reply within 24–48 hours.