Dr. Gargi Kakani
Medically Reviewed by ✓ Verified
Dr. Gargi Kakani, MD, MPH | Pediatric Physician & Public Health Professional | Harvard T.H. Chan School of Public Health | MedStar Georgetown University Hospital
Free & Private — No Data Stored

Keto Macro Calculator — Find Your Perfect Diet Goals

Use this free keto macro calculator to instantly find your personalised daily calories, net carbs, protein, and fat — tailored to your body, activity level, and diet goals. More accurate than a basic keto calculator.

Metric & Imperial
Body fat % supported
Fat loss, maintenance & muscle gain
Meal breakdown included
100% Private — all calculations happen in your browser. No data is stored or sent anywhere.

Keto Macro Calculator

Get your personalised daily keto macros — calories, net carbs, protein, and fat.

yrs
%
cm
kg
Please fill in all required fields.
Daily Calorie Target
--
calories / day
🥦
Net Carbs
--
g / day
🥩
Protein
--
g / day
🥑
Fat
--
g / day
Macro Ratio
Carbs
Protein
Fat
🔥 Ketosis Indicator
Deep KetoKeto ZoneBorderlineOut of Keto
💧
Daily Meal Breakdown

Important Disclaimer

→ This keto macro calculator provides estimates based on standard formulas and is not a substitute for professional medical or nutritional advice.

→ Individual results vary. Consult a registered dietitian or healthcare provider before starting a ketogenic diet, especially if you have a medical condition.

→ This calculator is intended for adults aged 18 and older.

→ Reference sources: ruled.me, ketogenic.com, perfectketo.com

What is a Keto Macro Calculator?

A keto macro calculator is a tool that calculates your personalised daily macronutrient targets for a ketogenic diet — specifically how many grams of net carbs, protein, and fat you should eat each day based on your body, activity level, and diet goals. Unlike a standard calorie counter, a keto macro calculator is designed around the specific macronutrient ratios required to achieve and maintain ketosis.

The ketogenic diet works by drastically reducing carbohydrate intake and replacing it with fat as the primary fuel source. To do this effectively, getting your keto macros right is essential — too many carbs and you will not enter ketosis, too little protein and you risk losing muscle. This is where a keto carb calculator becomes useful: it does the maths for you and gives you a clear daily target to follow.

This keto macro calculator for diet goals uses the same calculation methodology as leading tools — combining BMR, TDEE, and lean body mass to produce a result tailored to your specific profile.

How This Keto Macro Calculator Works

The keto calculator uses a multi-step process to generate accurate, personalised macros. Here is what happens behind the calculation:

Step 1 — Calculate BMR

Your Basal Metabolic Rate (BMR) is the number of calories your body needs at complete rest. If you provide your body fat percentage, the calculator uses the Katch-McArdle formula based on lean body mass — the most accurate method. Without body fat, it uses the Mifflin-St Jeor formula, the most validated standard BMR equation.

Step 2 — Calculate TDEE

Your Total Daily Energy Expenditure (TDEE) is your BMR multiplied by an activity factor — from 1.2 for sedentary individuals up to 1.9 for those with extra active lifestyles. This gives your true maintenance calorie level.

Step 3 — Apply Your Goal Adjustment

Based on your goal — fat loss, maintenance, or muscle gain — a calorie deficit or surplus is applied. A moderate fat loss deficit of 15–20% is generally recommended for sustainable results on keto.

Step 4 — Set Keto Macros

  • Net Carbs — fixed at 20g per day, the standard keto carb calculator target for reliable ketosis in most adults.
  • Protein — calculated from lean body mass using 0.7–1.0g per pound, scaled to your activity level. This protects muscle tissue while keeping protein within keto-safe limits.
  • Fat — the remaining calories after carbs and protein are assigned. Fat becomes your primary energy source on keto.

Understanding Your Keto Macros

Keto macros refer to the three macronutrients — carbohydrates, protein, and fat — and the specific ratios used on a ketogenic diet. Getting these right is the foundation of any successful keto plan.

MacroStandard Keto %Typical Daily AmountRole
Net Carbs5%20–50gKept very low to trigger ketosis
Protein20–25%Varies by body weightPreserves muscle, supports recovery
Fat70–75%Majority of caloriesPrimary fuel source in ketosis

Why net carbs matter more than total carbs

On a keto carb calculator, net carbs are used rather than total carbs. Net carbs = total carbs minus fibre (and sometimes sugar alcohols). Fibre does not raise blood sugar or impact ketosis, so only the net carb count affects your ability to stay in ketosis. Most people enter and maintain ketosis at under 20–30g net carbs per day.

Why protein must be moderate — not high

Unlike high-protein diets, keto requires moderate protein. Excess protein can be converted to glucose through a process called gluconeogenesis, which may reduce ketone levels. The keto macro calculator sets protein based on lean body mass to keep it in the right range — enough to protect muscle, not so much that it interferes with ketosis.

Best Keto Macros for Different Diet Goals

The right keto macros depend on what you are trying to achieve. This keto macro calculator for diet goals automatically adjusts your targets based on your selection.

Fat Loss

For fat loss, a calorie deficit of 15–20% below TDEE is recommended. Carbs stay at 20g to maintain ketosis, protein is kept moderate to protect lean muscle, and fat is reduced to create the deficit. The body then burns stored fat to make up the energy shortfall — which is why keto is particularly effective for weight loss.

Maintenance

At maintenance, calories match your TDEE. This phase is often used after reaching a weight goal to stabilise results without continuing to lose weight. Keto macros remain the same in ratio — only the total calorie intake changes.

