document.documentElement.classList.add("cf-on");'; return; } ?>

Keto Macro Calculator

Keto Macro Calculator

Net carbs, protein from lean mass and fat to fill the rest, in grams and per meal.

Your keto calorie target
0 kcal
0 gfat (fills the rest)
0 gprotein
0 gnet carbs
0 kglean body mass
Macrogkcal%Meal

An estimate for healthy adults, not medical advice. Do not follow a ketogenic diet if pregnant. If you take insulin or other diabetes medicine, or have kidney, liver or pancreas problems, speak to your GP before starting.

This keto macro calculator works out daily calories and grams of fat, protein and net carbs for adults in the UK and elsewhere who are starting or fine tuning a ketogenic diet. It caps carbs at the 20 to 50 g a day that the British Dietetic Association defines as very low carb, sets protein from your lean body mass and lets fat fill the remaining calories. Weight works in kg, stone and pounds, or pounds.

Quick answer: A keto macro calculator sets net carbs at 20 to 50 g a day, protein at about 1.6 g per kg of lean body mass, and fat from the calories left. For a 75 kg woman with 32% body fat eating 1,594 kcal, that means about 20 g net carbs, 82 g protein and 132 g fat.

Keto macro calculator showing daily calories with grams of fat, protein and net carbs
How the Keto Macro Calculator works: body stats and carb limit in, grams of fat, protein and carbs out.

What Are Keto Macros?

Keto macros are the daily targets for net carbohydrate, protein and fat that keep carbohydrate low enough for the body to switch to burning fat and making ketones for fuel. That state is called ketosis, and for most people it needs carbs below about 50 g a day, often nearer 20 to 30 g at the start.

The calculator builds the plan in a fixed order, because each macro does a different job. First it finds your maintenance calories with the Mifflin-St Jeor equation and your activity level, then takes off your chosen deficit. Second, it locks net carbs at your limit. Third, it sets protein as lean body mass × grams per kg, where lean mass is your weight × (1 minus body fat %). Finally, fat in grams = (calories minus protein × 4 minus carbs × 4) ÷ 9.

Setting protein from lean mass rather than total weight matters on keto, because many people starting the diet carry extra body fat and a per kilo figure based on total weight would overshoot. If you would rather see a standard split for a normal diet, the macro calculator sets protein from total body weight and carbs as the remainder instead.

How to Use the Keto Macro Calculator

Step 1: Enter Your Sex, Age, Weight and Height

Choose female or male, type your age, then add your weight and height in the units you know best. The weight boxes convert between kg, stone and pounds, and pounds, so 11 st 11 lb appears as 74.8 kg. These details set your calorie needs.

Step 1: enter your sex, age, weight and height

Step 2: Choose Your Activity Level

Select the option that matches a normal week. Lightly active suits most people who exercise one to three times a week or are on their feet at work. Choosing too high a level is the most common reason keto weight loss stalls.

Step 2: choose your activity level

Step 3: Set Body Fat, Protein and Net Carbs

Enter your body fat percentage from a smart scale or a visual estimate, then keep protein at 1.6 g per kg of lean mass unless you train hard, in which case 1.8 to 2.0 suits better. Pick 20 g of net carbs for the strictest start, 30 g once you are adapted or 50 g for a more relaxed approach, or type your own number.

Step 3: set body fat, protein per kg of lean mass and net carbs

Step 4: Choose a Deficit and Read Your Macros

Pick no deficit to maintain, or 10, 20 or 25% to lose weight, and enter your number of meals. The results show your calorie target, grams of fat, protein and net carbs, your lean body mass and a table with calories, percentages and grams per meal.

Step 4: choose a deficit and read your keto macros

What Should My Macros Be on Keto?

A typical starting point is 20 to 30 g of net carbs, 1.6 g of protein per kg of lean body mass and the rest of your calories from fat, which usually works out at roughly 70 to 75% fat, 20% protein and 5% carbs. The exact grams depend on your size, activity and whether you want to lose weight.

Take Joanne, a 38 year old nurse in Glasgow. She is 168 cm tall, weighs 75 kg and her smart scale puts her body fat at 32%. On her feet for long shifts, she picks lightly active. Her BMR is 1,449 kcal and her maintenance is 1,992 kcal. A 20% deficit gives 1,594 kcal. Her lean mass is 75 × 0.68 = 51 kg, so protein is 1.6 × 51 = 82 g. With 20 g of net carbs, fat fills the remaining 1,188 kcal, which is 132 g. That is about 75% fat, 20% protein and 5% carbs, or roughly 44 g fat, 27 g protein and 7 g net carbs at each of three meals.

Net carb limitJoanne's fatProteinSplit (fat / protein / carbs)
20 g132 g82 g75% / 20% / 5%
30 g128 g82 g72% / 20% / 8%
50 g119 g82 g67% / 20% / 13%

