Keto Calculator
Strict, moderate, or lazy keto macros with electrolyte guidance.
Strict, moderate, or lazy keto macros with electrolyte guidance.
Nothing here is a black box - the script runs the Mifflin-St Jeor equation stated in the lead with the activity factor shown in the code, then divides your energy by the ketogenic macro ratios - the same arithmetic you would do on paper. The macro split is the design rule here: the calculator starts from the energy target computed above and divides it by the ketogenic ratios shown in the code, nothing else. If you log meals, this is the companion number: it uses the same units and daily framing as the diary, which makes comparing your intake against the target a one-glance check rather than a conversion exercise.
About Keto Calculator
Strict, moderate, or lazy keto macros with electrolyte guidance.
This diet calculator helps you assess, plan, or optimize a specific dietary pattern. Diet quality is one of the strongest modifiable risk factors for chronic disease, research consistently shows that what you eat matters more than precise calorie counting for long-term health outcomes.
Evidence base
This calculator is based on validated dietary assessment tools and evidence from large cohort studies (Nurses' Health Study, EPIC, PREDIMED) and randomized controlled trials. Each dietary pattern has a unique evidence base for specific health outcomes.
Practical application
Use the result to identify areas for dietary improvement. Focus on one or two changes at a time rather than overhauling your entire diet. Sustainable changes produce better long-term results than dramatic overhauls that last only a few weeks.
Formula sources, population limits, and references for this diet pattern calculator are documented in our public methodology. Read the methodology · Medical disclaimer