Health & fitness

Macros calculator for keto diet

Calculate daily fat, protein, and net-carbohydrate targets from calories and body weight.

  • Metric and imperial units
  • Instant updates as inputs change
  • Data is calculated in this browser only
Unit system
Results update as you type
Daily fat159 g
Daily protein
112 g
Daily net carbohydrates
30 g
Calories from fat
72 %

This is a mathematical macro split. Diabetes, pregnancy, kidney or gallbladder conditions call for individualized professional guidance.

Calculation notes

Understand the Macros calculator for keto diet

Calculates protein from body weight, subtracts protein and net-carbohydrate calories, and assigns the remaining calories to fat.

Formula and logic

How are keto macros calculated from calories and body weight?

Protein grams = body weight in kg × selected protein rate. Protein and net carbs use 4 kcal/g; remaining calories are assigned to fat at 9 kcal/g.

Worked example

What are keto macros for 2,000 calories and 30 g net carbs?

At 70 kg, 2,000 kcal, 1.6 g/kg protein, and 30 g net carbs: protein is 112 g, carbs are 30 g, and remaining fat is about 159 g.

How to read the result

Why does changing protein change the keto fat target?

  • The three macro calorie totals should add back to the entered calorie target.
  • Changing protein or carb targets automatically changes the remaining fat allowance.
Limits and assumptions

What nutrition factors are not covered by a keto macro calculator?

  • Net-carbohydrate labeling varies and is not defined identically for every food.
  • The tool does not assess micronutrients, fiber quality, medications, or whether keto is appropriate.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Choose units and use the pre-pregnancy, resting or current measurements requested by the tool; keep observation dates consistent.
  2. Prepare Weight, Daily calorie target, Protein per kg of body weight, Daily net carbohydrates. Defaults demonstrate the model rather than your personal circumstances.
  3. Check the headline result and its components. A key interpretation for this tool is: The three macro calorie totals should add back to the entered calorie target.
  4. Compare the baseline with a changed scenario: Changing protein or carb targets automatically changes the remaining fat allowance.

Energy bookkeeping and weighted allocation

A static deficit or surplus is a budgeting estimate rather than a linear prediction of body-weight change. Expenditure can adapt, measurement is imperfect and changes in water and lean tissue affect weight. Activity factors can already include exercise; adding it again may double-count energy use.

TDEE ≈ estimated resting energy × activity factor
Energy from macros = 4 × protein grams + 4 × carb grams + 9 × fat grams
Planned balance = intake − estimated expenditure

The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.

From question to result

Continue with a related question

Explore all Calories & nutrition tools and guides