FreeFitnessCalculators

Keto Macros Explained: How to Calculate Fat, Protein & Net Carbs

Asad Khan, MBBS
November 12, 2026
6 min read
Keto Macros Explained: How to Calculate Fat, Protein & Net Carbs
Share

Featured image: custom illustration by Free Fitness Calculators.

A ketogenic diet gets 70% of calories from fat, 20% from protein and 10% from net carbs — total carbs minus fibre. That pushes the body into ketosis, burning fat for fuel instead of glucose. Our keto calculator estimates your energy use with the Mifflin-St Jeor equation, then splits your calories into grams of fat, protein and net carbs.

What is ketosis?

When carbohydrate intake drops very low, the body's glucose stores (glycogen) run out within a few days, and the liver starts breaking down fatty acids into ketone bodies — beta-hydroxybutyrate, acetoacetate and acetone — to fuel the brain and organs. The brain cannot burn fat directly, but it runs well on ketones. Most people enter ketosis within 2 to 7 days of keeping net carbs under 20–30 g a day, though up to 50 g works for many people. You can confirm ketosis by testing blood, breath or urine for ketones.

The diet is not new: Russell Wilder of the Mayo Clinic first used a ketogenic diet to treat epilepsy in 1921, and epilepsy remains its only universally accepted, guideline-supported indication. Today it is also studied for obesity, metabolic syndrome and type 2 diabetes — but it is a major dietary change, not a casual one.

The first week is the hard part. As glycogen depletes, each gram of glycogen releases about 3 grams of water, so early weight loss is mostly water — expect a fast drop on the scales that is not fat loss. Many people also feel tired, headachy or irritable for a few days, the so-called “keto flu”, which usually passes within a week; staying hydrated helps.

The keto ratios

The calculator offers four presets, all low enough in carbs for ketosis for most people. The standard and high-protein splits follow the most-cited definitions (StatPearls, Ketogenic Diet).

  • Standard keto — 70% fat, 20% protein, 10% net carbs: the default, and the most researched.
  • High-protein keto — 60% fat, 35% protein, 5% net carbs: for training hard and protecting muscle.
  • Targeted keto — 65% fat, 25% protein, 10% net carbs: for athletes timing carbs around workouts.
  • Lazy keto — 70% fat, 25% protein, 5% net carbs: keeping it simple.

Think of the three macros differently: fat is a limit, not a goal — eat fat to satiety, and if your goal is weight loss, eating less dietary fat forces your body to burn its own stored fat. Protein is a firm target to hit, to preserve muscle. Carbs are a strict limit: going well over can knock you out of ketosis. For a more general split, compare your targets with our macro calculator.

Net carbs explained

Net carbs are the carbohydrates your body can actually digest and turn into glucose: Net carbs = total carbs − fibre. Fibre is subtracted because it passes through largely undigested and does not raise blood sugar the way other carbs do. Some keto guides also subtract sugar alcohols, but that is less settled — different sugar alcohols behave differently, and counting them all as zero can understate your real carb intake. Use the fibre-only definition when tracking against your target.

One practical note: food labels differ by country. In the US, fibre is included in the total carbohydrate figure, so you subtract it. In the UK and EU, labels already list fibre separately and the carbohydrate figure is effectively net carbs — do not subtract fibre twice.

Worked example

A 35-year-old woman, 68 kg, 165 cm, lightly active, maintaining her weight, on standard keto. Grams come from calories using the standard energy values: fat provides 9 kcal per gram, protein and carbohydrate 4 kcal per gram.

  • BMR (Mifflin-St Jeor) = 10 × 68 + 6.25 × 165 − 5 × 35 − 161 = 1,375 kcal
  • TDEE = 1,375 × 1.375 (lightly active) = 1,891 kcal
  • Fat = 1,891 × 70% ÷ 9 = 147 g
  • Protein = 1,891 × 20% ÷ 4 = 95 g
  • Net carbs = 1,891 × 10% ÷ 4 = 47 g

Her net carbs land just under the common 50 g guide. If she chose a weight-loss goal of 1 lb per week instead, her target would drop 500 kcal to 1,391 kcal, giving roughly 108 g of fat, 70 g of protein and 35 g of net carbs. And calories still matter on keto: the diet can help with appetite control, but you still need a calorie deficit to lose weight — overeating fat stores fat.

Safety: who should check first

Keto is a major dietary change, and it is not suitable for everyone. Talk to a doctor or dietitian before starting if you take medication for diabetes or blood pressure (doses may need adjusting as carbs drop), have kidney or liver disease, have a history of eating disorders, or are pregnant or breastfeeding. As a general floor, 1,200 calories a day for women and 1,500 for men — below that it becomes very difficult to get adequate nutrients. If your target falls below that line, consider a smaller deficit or professional guidance rather than pushing ahead.

Frequently asked questions

How many carbs should I eat to stay in ketosis?

Most people need fewer than 20 to 50 grams of net carbohydrates per day to enter and stay in ketosis. The exact number varies with metabolic health, activity level and body composition — start near the lower end and test if you want certainty.

Should I count total carbs or net carbs?

Most people on keto count net carbs: total carbohydrates minus fibre. Fibre does not spike blood sugar or insulin, so it does not count against your ketosis limit. Remember that UK and EU labels already list fibre separately, so their carbohydrate figure is effectively net carbs.

What is the keto flu and how do I avoid it?

The keto flu is the fatigue, headache and irritability some people feel during the first days of adaptation. It usually passes within a week. Staying well hydrated and keeping electrolytes up — sodium, potassium, magnesium — often helps.

Can I build muscle on keto?

Yes — eat in a calorie surplus, hit your protein target, and do progressive resistance training. The high-protein preset (60% fat, 35% protein, 5% net carbs) is the usual choice for muscle gain on keto.

This guide is general information, not medical advice. Talk to a doctor or a registered dietitian before starting a ketogenic diet, especially if you take medication or have a health condition.

Medical Disclaimer: This article is for general information only and is not medical advice. The figures and guidance here are estimates based on published formulas and general health information — they cannot account for your individual health, medical conditions, or medications. Always consult a qualified healthcare professional before changing your diet, exercise, or treatment. See our full Disclaimer.

Sources & References

  • [1]
    Daley SF et al. — The Ketogenic Diet: Clinical Applications, Evidence-based Indications, and Implementation (StatPearls, NCBI Bookshelf)ncbi.nlm.nih.gov/books/NBK499830/
  • [2]
    Mifflin MD et al. — A new predictive equation for resting energy expenditure in healthy individuals (Am J Clin Nutr, 1990)pubmed.ncbi.nlm.nih.gov/2305711/
Dr. Asad Sohrab Khan
Medically Reviewed By✓ Verified Physician

General Physician & Medical Reviewer

Dr. Asad Sohrab Khan is a practicing General Physician (MBBS) who volunteers his medical expertise to review our health and fitness content. He ensures all calculators, articles, and nutritional guidance meet clinical standards for accuracy, safety, and responsible health communication.

Clinical NutritionMetabolic HealthPreventive MedicineBody Composition

Was this article helpful?

Be the first to vote!