# Keto Macro Calculator & Beginner's Guide (2026)

> Free keto macro calculator with fat/protein/carb ratios — plus a complete beginner's guide to the ketogenic diet, electrolytes, and who shouldn't try keto.

Canonical: https://www.mycallie.app/en/guides/keto-macro-calculator
Published: 2026-05-19 · Updated: 2026-09-28
Author: Md Sadab Wasim · Source: https://www.mycallie.app

The ketogenic diet — high fat, very low carbohydrate — has been around since the 1920s as a medical treatment for refractory epilepsy. Its popularity for weight loss is more recent, and (predictably) it's surrounded by both overhype and underhype.

Here's what the research actually says, plus a calculator that does the math for you.

## 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.

[Interactive keto macro calculator — use it on the page.]

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](/blog/macro-calculator-with-cheat-day) — it handles weekly averaging when an indulgent day blows up the daily numbers.

## What is the ketogenic diet?

In a typical mixed diet, your body's primary fuel is glucose from carbohydrates. Drop carbs low enough — usually below 20–50g net carbs per day — and your liver starts producing **ketone bodies** (β-hydroxybutyrate, acetoacetate) from fat as an alternative fuel. This metabolic state is called **ketosis**.

Ketosis isn't binary — it's a continuum measured by blood β-hydroxybutyrate levels:

| State | Blood β-OHB (mmol/L) |
|---|---|
| Not in ketosis | &lt;0.5 |
| Light ketosis | 0.5–1.5 |
| Nutritional ketosis | 1.5–3.0 |
| Deep ketosis | 3.0–5.0 |
| Diabetic ketoacidosis (dangerous) | &gt;10 |

Diabetic ketoacidosis is a medical emergency and **not** the same as nutritional ketosis. Healthy non-diabetics don't reach DKA from dietary ketosis.

## Keto macro ratios

There are several styles of ketogenic diet:

| Style | Fat | Protein | Carbs | Best for |
|---|---|---|---|---|
| Standard keto (SKD) | 70% | 25% | 5% | General weight loss |
| Moderate / "lazy" keto | 65% | 30% | 5% | Easier compliance; small lean-mass advantage |
| Targeted keto (TKD) | 60% | 30% | 10% | Athletes; carbs around workouts |
| Cyclical keto (CKD) | varies | varies | varies | Advanced — 5 days keto, 1–2 days carb refeed |
| High-protein keto | 60% | 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. The exact fat-to-protein ratio matters less than people think; what matters is keeping carbs low enough to maintain ketosis and protein high enough to preserve muscle.

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 — don't follow them.

## Electrolytes: the keto flu fix

Within 2–4 days of starting keto, glycogen stores deplete. Each gram of glycogen holds about 3g of water. So you lose 2–4 kg of weight quickly — mostly water — and along with the water, a lot of sodium and potassium.

This is what causes **keto flu** — headaches, fatigue, brain fog, irritability. It is not a "detox." It's an electrolyte imbalance you can fix in 48 hours.

**Daily electrolyte targets on keto:**

| Electrolyte | Target | Easy sources |
|---|---|---|
| Sodium | 3,000–5,000 mg | Salt your food liberally; bone broth; salted nuts |
| Potassium | 3,000–4,000 mg | Avocado (700mg each), spinach, salmon, leafy greens |
| Magnesium | 300–400 mg | Magnesium glycinate supplement; pumpkin seeds, dark chocolate |

If you have high blood pressure or kidney disease, **talk to a doctor before adding sodium**. For most healthy adults, low-carb diets cause sodium *deficiency*, not the surplus issue medical advice usually targets.

## Who should NOT try keto

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

- **Pregnancy** — fetal development needs glucose
- **Breastfeeding** — milk supply often drops on very low carb
- **Type 1 diabetes** — risk of DKA if insulin timing is off
- **History of eating disorders** — restriction triggers
- **Gallbladder removal** — high-fat diets are harder to digest
- **Kidney disease** — high protein is a load on the kidneys
- **Statins / certain blood pressure meds** — dosages may need to drop quickly as the diet works; coordinate with a doctor

For anyone in these categories, work with a registered dietitian and your doctor — don't DIY.

## Net carbs vs total carbs

**Net carbs = total carbs − fiber − (some) sugar alcohols.**

Fiber doesn't raise blood sugar meaningfully, so most keto plans count net rather than total. Some sugar alcohols (erythritol, allulose) also don't impact glucose; others (maltitol) do. When in doubt, count total carbs — it's the safer default.

A 50g net carb target with high fiber is functionally similar to a 30g total carb target. Both will keep most people in ketosis.

## What to eat (high-level)

**Yes:**
- Meat, poultry, fish, eggs
- Healthy fats: olive oil, avocado, butter, ghee, MCT oil
- Above-ground vegetables: leafy greens, broccoli, cauliflower, zucchini, peppers
- Nuts and seeds (in moderation — carbs add up)
- Berries (small portions) — the lowest-carb fruits
- Full-fat dairy: cheese, Greek yogurt, heavy cream
- Avocados

**Limit / avoid:**
- Bread, rice, pasta, grains
- Most fruit (bananas, mangoes, grapes are high-carb)
- Beans, lentils (some keto plans include in moderation)
- Sugar, sweetened anything
- Most "low-fat" packaged foods (often sugar-loaded)

## How Callie handles keto

Callie's tracker can switch into keto mode with one tap — net carbs become the default, the AI coach flags high-carb foods, and the macro targets adjust to your ratio of choice. The voice and photo logging work the same as any other goal mode, so you can say "khichdi with ghee" or "scrambled eggs and bacon" and Callie parses the macros without you doing the math.

## Sources

1. Volek JS, Phinney SD. (2011). *The Art and Science of Low Carbohydrate Living.* Beyond Obesity.
2. 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.
3. 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.
4. Helms ER, et al. (2014). "Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation." *J Int Soc Sports Nutr* 11:20.
5. Westman EC, et al. (2007). "Low-carbohydrate nutrition and metabolism." *Am J Clin Nutr* 86(2):276-284.
6. Cleveland Clinic. "Ketogenic Diet." https://my.clevelandclinic.org/health/articles/24003-ketogenic-keto-diet

> **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.
