Guide

Keto Macro Calculator: Set Your Carbs, Protein and Fat (and Track Them)

Calculate your keto macros in 4 steps, see worked numbers for three body types, learn net vs total carbs, and avoid the mistakes that stop ketosis.

By Md Sadab Wasim, founder of CallieEditorial standardsPublished Updated 9 min read

Key takeaways

  • Keto typically means 65–75% fat, 20–30% protein and 5–10% carbs by calories, usually 20–50g net carbs a day.
  • Set calories first, then protein (1.6–2.2 g/kg), then carbs (20–50g), and let fat fill the rest. Fat is the remainder, not a target to chase.
  • Worked examples: a 70 kg woman on about 1,550 kcal gets 112g protein, 25g net carbs and 111g fat; a 90 kg man on about 1,750 kcal gets 144g, 25g and 119g.
  • Most people enter ketosis within 2–5 days of consistent low-carb eating; some take up to 2 weeks.
  • Hidden carbs (sauces, nuts, dairy, 'keto' snacks) are the most common reason people stay out of ketosis, so log everything.
  • Keto is not recommended if you're pregnant, have T1D, kidney disease, gallbladder issues, or a history of eating disorders without medical supervision.

Callie is our app, and it appears in the tracking section near the end. The calculator and the numbers work with any tracker.

The 30-second answer

Standard keto is about 70% fat, 25% protein and 5% carbs by calories, which usually means 20–50g net carbs a day. For a 2,000-kcal day that's roughly 155g fat, 125g protein and 25g net carbs. Whatever split you choose, keep protein at 1.6 g/kg of body weight or more. The calculator below sets these numbers from your own stats.

Free keto macro calculator

Computes daily fat / protein / net carb grams for the keto style you choose.

Sex
Daily kcal
1,805
Fat
140g
Protein
113g
Net carbs
23g

Keto definitions vary. The ratios above are common starting points; some people achieve ketosis at 50g net carbs/day, others need to stay below 20g. Track ketones (urine strips or blood meter) for the first 2 weeks to find your threshold.

Not on keto?

If you're following a general macro split (e.g. 40/30/30 or high-protein) rather than keto specifically, use the macro calculator with cheat day adjuster. It handles weekly averaging when an indulgent day blows up the daily numbers.

Keto macros in brief

Most keto plans put 65–75% of calories on fat, 20–30% on protein and 5–10% on carbs. The style you pick changes the split slightly, not the carb ceiling.

StyleFatProteinCarbsBest for
Standard keto (SKD)70%25%5%General weight loss
Moderate / "lazy" keto65%30%5%Easier compliance; small lean-mass advantage
Targeted keto (TKD)60%30%10%Athletes; carbs around workouts
Cyclical keto (CKD)variesvariesvariesAdvanced; 5 days keto, 1–2 days carb refeed
High-protein keto60%35%5%Building muscle while keto
Therapeutic keto (epilepsy)90%6%4%Medical use only, supervised

For most weight-loss users, standard or moderate keto is the right starting point. Keeping carbs low enough to stay in ketosis, and protein high enough to protect muscle, matters more than the exact fat-to-protein ratio.

How to calculate your keto macros step by step

Work in this order: calories, protein, carbs, then fat as the remainder. Fat comes last because it's the only macro you fill in to hit your calorie number.

  1. Estimate maintenance calories. Use the Mifflin-St Jeor equation (Mifflin et al., 1990) and multiply by an activity factor of 1.2 (sedentary) to 1.55 (moderately active). Our calorie calculator does this for you.
  2. Set your calorie target. For fat loss, subtract about 20% from maintenance. For maintenance, use the number as it is.
  3. Set protein. 1.6 g/kg of body weight is the floor; 2.0–2.2 g/kg suits lifters and bigger deficits. Protein has 4 kcal per gram.
  4. Set net carbs. Pick 20–50g a day (Cleveland Clinic). Carbs have 4 kcal per gram.
  5. Fill the rest with fat. Subtract protein and carb calories from your target and divide by 9 kcal per gram.
Protein floor

Aim for at least 1.6 g/kg body weight in protein, regardless of which keto style you choose. Below that you lose lean mass in a deficit. Some old-school "high-fat, low-protein" keto plans under-prescribe protein, so don't follow them.

