Created by Martin Leitner-Ankerl. I'm a software developer who has followed and researched the ketogenic diet for years. I first built this calculator and announced it on /r/keto in October 2012, because the keto advice online was vague and I wanted exact numbers for myself. The math is based on the peer-reviewed Mifflin-St. Jeor equation and the protein and fat guidance in Phinney and Volek's The Art and Science of Low Carbohydrate Living — the book I learned the most from. I'm not a doctor or dietitian; this is simply the tool I wished existed, shared freely. You can find me on reddit and my blog. Please read the disclaimer and Cookie Consent.
Created October 2012 · last reviewed June 2026. The formulas are unchanged since publication and are reviewed periodically for accuracy.