Keto Macro Calculator

This professional keto calculator personalizes your calories and macronutrients (fat, protein, net carbs) using gold‑standard metabolic equations and your goal. It is designed for individuals following a ketogenic or low‑carb diet who want accurate daily targets with exceptional accessibility and mobile UX.

Your Inputs

Fields marked with an asterisk are required. All changes update results instantly.

Units
Biological sex

Used by Mifflin–St Jeor if body fat % is not provided.

Accepted range: 15–90 years. Age is used in energy and body fat estimations.
For Imperial units, enter feet and inches. Valid range: 120–230 cm (4′0″–7′6″).
Valid range (metric): 40–250 kg. If using Imperial, range is 90–550 lb. Values convert automatically when changing units.
Optional
If provided, Katch–McArdle will be used (more accurate). Otherwise we use Mifflin–St Jeor. If you choose protein per kg LBM without body fat %, we estimate BF% from BMI (Deurenberg et al.).
These factors scale your BMR to estimate TDEE (total daily energy expenditure).
Goal
Typical evidence-based ranges: 1.6–2.2 g/kg body weight for active individuals; 1.8–2.4 g/kg LBM on keto. Adjust to preference and satiety.
Many people remain in ketosis with 20–50 g net carbs per day. Start lower if unsure.

Your Keto Targets

BMR
kcal/day
TDEE
kcal/day
Target Calories
kcal/day
Lean Mass
kg
Protein
— g (— kcal)
Net Carbs
— g (— kcal)
Fat
— g (— kcal)

Authoritative Content and Methodology

Data Source and Methodology

Primary references:

Tutti i calcoli si basano rigorosamente sulle formule e sui dati forniti da questa fonte.

The Formula Explained

Katch–McArdle (if body fat known):
LBM_{kg} = Weight_{kg} \times \left(1 - \frac{BF\%}{100}\right)
BMR = 370 + 21.6 \times LBM_{kg}

Mifflin–St Jeor (if body fat unknown):
BMR = 10 \times Weight_{kg} + 6.25 \times Height_{cm} - 5 \times Age + S
where S = 5 (male), S = -161 (female)

TDEE: TDEE = BMR \times PAL
Target Calories: Target = TDEE \times \begin{cases} (1 - d) & \text{for loss}\\ (1) & \text{for maintenance}\\ (1 + s) & \text{for gain} \end{cases}

Protein: Protein_{g} = p \times \begin{cases} LBM_{kg} & \text{if per kg LBM}\\ Weight_{kg} & \text{if per kg BW} \end{cases}
Carbs: Carbs_{g} = user\ input
Fat calories: Fat_{kcal} = Target - (4 \times Protein_{g} + 4 \times Carbs_{g})
Fat grams: Fat_{g} = \max\left(0, \frac{Fat_{kcal}}{9}\right)

Glossary of Variables

Symbol/FieldDefinition
AgeYour age in years.
SexBiological sex; used in Mifflin–St Jeor and body fat estimation.
HeightBody height in centimeters (or feet/inches).
WeightBody weight in kilograms (or pounds).
BF%Body fat percentage. If provided, we use Katch–McArdle.
LBMLean Body Mass (kg) = Weight × (1 − BF%).
BMRBasal Metabolic Rate (kcal/day).
PALPhysical Activity Level multiplier.
TDEETotal Daily Energy Expenditure (kcal/day).
TargetCalories after applying deficit or surplus.
Protein gGrams of protein per day.
Net Carbs gGrams of carbohydrate excluding fiber/sugar alcohols, per day.
Fat gGrams of fat per day to meet calories.

How It Works: A Step-by-Step Example

Example person: Male, 35 years, 178 cm, 78 kg, BF% = 20%, Moderate activity (1.55), Goal: loss at 15% intensity, Protein: 1.8 g/kg LBM, Net carbs: 25 g.

  1. LBM = 78 × (1 − 0.20) = 62.4 kg
  2. BMR = 370 + 21.6 × 62.4 ≈ 370 + 1348. ≈ 1718 kcal
  3. TDEE = 1718 × 1.55 ≈ 2663 kcal
  4. Target = 2663 × (1 − 0.15) ≈ 2264 kcal
  5. Protein = 1.8 × 62.4 ≈ 112 g → 448 kcal
  6. Carbs = 25 g → 100 kcal
  7. Fat kcal = 2264 − (448 + 100) = 1716 kcal → Fat ≈ 1716 / 9 ≈ 191 g
  8. Macro % ≈ Protein 19.8%, Carbs 4.4%, Fat 75.8% of calories

Frequently Asked Questions (FAQ)

Which formula do you use if I don’t know my body fat?

Mifflin–St Jeor, which is highly validated for general populations. If you choose protein per kg LBM, we estimate BF% from BMI (Deurenberg) to avoid under-protein.

What activity level should I pick if I lift 3–4 times per week?

Choose “Moderate (1.55)”. If you have a physically demanding job as well, consider “Very (1.725)”.

Is protein too high for ketosis?

Most people remain in ketosis at 1.6–2.2 g/kg BW, especially with a carb cap. Individual response varies; monitor results and adjust.

Should I change carbs on training days?

Some prefer a small variance; others keep a fixed cap. Consistency simplifies adherence. Use the Copy Summary to store your plan.

How accurate are calories?

They are estimates. Reassess weekly with body-weight trends and adjust activity or intensity by 5–10% if progress stalls.

Can I use this for therapeutic keto?

Therapeutic/medical keto often has stricter carbohydrate limits and specific protein targets. Consult a qualified clinician.

Tool developed by Ugo Candido. Content verified by CalcDomain Expert Team.
Last reviewed for accuracy on: September 14, 2025.