CalcThis CalcThis
Keto macros · net carb limit · lose, maintain or gain

Keto Calculator

Enter your size, activity and goal — you get your daily calories and the net carbs, protein and fat in grams, with the carb limit shown on the usual 20–50 g keto range. A 35-year-old woman, 165 cm and 70 kg, losing 0.5 kg a week on 25 g net carbs eats about 1,613 kcal: 85 g protein and 130 g fat.

About you

Sex
Height units
Weight units
Goal
Lose per week
Net carb limit a day
Protein, g per kg ideal weight

Net carbs 20–50 g and protein 1.2–2.0 g/kg ideal weight are the ranges in the ketogenic-diet research (Volek 2021).

Daily calories
—
Enter your age, height and weight.
Calories
—

How to use the keto calculator

Enter your age, height and weight, pick your activity level and a goal. For weight loss choose how many pounds (or kilograms) a week; the daily target drops by about 500 kcal for each pound. Choose your net carb limit (20, 25, 30 or 50 g) and a protein level. The result shows calories, grams of net carbs, protein and fat, where each sits on its research range, and the grams for each meal.

Open Go advanced to add your body fat (Katch-McArdle), your own calories or carb limit, a target weight for the time to goal, the protein basis and the number of meals.

How the keto macros are worked out

kcal = maintenance ± pace × 1,100 · net carbs = your limit · protein = g/kg × ideal weight · fat = (kcal − 4 × protein − 4 × carbs) ÷ 9 MIFFLIN-ST JEOR · VOLEK 2021 RANGES · 4 / 4 / 9 KCAL PER GRAM

Example: a 35-year-old woman, 165 cm and 70 kg, moderately active. Maintenance is 2,163 kcal; losing 0.5 kg a week takes 550 off, so 1,613 kcal. Ideal weight (Devine) is 56.9 kg, so protein at 1.5 g/kg is 85 g; net carbs are 25 g; fat is the remaining 130 g. A 40-year-old man, 180 cm and 90 kg, lightly active, maintaining: 2,516 kcal, 112 g protein, 218 g fat.

What share of your calories 20–50 g of carbs is

Net carbs a day1,500 kcal1,800 kcal2,200 kcal
20 g5.3%4.4%3.6%
25 g6.7%5.6%4.5%
30 g8%6.7%5.5%
50 g13.3%11.1%9.1%

How much protein on keto

The research range is 1.2–2.0 g of protein per kilogram of ideal body weight, typically 1.2–1.5 g/kg. Grams a day by ideal weight:

Ideal weight1.2 g/kg1.5 g/kg2.0 g/kg
55 kg (121 lb)66 g83 g110 g
65 kg (143 lb)78 g98 g130 g
75 kg (165 lb)90 g113 g150 g
85 kg (187 lb)102 g128 g170 g

Net carbs and ketosis

Carbohydrate and, in excess, protein both limit how much ketone the liver makes. The 20–50 g range is a general one: how much you can eat and still be in ketosis varies from person to person. A blood ketone meter or urine strips can tell you where you are; this calculator cannot. For a food label use the net carb calculator.

Keto macros for weight loss

A weight-loss pace is a calorie deficit; the carb limit and protein stay put, so fat shrinks. If you want the deficit modelled over time, use the calorie deficit calculator; for a non-keto split use the macro calculator.

Sources

  • Volek JS, Phinney SD, Krauss RM et al., Alternative Dietary Patterns for Americans: Low-Carbohydrate Diets, Nutrients 2021;13(10):3299 — the 20–50 g carbohydrate range “assuming protein is not consumed in excess”, protein of 1.2–2.0 g per kg of adjusted (ideal) body weight, typically 1.2–1.5 g/kg (read November 2026).
  • Mifflin MD et al., A new predictive equation for resting energy expenditure, American Journal of Clinical Nutrition 1990;51:241, and the Katch–McArdle equation (370 + 21.6 × lean body mass in kg) when you enter body fat — multiplied by the activity level you choose.
  • Devine BJ, Gentamicin therapy, Drug Intelligence and Clinical Pharmacy 1974;8:650 — the ideal body weight (50 kg for men, 45.5 kg for women, plus 2.3 kg per inch over 5 feet) the protein target is taken from.
  • Regulation (EU) No 1169/2011, Annex XIV — 4 kcal per gram of protein and carbohydrate, 9 kcal per gram of fat.
  • The 7,700 kcal per kilogram of body fat (about 3,500 per pound) is the usual rule of thumb; real weight change varies from person to person.