Worked example for three body types

The same five steps give very different gram targets depending on size, activity and goal. All three examples use Mifflin-St Jeor, the stated activity factor and rounded numbers.

Woman, 32, 165 cm, 70 kgMan, 40, 180 cm, 90 kgMan, 28, 175 cm, 75 kg
ActivityLight (x1.375)Sedentary (x1.2)Moderate, trains 4–5x/week (x1.55)
Maintenanceabout 1,940 kcalabout 2,200 kcalabout 2,650 kcal
Goal20% deficit20% deficitMaintenance
Calorie targetabout 1,550 kcalabout 1,750 kcalabout 2,650 kcal
Protein112g (1.6 g/kg)144g (1.6 g/kg)150g (2.0 g/kg)
Net carbs25g25g30g
Fat (remainder)111g119g214g
Split (F/P/C)64 / 29 / 661 / 33 / 673 / 23 / 5

Take the first column. BMR is 10 x 70 + 6.25 x 165 − 5 x 32 − 161 = 1,410 kcal; times 1.375 is about 1,940 kcal; minus 20% is about 1,550 kcal. Protein is 112g x 4 = 448 kcal and carbs are 25g x 4 = 100 kcal, which leaves 1,002 kcal, or 111g of fat.

Notice the larger man ends up with a lower fat share than the textbook 70%. That's normal: protein scales with body weight, so heavier people on a deficit land closer to 60% fat. Treat the percentages as a result, not a target.

Net carbs vs total carbs

Net carbs = total carbs − fibre − (some) sugar alcohols. Fibre doesn't raise blood sugar meaningfully, so most keto plans count net rather than total.

Some sugar alcohols (erythritol, allulose) don't affect glucose much; others (maltitol) do. When in doubt, count total carbs, which is the safer default. A 50g net carb target on a high-fibre diet is functionally similar to about 30g of total carbs, and both keep most people in ketosis.

For a quick check: 100g of avocado has about 9g total carbs and 7g fibre, so about 2g net (USDA FoodData Central). The same weight of banana has about 23g total and 2.6g fibre, so about 20g net, which is most of a strict daily budget.

What ketosis looks like, and common mistakes that stop it

Ketosis starts when your liver makes ketone bodies from fat, usually once net carbs stay under 20–50g a day. It's a range, measured by blood β-hydroxybutyrate:

StateBlood β-OHB (mmol/L)
Not in ketosisunder 0.5
Light ketosis0.5–1.5
Nutritional ketosis1.5–3.0
Deep ketosis3.0–5.0
Diabetic ketoacidosis (dangerous)over 10

Diabetic ketoacidosis is a medical emergency and not the same as nutritional ketosis.

The mistakes that most often keep people out of it:

  • Hidden carbs. Sauces, salad dressings, nuts, onions, flavoured yogurt and "keto" bars can each add 5–15g. Weigh and log them.
  • Too little protein. Going below 1.6 g/kg costs lean mass in a deficit. Eating more protein does not kick you out of ketosis in healthy people.
  • Ignoring calories. Fat is 9 kcal per gram, so a few spoons of oil can erase a deficit. If weight is flat, see why you're not losing weight in a calorie deficit.
  • Skipping electrolytes. Glycogen holds about 3g of water per gram, so early weight loss flushes sodium and potassium. Keto flu (headache, fatigue, brain fog in days 3–7) is largely an electrolyte problem. Use food first and ask a doctor about supplements, especially with high blood pressure or kidney disease.
  • Counting net carbs wrongly. Subtracting every sugar alcohol on a label overstates your room. Use total carbs for a stricter test.

Who should not try keto

Keto is well tolerated by most healthy adults, but it is risky or contraindicated for:

  • Pregnancy, because fetal development needs glucose.
  • Breastfeeding, because milk supply can drop on very low carb.
  • Type 1 diabetes, because of ketoacidosis risk if insulin timing is off.
  • A history of eating disorders, because restriction can trigger relapse.
  • Gallbladder removal, because high-fat meals are harder to digest.
  • Kidney disease, because protein adds load.
  • Statins or blood pressure medication, because doses may need to drop as the diet works.

If any of these apply, work with your doctor and a registered dietitian instead of using a calculator alone.

Tracking keto macros in an app

