Keto Macro Calculator Guide
Ketogenic eating works by keeping carbs low enough that your liver starts producing ketones from fat. Setting it up correctly takes more than just "eat bacon" — here's the math, the food list, and the trade-offs.
- Standard ketogenic ratio: ~70% fat / 25% protein / 5% carbs by calories.
- Keep total carbs under 30 g/day, or net carbs (total minus fiber) under 20 g/day, to enter and stay in nutritional ketosis.
- Protein doesn't kick you out of ketosis at sane intakes. Aim for 0.7–1.0 g/lb.
- Sodium (4–6 g/day), potassium (3–4 g/day) and magnesium (400 mg/day) prevent the "keto flu" of week one.
- Keto isn't magic — at equal calories and protein, fat loss matches any other diet. Its value is appetite suppression and meal-skipping ease for some people.
What ketosis actually is
When dietary carbs drop below ~30 g/day for several days, blood glucose and insulin fall, the liver depletes its glycogen, and it starts converting fatty acids into ketone bodies (β-hydroxybutyrate, acetoacetate, acetone). These ketones cross the blood-brain barrier and substitute for glucose as brain fuel. You're "in ketosis" when blood ketones sit roughly between 0.5 and 3.0 mmol/L.
This is a normal metabolic state, not a disease — humans evolved to enter ketosis during fasts and lean seasons. It's distinct from diabetic ketoacidosis, which is a dangerous out-of-control state in untreated type 1 diabetes and not something a healthy person can produce by eating eggs.
The 70/25/5 split
A 2,000 kcal keto day:
- Fat: 2,000 × 0.70 = 1,400 kcal ÷ 9 ≈ 156 g
- Protein: 2,000 × 0.25 = 500 kcal ÷ 4 = 125 g
- Carbs: 2,000 × 0.05 = 100 kcal ÷ 4 = 25 g
Treat the 70/25/5 as a shape, not a target you hit to the gram. The hard rule is the carb ceiling. The protein floor is set by your bodyweight (0.7–1.0 g/lb). Fat fills the rest.
Net carbs vs total carbs
Total carbs = everything labeled as carbohydrate. Net carbs = total carbs minus fiber and (sometimes) sugar alcohols. Fiber is mostly indigestible and doesn't raise blood sugar, so it's reasonable to subtract it.
If you're new to keto, count total carbs and stay under 30 g/day. Once you're adapted, switch to net carbs (under 20 g/day) and you'll find you can fit a lot more vegetables. Sugar alcohols are messier — erythritol and allulose are mostly excreted; maltitol behaves a lot like sugar. Don't blanket-subtract them.
Foods that fit and foods that don't
| Eat freely | Eat in moderation | Avoid |
|---|---|---|
| Eggs, fatty fish, beef, pork, chicken thighs, butter, olive oil, avocado, leafy greens, broccoli, cauliflower, zucchini, full-fat cheese, heavy cream | Nuts (almonds, pecans, macadamias), berries, dark chocolate (85%+), Greek yogurt (full-fat unsweetened), tomatoes | Bread, pasta, rice, potatoes, sugar, fruit juice, beans, most fruit, beer, low-fat dairy |
Electrolytes — the difference between a smooth start and the keto flu
The first week, your body dumps water (each gram of glycogen holds ~3 g of water) and with it sodium, potassium and magnesium. Headache, fatigue, brain fog, leg cramps and irritability — the so-called "keto flu" — are mostly electrolyte loss, not carbohydrate withdrawal.
Daily targets in week one:
- Sodium 4–6 g — salt food generously, drink broth, sip salted water.
- Potassium 3–4 g — leafy greens, avocado, salmon, mushrooms; supplement if needed.
- Magnesium ~400 mg — supplement (glycinate or citrate) is the most reliable source.
People who skip electrolytes are the ones who quit keto in week two and tell everyone "it didn't work."
Three worked examples
Example 1 — Carla, 38, 170 lb (77 kg), insulin-resistant, sedentary office job
BMR: 10 × 77 + 6.25 × 168 − 5 × 38 − 161 = 1,469 kcal. Activity 1.3 → TDEE ≈ 1,910 kcal. 20% deficit → 1,530 kcal.
- Protein: 0.8 g/lb × 170 = 136 g (544 kcal, 36%)
- Carbs: 20 g net (80 kcal, 5%)
- Fat: remaining 906 kcal ÷ 9 ≈ 101 g (59%)
Protein percentage runs higher than 25% because Carla's calories are low and her bodyweight isn't. That's normal and fine.
Example 2 — Marco, 45, 210 lb (95 kg), wants energy stability for shift work
BMR: 10 × 95 + 6.25 × 178 − 5 × 45 + 5 = 1,843 kcal. Activity 1.4 → TDEE ≈ 2,580 kcal. Maintenance keto, no deficit → 2,580 kcal.
- Protein: 0.8 g/lb × 210 = 168 g (672 kcal, 26%)
- Carbs: 25 g net (100 kcal, 4%)
- Fat: 1,808 kcal ÷ 9 ≈ 201 g (70%)
Marco isn't trying to lose; he wants steady energy across long shifts. Eating at maintenance on keto is fine.
Example 3 — Jenna, 29, 140 lb (64 kg), CrossFit 4×/week, wants to try keto for 8 weeks
BMR: 10 × 64 + 6.25 × 168 − 5 × 29 − 161 = 1,384 kcal. Activity 1.6 → TDEE ≈ 2,215 kcal. Slight deficit → 2,000 kcal.
- Protein: 1.0 g/lb × 140 = 140 g (560 kcal, 28%)
- Carbs: 30 g net (120 kcal, 6%)
- Fat: 1,320 kcal ÷ 9 ≈ 147 g (66%)
Jenna will likely see a 5–10% drop in high-intensity performance for the first 3–6 weeks. If it doesn't recover by week 6, plain keto is probably the wrong tool for her training style — see "when keto doesn't work" below.
When keto works well
- People with strong appetite responses to carbs. If a sandwich at noon means you're rummaging in the kitchen by 3 pm, the high-fat/high-protein satiety boost on keto is a real lever.
- Type 2 diabetics and insulin-resistant individuals (under medical supervision). Reduced carbs flatten blood-sugar excursions and often reduce medication needs.
- People who hate tracking and prefer rule-based eating. "No bread, rice, pasta, sugar" is a simple rule that automatically caps calories for many.
- Endurance athletes adapted over months for ultra-distance events where fuel availability matters more than peak power.
- Specific medical conditions (drug-resistant epilepsy, certain neurological protocols) under physician supervision.
When keto doesn't work
- High-intensity power sports. Sprinting, CrossFit, team sports, and heavy strength work depend on glycolytic energy. Most people lose 5–15% of peak performance permanently on strict keto.
- People who actually love bread, pasta, and fruit. Adherence is the only diet variable that matters long-term. A diet you hate is a failed diet.
- Pregnant or lactating women — not enough safety data, and energy needs are high.
- People who think keto means "infinite cheese." Calories still count. A 600 kcal cheese-and-butter snack is still 600 kcal.
How to start (week-by-week)
- Day −7 to 0: Clean out the pantry. Plan meals for the first week. Buy electrolytes.
- Days 1–4: Drop carbs under 30 g total. Salt everything. Expect to feel tired and fuzzy.
- Days 5–14: Symptoms ease as you start producing ketones. Energy returns; appetite often drops.
- Weeks 3–4: Fully fat-adapted. Training that involves glycolysis still feels off but recovers gradually.
- Weeks 5+: Steady-state. Adjust calories every 2 weeks based on bodyweight trend.
Common mistakes
- Under-eating fat. Without fat as fuel, you crash. Cook everything in butter or olive oil.
- Hidden carbs. Sauces, marinades, "low-carb" wraps, sugar-free gum. Read labels.
- No electrolytes. Quitting because of "the keto flu" that never had to happen.
- Going back to carbs once a week. Each cycle restarts adaptation. If you want flexibility, do targeted or cyclical keto deliberately, not by accident.
Two full days of keto eating
Day A — 1,800 kcal, 25 g net carbs
- Breakfast: 3 eggs cooked in 15 g butter, 2 slices bacon, ½ avocado
- Lunch: large salad with 150 g grilled chicken, 30 g feta, 30 g pumpkin seeds, olive oil and lemon dressing
- Snack: 30 g macadamia nuts + black coffee with cream
- Dinner: 200 g salmon, side of asparagus roasted in olive oil, 50 g hollandaise
Day B — 2,200 kcal, 28 g net carbs
- Breakfast: omelet with 4 eggs, 30 g cheddar, mushrooms and spinach, cooked in butter
- Lunch: zucchini-noodle bowl with 150 g ground beef, pesto, parmesan
- Snack: 200 g full-fat Greek yogurt with 50 g berries, 20 g almond slivers
- Dinner: 200 g pork chop, cauliflower mash with butter, large green salad
- Evening: 25 g 90% dark chocolate
Targeted and cyclical keto variations
- Targeted ketogenic diet (TKD): 25–50 g carbs added 30 min pre-workout. Useful for power athletes who want some glycolytic capacity without leaving ketosis. Most people don't need it.
- Cyclical ketogenic diet (CKD): 5–6 days strict keto, 1–2 high-carb refeed days. Sometimes used by physique competitors. Requires very tight tracking; easy to mess up.
- Lazy keto: Carbs under 30 g/day, no other macros tracked. Works for general weight loss but not optimal for body composition.
Tracking keto specifically
- Use Cronometer if possible — its database is more accurate for the high-fat foods central to keto.
- Log carbs to the gram. A "small handful" of berries can be 15 g of carbs and blow your daily limit.
- Don't worry about ketone meters in the long term. They're useful for the first 2–3 weeks to confirm you're in ketosis; after that they tell you nothing actionable.
- Track sodium and potassium for the first month. Most apps will show these if you log foods accurately.
Cholesterol and blood lipids on keto
Some people see total and LDL cholesterol rise on keto, while HDL also rises and triglycerides fall. The clinical significance is contested. Sensible posture: get a baseline lipid panel before starting, recheck after 3 months, and discuss with your doctor if numbers move in a direction that worries you. Replacing some saturated fat with mono- and polyunsaturated sources (olive oil, avocados, fatty fish) tends to moderate the LDL response.
Coming off keto
If you decide to stop, don't reintroduce carbs at 300 g/day immediately — that produces uncomfortable bloating and a 4–6 lb glycogen rebound. Add 30–50 g carbs/day and increase weekly until you're at your target. The same logic as a reverse diet.