Your keto macros should change as you do. Every 4 to 5 kg lost, run the keto macro calculator again with your new weight and body fat, because both your calories and your lean mass figure will shift. If your weekly average weight has not moved for three weeks, lower fat by 10 to 15 g a day rather than cutting protein, which protects muscle. If you start training harder, raise protein towards 1.8 to 2.0 g per kg of lean mass and keep carbs where they are.

Net Carbs on UK Food Labels

Net carbs are the carbohydrates your body digests, which in the US means total carbs minus fibre. UK and EU labels already list fibre separately, so the carbohydrate figure on a British pack is close to net carbs already. The main exception is polyols, sweeteners such as erythritol and maltitol, which are included in UK carbohydrate totals and are often subtracted by keto followers.

To picture 20 g, a medium slice of bread holds around 15 g and a medium banana around 20 g. On a strict keto plan, most of the daily carb allowance comes from leafy greens, broccoli, cauliflower, courgettes, berries in small portions, nuts and seeds, with meat, fish, eggs, cheese and oils providing almost none. Use the keto macro calculator to set the limit, then spend it mainly on vegetables for fibre and nutrients.

Is a Keto Diet Safe for Everyone?

No. The British Dietetic Association says ketogenic diets should not be followed by women who are pregnant, and that people with type 2 diabetes may need medicines such as insulin or sulfonylureas reduced under medical supervision to avoid low blood sugar. Anyone with kidney, liver or pancreas conditions, a history of eating disorders, or who is under 18 or breastfeeding should speak to a GP or dietitian first.

Fibre is the other weak spot. Bread, oats, beans and most fruit are limited on keto, which makes it harder to reach the NHS guideline of 30 g of fibre a day, so plan high fibre vegetables, chia or flax seeds, nuts and avocado into every meal and keep an eye on digestion in the first few weeks.

In the first week many people feel tired, headachy or irritable, often called keto flu, as the body adjusts and loses water. Drinking enough fluid and easing in over a few days usually helps. If you are mainly after weight loss and not committed to ketosis, the calorie deficit calculator gives a goal date with any eating style, and a balanced diet with a modest deficit works just as well for many people. This keto macro calculator gives estimates for healthy adults and is not medical advice.

Key Terms for Using the Keto Macro Calculator

These terms explain how the keto macro calculator sets carbs, protein and fat, so you can understand each target before starting a ketogenic diet.

Ketogenic diet
A very low carbohydrate, high fat eating pattern designed to shift the body towards burning fat and producing ketones for energy. Carbohydrate is held at a fixed ceiling, while fat supplies most of the day's calories.
Ketosis
A metabolic state in which the liver turns fat into ketone bodies because too little glucose is available from food. It usually needs carbohydrate kept below about 50 g a day, and often lower when starting out.
Ketone bodies
Small molecules made in the liver from fatty acids, which the brain and muscles can use as fuel when carbohydrate is scarce. Their presence in blood, breath or urine is how ketosis is usually confirmed.
Net carbs
Total carbohydrate minus fibre, which passes through the gut largely undigested and has little effect on blood glucose. Keto targets are set in net carbs, so fibre rich vegetables can be eaten more freely.
Protein from lean mass
Setting the protein target per kilogram of fat free mass rather than total weight. For people carrying extra body fat, it stops protein being set too high, which could otherwise eat into the calorie room for fat.
Fat as the remainder
The final step of the plan, where fat grams are found by subtracting protein and carb calories from the target and dividing by 9. Fat therefore shrinks or grows with the chosen deficit.
</>Embed this calculator on your website

Add the free Keto Macro Calculator to your own site or blog. Copy the code below and paste it into an HTML block. It resizes itself and works on phones.

How we checked this tool: the Tools Veria Editorial Team built this tool by hand, checked it against the official rules or published standards where they apply, and tested it against worked examples. Results are estimates for planning, not personal financial or tax advice. Read our editorial policy and disclaimer, or report an error.

Frequently Asked Questions

How many carbs can I eat on keto?

Most people stay in ketosis on 20 to 50 g of net carbs a day, which the British Dietetic Association defines as very low carb. Starting at 20 to 30 g gives the most reliable result, and some people can go higher once adapted.

How much protein should I eat on keto?

A common target is about 1.6 g per kg of lean body mass, rising to 1.8 to 2.0 g if you strength train. For a 75 kg person with 32% body fat, that is about 82 g of protein a day.

Do I have to hit my fat target on keto?

No. Treat carbs as a limit and protein as a target, but fat as the flexible part. If you are full before reaching your fat grams, eating less fat simply makes your deficit larger.

Are UK food labels net carbs or total carbs?

UK labels list fibre separately, so the carbohydrate figure is already close to net carbs. You only need to adjust for polyols such as erythritol or maltitol, which are included in UK carbohydrate totals.

How long does it take to get into ketosis?

Most people reach ketosis within two to four days of keeping net carbs under about 20 to 50 g a day. Exercise can speed it up, while eating more carbs or a lot of extra protein can slow it down.

Is keto better than a normal diet for weight loss?

Studies show keto often leads to faster loss in the first weeks, partly from water, but long term results are similar to other diets with the same calorie deficit. The best diet is the one you can keep up.