A keto tracker needs to show net carbs, protein and fat against a daily target, and it has to make logging fast enough that you do it every meal. A paper calculation is accurate on day one; tracking is what keeps it accurate on day 30.

Take the first worked example (1,550 kcal, 112g protein, 25g net carbs, 111g fat). In Callie you set keto as your goal, put in your target and log meals by photo, voice or text. Photo scans are never logged automatically: you review the food and portion before confirming, which matters when a spoon of sauce can be 5g of carbs. The barcode and menu scanner (paid after the 3-log trial) helps with packaged foods, where hidden carbs live. Apple Health and Health Connect sync adds exercise calories to your budget.

Callie also re-tunes your calorie target every 2 weeks from your weight trend, so a deficit that stalls gets adjusted. It doesn't track micronutrients, so if you want sodium, potassium and magnesium numbers, Cronometer is the better fit. For protein-focused tracking see the best protein tracker apps, and for barcode-heavy keto shopping see the barcode scanner comparison.

When another tool is the better choice

  • Electrolyte and micronutrient tracking: Cronometer, which tracks 84 nutrients.
  • A one-off calculation: the calculator above, or any spreadsheet, is enough if you eat the same few meals.
  • Medical or therapeutic keto: use the plan from your clinical team and a tool they approve.

Sources

  1. Mifflin MD, et al. (1990). "A new predictive equation for resting energy expenditure in healthy individuals." Am J Clin Nutr 51(2):241-247.
  2. Cleveland Clinic. "Ketogenic Diet." https://my.clevelandclinic.org/health/articles/24003-ketogenic-keto-diet
  3. Jäger R, et al. (2017). "International Society of Sports Nutrition Position Stand: protein and exercise." J Int Soc Sports Nutr 14:20. https://jissn.biomedcentral.com/articles/10.1186/s12970-017-0177-8
  4. USDA FoodData Central. Avocado and banana entries. https://fdc.nal.usda.gov/
  5. Volek JS, Phinney SD. (2011). The Art and Science of Low Carbohydrate Living. Beyond Obesity.
  6. Hall KD, et al. (2016). "Energy expenditure and body composition changes after an isocaloric ketogenic diet in overweight and obese men." Am J Clin Nutr 104(2):324-333.
  7. Bueno NB, et al. (2013). "Very-low-carbohydrate ketogenic diet v. low-fat diet for long-term weight loss: a meta-analysis of randomised controlled trials." Br J Nutr 110(7):1178-1187.
  8. Westman EC, et al. (2007). "Low-carbohydrate nutrition and metabolism." Am J Clin Nutr 86(2):276-284.

Important: Educational only, not medical advice. Talk to a doctor or registered dietitian before starting keto, especially if you have any of the conditions listed above.

Frequently asked questions

What macros do I eat on keto?

Standard keto is roughly 70% fat, 25% protein and 5% carbs by calories. For a 2,000-kcal day that's about 155g fat, 125g protein and 25g net carbs. The calculator above sets these from your own stats.

How many carbs can I eat on keto?

Most plans use 20–50g of net carbs a day (Cleveland Clinic). Start near 20–25g if you want the quickest route into ketosis, and raise it toward 50g only if you stay in ketosis and want more food variety.

Should I count net carbs or total carbs?

Net carbs (total carbs minus fibre, and minus sugar alcohols that don't raise glucose) are the usual keto standard. If your progress stalls, switch to total carbs for 2 weeks as a stricter test.

How much protein should I eat on keto?

At least 1.6 g per kg of body weight a day, and up to 2.2 g/kg if you lift weights or are in a deficit. The ISSN position stand puts the range for active people at 1.4–2.0 g/kg. Old 'high fat, low protein' keto plans under-prescribe it.

Do I need to count calories on keto?

Yes if you want to lose weight. Keto suppresses appetite for many people, but calories still decide the trend, and fat is energy-dense at 9 kcal per gram. Cutting carbs does not remove the need for a deficit.

Can I have cheat days on keto?

A high-carb meal can pause ketosis for 1–3 days while you re-deplete glycogen. For weight loss, an occasional carb meal is fine if your weekly calories stay in deficit. For epilepsy or therapeutic ketosis, follow medical guidance and skip cheats.

Back to top

Keep reading