Keto Macro Calculator
Get your personalized keto macros and instantly see recipes that fit your targets. No more guessing what to eat.
Methodology checked against linked primary and government sources. Independent clinical review pending. Sources & notes
Disclaimer: This calculator produces estimates for general education, not a diagnosis, treatment plan, or medical advice. Do not change medication, electrolyte supplements, or fasting practices based on its results. Consult your doctor or a registered dietitian before changing your diet, especially if you are pregnant or breastfeeding or have diabetes, heart disease, kidney disease, an eating-disorder history, or another health condition.
Your Daily Macros
Per-Meal Targets (3 meals/day)
How This Calculator Works
This calculator shows each step from estimated resting energy needs to recipes that fit the resulting targets. Every output is an estimate, not a measurement of your metabolism or a promise of weight change.
Step 1: We Calculate Your Basal Metabolic Rate (BMR)
BMR is the energy your body uses at rest. The Standard option uses the Mifflin-St Jeor equation, which estimates resting energy expenditure from sex, age, height, and weight. It is a prediction equation and can differ from an individual's measured resting expenditure.
The Advanced option uses the legacy Katch-McArdle planning heuristic, BMR = 370 + (21.6 × estimated lean mass in kg). We have not identified a primary research publication for this exact legacy formula, so it should not be treated as a clinically validated individual measurement. Any error in the body-fat input carries into the result.
Step 2: We Factor in Your Activity Level
We multiply estimated BMR by KetoFocus planning factors from 1.2 to 1.9 to estimate Total Daily Energy Expenditure (TDEE). These are broad heuristics, not validated individual measurements. They cannot capture differences in movement, training, metabolism, or changes over time, so treat TDEE as a starting estimate and compare it with your real-world trend.
Step 3: We Apply Your Goal
For weight loss, the calculator initially applies a 20% mathematical deficit. This is an adjustable starting setting, not a universal recommendation, and the calculator does not convert it into a promised weekly rate. The CDC describes gradual loss of about 1 to 2 pounds per week as a general public-health goal, while also noting that medicines, medical conditions, stress, hormones, age, and other factors affect weight management. See the CDC's weight-loss guidance.
For muscle building, the slider applies an adjustable calorie surplus. There is no single ideal surplus or guaranteed rate of muscle gain; monitor weight, strength, and body-composition trends and adjust with a sports dietitian when possible. For maintenance, the calculator uses estimated TDEE directly.
Step 4: We Split Your Calories Into Macros
Instead of forcing a fixed percentage split, the calculator estimates each macro separately:
- Protein uses a KetoFocus planning heuristic of 2.0g per kg of estimated lean body mass (about 0.9g per pound). This is not a validated individualized prescription. The calculator does not automatically raise protein at a particular birthday; needs vary with training, total intake, health, and kidney function.
- Net carbs are set by you using the slider (15g to 50g). Twenty grams is a common starting setting, but no single intake guarantees ketosis. “Net carbs” is not an FDA-defined label value.
- Fat fills the remaining calories. This means your fat macro adjusts naturally based on your protein needs and carb target, rather than being an arbitrary percentage.
Step 5: We Show You What to Eat
After calculating your targets, we search the KetoFocus recipe database for recipes near your per-meal calorie and macro ranges. Recipe nutrition and serving sizes are also estimates, so use the matches as planning aids rather than exact prescriptions.
Keto Macros FAQ
Getting Started
Macronutrients (macros) are fat, protein, and carbohydrates. Ketogenic diets generally restrict carbohydrate and provide more energy from fat, but there is no single ratio that guarantees ketosis. This calculator sets protein from estimated lean mass, lets you choose a net-carb planning target, and assigns the remaining estimated calories to fat.
Twenty grams is a common starting setting, not a guaranteed ketosis threshold. Individual response varies with total intake, activity, health, and other factors; only ketone measurement can establish whether you are in nutritional ketosis at a given intake. Do not make a major carbohydrate reduction without medical guidance if you use glucose-lowering medication.
Total carbohydrate is the regulated value on the Nutrition Facts label. “Net carbs” is not defined by the FDA; it is commonly estimated as total carbohydrate minus dietary fiber, while treatment of sugar alcohols varies by type and product. Individual glucose responses can also vary. See the FDA's carbohydrate-label guide.
This calculator uses a KetoFocus planning heuristic of 2.0g protein per kg of estimated lean body mass (about 0.9g per pound), not a validated individual prescription. It does not apply automatic age increases. Your appropriate intake may differ with training, total energy intake, health, and kidney function.
No. The fat result is what remains after the calculator's protein and carbohydrate estimates; it is not a requirement to force-feed fat. Use hunger, food quality, your real-world weight trend, and professional guidance to adjust total intake.
Standard uses the Mifflin-St Jeor equation. Advanced uses the legacy Katch-McArdle planning heuristic with estimated lean mass; we have not identified a primary research publication for that exact formula. Both predict rather than measure resting energy needs.
TDEE (Total Daily Energy Expenditure) is an estimate of daily energy use, including activity. This calculator multiplies predicted BMR by a broad KetoFocus planning factor and then applies the selected deficit or surplus. These factors are heuristics, not measured energy expenditure, so compare the result with your longer-term real-world trend.
Smart scales, skinfolds, circumference methods, and DEXA all have assumptions and measurement error. Use the same method under similar conditions if you are tracking change. The slider's 25% value is only a placeholder, not a recommended default, and it materially affects protein. If you do not know your percentage, leave Standard selected for BMR and treat the protein result as rough. See the ISSN review of body-composition methods.
The calculator starts at a 20% mathematical deficit, but this is not a universal recommendation and does not predict a fixed weekly loss. Smaller or larger changes may be appropriate depending on your starting point, symptoms, health, and clinician's advice. The CDC describes gradual loss of about 1 to 2 pounds per week as a general goal, not a result guaranteed by a particular percentage.
The calculator's macro output is designed as a ketogenic-diet planning estimate. Mifflin-St Jeor and the activity factors do not require keto, but the net-carb setting and remaining-fat calculation are keto-oriented and may not suit another eating pattern.
Optimizing Results
Recalculate when your weight, activity, training, health, or goal changes meaningfully, then compare the estimate with a multi-week trend. There is no required 10-to-15-pound or four-to-six-week interval that works for everyone.
Short-term scale changes can reflect water, digestion, menstrual-cycle changes, medication, or measurement noise as well as body fat. Review your multi-week trend, portions, activity, sleep, and whether your inputs still match your routine. Do not automatically cut another 5%; persistent or unexpected changes deserve individualized advice from a clinician or registered dietitian.
There is no universal keto electrolyte dose. The FDA Daily Value for sodium is less than 2,300mg per day for the general population, and potassium and magnesium needs vary by age, sex, health, diet, medicines, and losses such as heavy sweating. Do not use potassium-containing salt substitutes or electrolyte supplements without medical guidance if you have kidney disease or take medicines that affect potassium. Headache, fatigue, or cramps have many possible causes. See FDA sodium guidance, NIH potassium guidance, and NIH magnesium guidance.
Training volume and goals can change protein and energy needs, but selecting Very Active only changes the calculator's energy estimate; it does not create an individualized sports-nutrition plan. Use the protein output as a starting estimate and work with a sports dietitian if performance or body composition is a priority.
Intermittent fasting is optional and not required for keto or weight loss. The Meals Per Day dropdown only divides the estimated macros; it does not recommend a fasting schedule. Fasting can be unsafe with some diabetes medicines and may not be appropriate during pregnancy or breastfeeding or with an eating-disorder history. Discuss it with your clinician first; see NIDDK's fasting safety guidance.
You can enter these targets in a food-tracking app and log foods using consistent serving sizes. Nutrition labels, databases, recipe calculations, and portions all have measurement error, so treat daily totals as estimates rather than exact values.
Protein does not have a single intake threshold that “kicks” everyone out of ketosis. Gluconeogenesis is regulated by metabolic needs, but protein intake, total energy, carbohydrate, activity, and individual response can all affect ketone levels. Use adequate protein for your health and training needs rather than treating it as either unlimited or something to fear.
A short stall is not automatically a true plateau. Review several weeks of consistent measurements, recalculate changed inputs, and check portions, activity, sleep, and medications. There is not enough information here to prescribe eliminating dairy, increasing the deficit, or adding a weekly 24-hour fast. Seek individualized help if the trend persists or symptoms develop.
Energy intake matters for body-weight change, but calorie needs, food intake, and weight change are all estimated imperfectly. Tracking can help reveal patterns for some people; it is not required for everyone and should not become rigid or distressing. Keto does not guarantee appetite reduction or weight loss.
Use the per-meal targets as rough planning ranges and browse the recipe feed for nearby matches. Recipe nutrition and serving sizes are also estimates. I like to batch cook 2-3 proteins on Sunday, prep low-carb vegetables, and mix and match throughout the week.
Advanced & Specific
The legacy Katch-McArdle heuristic estimates BMR from lean body mass: BMR = 370 + (21.6 × lean mass in kg). We have not identified a primary research publication for this exact formula. Select Advanced to use it as a planning estimate, not a clinically validated measurement; body-fat error flows directly into the result.
Age is one input in the Mifflin-St Jeor energy equation, but there is no universal percentage by which every person's BMR falls each decade. The calculator uses the same 2.0g/kg estimated-lean-mass protein baseline at every age. Older adults may need different protein planning depending on activity and health, while severe kidney disease can require restriction, so there is no automatic birthday-based increase. See the PROT-AGE position paper.
Some people can build muscle while following a ketogenic diet, but the result depends on training, energy availability, protein, recovery, experience, and individual response. Build Muscle applies the adjustable surplus you select; it does not guarantee lean gain or establish that 10% is ideal.
There is no universal long-term safety answer. Evidence, diet quality, adherence, medication effects, and individual lipid, kidney, liver, and glucose responses vary. A ketogenic diet may be inappropriate or require medical supervision for some people. Discuss long-term use and appropriate monitoring with your clinician rather than assuming good results in other people apply to you.
Lipid responses to keto vary, and LDL cholesterol can rise substantially in some people. A rise in HDL or fall in triglycerides does not automatically cancel the risk associated with higher LDL-containing atherogenic particles, and particle-size claims should not be used to dismiss an LDL increase. Review your full results and overall cardiovascular risk with a clinician; the 2026 ACC/AHA dyslipidemia guideline emphasizes LDL-C, non-HDL-C, and selective ApoB assessment.
There is no single best surplus. The calculator offers 5% to 20% as adjustable planning settings, not evidence that any one percentage is ideal. Start conservatively, follow multi-week weight and strength trends, and adjust for training experience, appetite, and unwanted fat gain with a sports dietitian when possible.
Keeping targets similar can be simpler, while some athletes periodize energy or carbohydrate around training. There is no universal instruction to add 200 to 300 calories on training days. Base changes on training load, performance, recovery, and your overall goal, ideally with a sports dietitian.
Alcohol adds energy and can affect judgment, sleep, appetite, glucose, and medication safety even when a drink is low in carbohydrate. It should not be considered “keto-safe” solely because it has few carbs. If you drink, follow public-health guidance and ask your clinician about interactions, especially with diabetes medicines.
“Dirty keto” and “clean keto” are informal marketing labels, not standardized medical categories. Rather than assuming one label guarantees health, consider the overall pattern: nutrient adequacy, fiber, food variety, saturated fat, sodium, degree of processing, affordability, and whether the plan supports your individual health needs.
Click the "Copy Link" button below your results. This creates a unique URL with all your calculator settings encoded in it. Send it to a friend, save it as a bookmark, or share it with your nutritionist. When anyone opens that link, the calculator will load with your exact settings.
Sources & notes
These references support the equations, general ranges, and safety qualifications on this page. The output remains an estimate and has not been independently clinically reviewed.
Calculator methodology
- Mifflin et al. (1990) — original resting-energy prediction equation.
- ISSN protein and exercise position stand — uses total body weight for healthy exercising adults. The calculator's 2.0g/kg estimated-lean-mass baseline is a separate KetoFocus planning heuristic, not the formula prescribed by this paper.
- PROT-AGE position paper — older-adult protein considerations, including kidney-disease exceptions. Its recommendations use total body weight; they are not the source of an automatic age cutoff in this calculator.
- ISSN body-composition position stand — limitations of body-composition methods and diet predictions.
- NIDDK Body Weight Planner — a government tool that models weight change dynamically and flags calorie goals below 1,000 per day as too low.