Muscle Gain

For muscle gain on keto, a modest calorie surplus of 5–10% is used, and protein is increased slightly to support muscle protein synthesis. Building muscle on keto is possible but requires careful attention to protein intake and resistance training.

How to Stay in Ketosis — Practical Tips

Getting your keto macros right with a keto calculator is step one. Staying in ketosis consistently requires a few additional habits.

  • Track net carbs strictly — even small hidden carbs in sauces, dressings, and processed foods can push you out of ketosis.
  • Prioritise electrolytes — on keto, your kidneys excrete more sodium, potassium, and magnesium. Supplementing electrolytes reduces keto flu symptoms.
  • Drink enough water — keto is a diuretic diet. Aim for at least 2.5–3.5 litres per day depending on your body weight.
  • Be consistent with protein — hitting your protein target daily protects muscle and prevents over-eating fat to compensate.
  • Avoid “keto cheat days” — unlike other diets, keto requires metabolic adaptation. A single high-carb day can kick you out of ketosis and restart the adaptation process.
  • Test ketone levels — urine strips, blood ketone meters, or breath analysers can confirm whether you are in ketosis, especially when starting out.

Common Keto Mistakes to Avoid

  • Eating too much protein — excess protein converts to glucose, reducing ketone production. Use the keto macro calculator to keep protein in the right range.
  • Not eating enough fat — fat is your main fuel source. Undereating fat on keto leads to low energy and hunger, making the diet unsustainable.
  • Ignoring hidden carbs — many packaged foods contain more carbs than the label suggests. Always check net carbs per serving.
  • Skipping electrolytes — the “keto flu” is largely caused by electrolyte depletion, not the diet itself. Sodium, potassium, and magnesium are essential.
  • Giving up too early — keto adaptation takes 2–4 weeks. Energy and performance may dip before they improve significantly.

Sources & References

→ Mifflin MD et al. (1990) — A new predictive equation for resting energy expenditure. American Journal of Clinical Nutrition.

→ Katch-McArdle Formula — lean body mass-based BMR calculation

→ Volek JS, Phinney SD — The Art and Science of Low Carbohydrate Living

→ National Institutes of Health (NIH) — Dietary reference intakes for macronutrients

→ ruled.me, ketogenic.com, perfectketo.com — Calculation methodology reference

Frequently Asked Questions

What is a keto macro calculator and how does it work? +
A keto macro calculator calculates your personalised daily targets for net carbs, protein, and fat based on your age, gender, height, weight, activity level, and diet goal. It first calculates your BMR and TDEE, then applies a calorie adjustment for your goal, and finally distributes those calories across keto-specific macronutrient ratios — keeping carbs at 20g, setting protein from lean body mass, and assigning the remaining calories to fat.
How many carbs should I eat on keto? +
Most people need to keep net carbs at or below 20–30g per day to enter and maintain ketosis. This keto carb calculator sets the default at 20g net carbs — the most commonly recommended level for reliable ketosis in adults. Net carbs are calculated by subtracting dietary fibre from total carbohydrates, as fibre does not raise blood glucose or interfere with ketosis.
How much protein should I eat on a keto diet? +
Protein on keto should be moderate — not too low (which causes muscle loss) and not too high (which can reduce ketone production through gluconeogenesis). This keto macro calculator sets protein based on your lean body mass and activity level — typically 0.7 to 1.0 grams per pound of lean body mass per day. Sedentary individuals sit at the lower end, while those who exercise regularly or lift weights sit at the higher end.
What are keto macros for fat loss? +
For fat loss on keto, you need to eat in a calorie deficit while keeping carbs at 20g or below to maintain ketosis. Protein stays moderate to protect muscle, and fat is reduced to create the deficit — your body then burns stored fat to fill the energy gap. A deficit of 15–20% below your TDEE is generally recommended for steady, sustainable fat loss. This keto macro calculator for diet goals calculates your exact targets based on your chosen deficit level.
Can I build muscle on a keto diet? +
Yes, muscle gain on keto is possible but requires a calorie surplus, adequate protein, and consistent resistance training. The keto macros for muscle gain set a modest surplus of around 10% above TDEE and slightly increase protein to support muscle protein synthesis. Progress may be slower than on a higher-carb diet, particularly in the first few weeks while the body adapts to fat as its primary fuel source.
Why does body fat percentage improve the keto calculator result? +
Entering your body fat percentage allows the calculator to determine your lean body mass (LBM) — the weight of everything in your body except fat. Protein targets on keto are based on LBM rather than total body weight, which gives a more accurate result. Without body fat data, the calculator uses the Boer formula to estimate LBM from height and weight, which is a good approximation but less precise than an actual body fat measurement.
How is this keto calculator different from a basic calorie calculator? +
A standard calorie calculator only tells you how many calories to eat. This keto macro calculator goes further — it breaks your calories down into the specific net carbs, protein, and fat amounts needed for a ketogenic diet, includes a ketosis indicator showing whether your carb level supports ketosis, provides a meal breakdown across the day, and gives personalised guidance based on your goal and activity level.
How long does it take to enter ketosis? +
Most people enter ketosis within 2 to 4 days of consistently eating under 20–30g of net carbs per day. The exact time depends on your glycogen stores, activity level, and metabolism. Exercise can speed up the process by depleting glycogen faster. Full keto adaptation — where the body efficiently uses fat and ketones as fuel — typically takes 3 to 6 weeks.
Scroll to Top