AllCalculator.io
Free nutrition planning tool

Keto Calculator

Estimate your daily calories, net carbs, protein, and fat in one place. Adjust your activity, weight goal, and macro preferences to see how your numbers change—without signing up.

✓ Metric & US units✓ Customizable macros✓ Calculation breakdown✓ No account required

Calculate your daily keto macros

1. Your measurements

These details help estimate resting energy needs. This calculator is for adults aged 18 or older.

Measurement system
Select the Mifflin–St Jeor equation version most appropriate for your estimates.
Height (feet and inches)
Activity multipliers are rough estimates, not measured calorie expenditure.

2. Set your goal

Choose an estimated calorie target relative to maintenance. Changes here do not predict a specific rate of weight change.

15% below estimated maintenance.
Only enter a reliable measured/clinician-guided value. If provided, this replaces the activity-based maintenance estimate.

3. Customize your macros

Set net carbohydrates and protein first. Fat will fill the remaining calories. These are adjustable planning values, not prescriptions.

Often 20–50 g/day in popular keto approaches; not a guarantee of ketosis.
Only used when lean body mass is selected.
Editable planning assumption; requirements vary by individual.
Important: This model estimates macro grams using 4 kcal per gram of net carbs, 4 kcal per gram of protein and 9 kcal per gram of fat. Real food labels, fiber and digestion can produce differences.

What Is a Keto Calculator?

A keto calculator is a planning tool that estimates how many calories and macronutrients you might consume each day while following a lower-carbohydrate, higher-fat eating pattern. The main outputs are a daily calorie target and quantities of net carbohydrates, protein, and fat in grams. Instead of using a fixed macro ratio for everyone, this page starts with information about your body size, age, usual activity, and weight goal.

People often search for a keto macro calculator because numbers such as “20 grams of carbs” or “70% fat” do not translate neatly into an individual day of eating. A person with a physically active job may have a very different energy requirement from someone who sits most of the day. Similarly, someone seeking to maintain weight will not necessarily choose the same calorie target as someone attempting gradual weight reduction.

This tool is intended for general education and adult nutrition planning. It cannot measure your metabolism, identify a nutrient deficiency, confirm ketosis, or decide whether a ketogenic diet is medically appropriate for you. For some people, a less restrictive eating pattern may be preferable.

How to Use the Keto Macro Calculator

  1. Pick your units. Choose kilograms and centimeters or pounds, feet, and inches. When you switch units, your entered measurements are converted instead of discarded.
  2. Enter age and choose an energy equation. The Mifflin–St Jeor equation has different male and female coefficients. The selection is a mathematical setting, not a statement about gender identity.
  3. Choose your activity level. It gives a rough multiplier to estimate total daily energy expenditure (TDEE). Be conservative if you are not sure.
  4. Select your goal. Choose weight loss, maintenance, or gain, then set the percentage adjustment. You can also enter an independently established maintenance-calorie estimate.
  5. Choose a net carb target. The default is 25 grams per day, but you can modify it to match a plan discussed with a qualified professional.
  6. Set protein. Use a body-weight factor or optionally enter body-fat percentage to calculate protein from estimated lean body mass.
  7. Calculate and inspect the results. Review fat, protein, net carbs, the calorie breakdown, and any warnings. Save or print the numbers if helpful.

As your weight, routine, training schedule, or nutrition needs change, repeat the estimate rather than treating your first result as permanent. If you track food, compare the approximate calories with what you actually eat; packaged-food calorie values and home-measured portions are not perfectly exact.

The Formulas Behind Your Keto Results

Step 1: Estimate Resting Energy Needs

This tool uses the commonly applied Mifflin–St Jeor equation, introduced in a 1990 research paper, to estimate resting energy expenditure. Weight is measured in kilograms, height in centimeters, and age in years. The two original equation versions are:

Male: BMR = (10 × kg) + (6.25 × cm) − (5 × age) + 5
Female: BMR = (10 × kg) + (6.25 × cm) − (5 × age) − 161

BMR is an estimate of calories used at rest; it is not a personal minimum-calorie prescription. The underlying study population does not capture every body type or medical circumstance. Actual expenditure varies due to body composition, medications, illness, and individual differences.

Step 2: Estimate Maintenance Calories

TDEE ≈ BMR × selected activity multiplier

The default multipliers range from 1.20 (sedentary) to 1.90 (extremely active). These multipliers are convenient general approximations and can overestimate or underestimate maintenance needs. If you already have an independently measured or clinician-guided daily energy expenditure, you can enter it as an override. The tool will still show the underlying BMR for context.