An estimate for information only. A ketogenic diet is not suitable for everyone — talk to a doctor first if you have diabetes, kidney or liver disease, take medication, or are pregnant or breastfeeding. Not medical or dietary advice.

Common questions

How many net carbs should I eat on keto?

The usual range is 20–50 grams of carbohydrate a day. A 2021 review by Volek, Phinney and colleagues describes it as a general range that varies from person to person, assuming protein is not eaten in excess. The calculator starts at 25 g and lets you pick 20, 25, 30 or 50 g — or your own number under Go advanced — and shows where your choice sits on that range. Most people count net carbs (total carbohydrate minus fiber and part of any sugar alcohol); the net carb calculator does that for a food label.

How are keto macros calculated?

Calories first: your resting rate (Mifflin-St Jeor, or Katch-McArdle if you give your body fat) times your activity level gives the calories to maintain your weight; a weight-loss or gain pace then moves it by 1,100 kcal a day per kilogram a week (7,700 kcal per kg of body fat). Net carbs are your chosen limit, protein is grams per kilogram of ideal body weight, and fat is whatever calories are left at 9 kcal a gram. For the example above: 2,163 kcal to maintain, 1,613 to lose 0.5 kg a week, 25 g carbs (100 kcal), 85 g protein (341 kcal) and 130 g fat (1171 kcal).

How much protein should I eat on keto?

The Volek review gives 1.2–2.0 grams per kilogram of ideal body weight, typically 1.2–1.5 g/kg, and notes little evidence for more than 2.0 g/kg, which makes ketosis harder to reach. The calculator offers 1.2 (lower), 1.5 (typical) and 2.0 (higher) g/kg. At 1.5 g/kg an ideal weight of 56.9 kg gives 85 g.

Why is protein based on ideal body weight and not my actual weight?

The research the ranges come from states protein per kilogram of ideal or adjusted body weight, not total weight, so someone with extra weight does not get a very large protein number. The calculator uses the Devine ideal weight for your height (or your actual weight if that is lower). Under Go advanced you can switch to your actual weight, for example if you have a lot of muscle.

How much fat should I eat on keto?

Fat is what remains after carbs and protein: calories minus 4 kcal per gram of each, divided by 9. In the example that is 130 g a day — about 73% of calories. If you are losing weight, some of that fat is meant to come from your own body, so the number is a ceiling, not a target to hit.

How fast can I lose weight on keto?

The calculator lets you pick 0.5, 1, 1.5 or 2 lb (0.25, 0.5, 0.75 or 1 kg) a week and warns when the pace is faster than 1% of your body weight a week or the calories would fall below 1,200 (women) or 1,500 (men) a day. Real loss slows over time; the calorie deficit calculator models that.

Do I count total carbs or net carbs?

The 20–50 g range in the research is stated as carbohydrate. In practice many people subtract fiber (and some sugar alcohols) and count net carbs, which lets more vegetables fit. If you want to be strict, count total carbs; if you count net carbs, the net carb calculator shows a strict, a best-estimate and a lenient count.

Is a ketogenic diet safe?

It is not suitable for everyone. Talk to a doctor first if you have diabetes (especially if you take medication), kidney or liver disease, take any regular medication, or are pregnant or breastfeeding. This calculator is for adults and gives an estimate for information only, not medical advice.

Can I use the calculator to maintain or gain weight?

Yes. Choose Maintain for your maintenance calories or Gain for a surplus at the pace you pick; the carb limit and protein stay the same and fat takes the remaining calories.