Step 3: Apply the Calorie Goal

Weight loss target = TDEE × (1 − deficit % / 100)
Maintenance target = TDEE
Weight gain target = TDEE × (1 + surplus % / 100)

For example, if estimated maintenance is 2,200 kcal and a user selects a 10% deficit, the calculated target is 1,980 kcal. That does not promise a particular weekly weight change. Water changes, appetite, exercise, and adaptive changes in energy expenditure can affect what happens over time.

Step 4: Convert Macro Calories into Grams

Protein (g) = reference weight (kg) × selected protein factor
Fat (g) = [target calories − (protein g × 4) − (net carb g × 4)] ÷ 9

The simplified energy factors are 4 kcal per gram of protein, 4 kcal per gram of carbohydrate, and 9 kcal per gram of fat. This calculator uses net carbohydrates in the calculation as a practical approximation. Actual energy from foods can differ, particularly because fiber, certain sweeteners, food labels, and digestion do not always fit the simple model. If the chosen carb and protein calories leave no room for fat, the page asks you to revise your inputs instead of displaying a negative fat quantity.

How Many Carbs Can You Eat on Keto?

There is no universal net-carbohydrate number that guarantees nutritional ketosis. Popular ketogenic approaches commonly aim for approximately 20 to 50 grams of carbohydrate per day, although individuals and clinical protocols differ. Some health authorities discuss total carbohydrates, while commercial keto trackers tend to emphasize net carbohydrates. The distinction matters when comparing advice or food labels.

Net carbs usually means total carbohydrate minus dietary fiber, with some plans additionally accounting for selected sugar alcohols. However, sugar alcohols can have different effects and labeling conventions vary by country. Do not automatically subtract every gram of every sweetener. If a product's label or your clinical plan uses total carbohydrate rather than net carbohydrate, follow that definition consistently. A daily net carb target is not a measurement of ketones in blood or urine.

Carbohydrate quality still matters. Non-starchy vegetables can contribute fiber and micronutrients, while packaged products marketed as “keto” may contain significant saturated fat, sodium, or highly processed ingredients. This calculator provides numerical targets, not an endorsement of particular foods.

Protein on a Ketogenic Diet

Protein supports many body functions, including tissue maintenance. Needs vary with age, body size, training, medical conditions, and the overall eating plan. For an ordinary example, selecting 1.5 g/kg based on 80 kg of current body weight gives 120 grams of protein per day. That is a customizable mathematical assumption, not a universal recommendation.

Some people prefer an estimated lean-body-mass method. If current weight is 80 kg and body fat is estimated at 25%, calculated lean mass is 60 kg. Selecting 2.0 grams per kilogram of lean mass then produces 120 grams of protein. Body-fat estimates can be imprecise, so do not interpret the resulting protein figure as more accurate simply because another input was added. The page's separate Body Fat Percentage Calculator can help explain common estimation methods, but it does not replace a clinical assessment.

People with kidney disease, serious medical conditions, or specialized nutrition needs should not select high protein targets based only on online calculations. Individual evaluation may change the appropriate amount considerably.

Why Fat Is Calculated Last

Many keto charts describe fat as a large proportion of total daily calories, sometimes roughly 70% or more. But the percentage should be a result of the selected calorie, carbohydrate, and protein values, rather than something forced independently. In this calculator, fat fills whatever calories remain after the carb and protein allocations. That is why increasing protein, lowering the calorie goal, or raising net carbs can change the fat percentage automatically.

More fat is not automatically better. For overall cardiovascular health, fat quality matters. Favor sources of unsaturated fats such as olive oil, nuts, seeds, and avocado over regularly relying on large amounts of butter, processed meat, or other saturated-fat-heavy foods. A ketogenic eating pattern can be difficult to reconcile with general healthy-diet guidance without careful food choices.

Example: A Daily Keto Macro Calculation

Consider an illustrative adult using the male Mifflin–St Jeor equation with age 30, height 175 cm, body weight 80 kg, and an activity multiplier of 1.55. Their resting energy estimate is 1,748.75 kcal/day. Applying the activity multiplier produces approximately 2,710.6 kcal/day for maintenance. A selected 15% reduction gives approximately 2,304 kcal/day.

Setting Example value
Target energy About 2,304 kcal/day
Net carbs 25 g (about 100 kcal)
Protein 120 g (about 480 kcal)
Fat About 191.5 g (remaining calories)
Fat / protein / carb energy About 75% / 21% / 4%

This example illustrates the calculation rather than offering a plan for a specific person. It should not be interpreted as evidence that this diet, these calories, or these macro percentages are medically suitable or that they will necessarily result in ketosis.

What the Calculator Can and Cannot Tell You

It can help you compare settings and see their arithmetic consequences. For example, when you switch from maintenance to a modest deficit, it shows the change in target calories. When you adjust protein, the fat allocation responds. When you change from metric to U.S. units, the internal calculation still uses consistent kilograms and centimeters.

It cannot measure actual daily calorie expenditure, determine nutritional adequacy, predict your future body weight, account for every medication, or diagnose a medical condition. It also does not account for protein distribution across meals, potassium or other mineral needs, fiber adequacy, food allergies, pregnancy, breastfeeding, or the specific dietary requirements of children.

If you are exploring keto because of diabetes, epilepsy, or another medical condition, use a healthcare professional's plan rather than treating consumer macro estimates as treatment instructions. Therapeutic ketogenic diets can have very different monitoring and composition requirements.

Keto Diet Safety and Practical Limitations

Important safety note: A ketogenic diet may not be appropriate for everyone. Talk with a qualified healthcare professional before significant carbohydrate restriction if you are pregnant or breastfeeding, under 18, have diabetes (especially if using insulin or an SGLT2 inhibitor), kidney or liver disease, a history of disordered eating, or another condition requiring a prescribed diet. Changing carbohydrates can change medication needs and may increase the risk of low blood glucose or ketoacidosis in some situations.

Very low calorie targets can be unsafe. The calculator flags estimates under 1,200 kcal/day for further professional review; that warning threshold does not mean 1,200 kcal/day is appropriate for everyone above it. The tool is not a substitute for personalized nutrition advice.

Possible difficulties with a very-low-carbohydrate diet include constipation, fluid changes, dizziness, and challenges meeting fiber or micronutrient needs. Some people experience increases in LDL cholesterol. A careful plan considers the foods behind the macro totals, not just the numbers on the screen.

Frequently Asked Questions

Is this keto calculator free?

Yes. You can enter values, compare estimates, print results, and copy the summary without creating an account. Calculations run locally in your browser. This page does not intentionally submit your calculator inputs to an AllCalculator database.

Does a keto calculator guarantee ketosis?

No. Ketosis is a metabolic state, not a number that this calculator can verify. A specific net-carb target may affect people differently, and tracking carbohydrate intake does not directly measure ketone concentration.

Should I track total carbs or net carbs?

That depends on the approach you are following. This tool takes a net-carb input for convenience. Clinical ketogenic diets and food-label conventions may use total carbs or another definition, so confirm which method applies to you.

Can I use pounds instead of kilograms?

Yes. Choose U.S. units and enter weight in pounds and height in feet and inches. The calculator converts measurements internally before applying the metabolic equation.

What if I do not know my body fat percentage?

Leave protein calculation on “Based on current weight.” Body-fat percentage is optional. A guess is not necessary to use this calculator.

Can I enter my own maintenance calories?

Yes. The optional daily energy expenditure field replaces the estimated TDEE used for the goal calculation. It is most useful when you have a reliable estimate from a clinician or measured assessment.

Why is my fat target higher than my protein target?

Fat provides approximately 9 calories per gram versus 4 for protein. Compare their calorie percentages, not only gram amounts, when interpreting the macro balance.

Is keto the best diet for weight loss?

Not necessarily. Different dietary approaches work for different people. Total energy intake, dietary quality, feasibility, and long-term adherence matter. The best approach is one that meets your nutrition needs and can be maintained safely.

Can this tool make a treatment plan for epilepsy or diabetes?

No. Therapeutic ketogenic diets require individualized clinical planning, and sometimes ongoing tests and medication changes. This page offers general-purpose math estimates only.

References and Related Calculators

For the metabolic equation, see the original Mifflin–St Jeor study. For a balanced discussion of ketogenic patterns and limitations, see Harvard T.H. Chan School of Public Health. For medication and ketone safety, consult the American Diabetes Association. For diet quality, see the World Health Organization.

Other tools on this website include the BMI Calculator, Body Fat Percentage Calculator, and the full Health Calculators collection. These tools can explain different measurements, but none should be used alone to decide on medical care.

Disclaimer

The results are mathematical estimates for general informational purposes. They are not a diagnosis, a prescription, an assurance of safe calorie intake, or a guarantee of weight change or ketosis. Always check personal dietary decisions with an appropriately qualified professional when medical conditions, medications, or special nutrition requirements are involved.