About the Keto Calculator
This in-browser Keto Calculator gives a quick macro plan for a ketogenic-style diet. You enter sex, age, units, weight, height, activity level, goal, target net carbs and a protein choice. The tool uses Mifflin-St Jeor for BMR, applies an activity multiplier and a goal factor, then converts calories to grams using 4 kcal/g for protein and carbs and 9 kcal/g for fat. Everything runs in your browser; no files are uploaded. Results update instantly as you type and you can copy the numbers or share a URL that reopens with your inputs. This tool is best for people who want a fast, transparent macro estimate without meal planning. Results are estimates, not medical advice, and the page shows a health caveat to consult a doctor or dietitian for major changes.
How to use it
- 1Choose sex, age and units (Metric or US/UK).
- 2Enter weight and height in the chosen units.
- 3Pick activity level and a goal (lose, maintain, gain).
- 4Set net carbs and a protein target; copy or share the results link.
Worked example
Inputs: Male, age 30, weight 80 kg, height 180 cm, activity moderate (1.55), goal Lose fat (20% below maintenance), net carbs 20 g, protein 1.6 g/kg. Calculation: BMR = 10*80 + 6.25*180 - 5*30 + 5 = 1,780 kcal. Maintenance = 1,780 * 1.55 = 2,759 kcal. Goal calories = 2,759 * 0.8 = 2,207 kcal. Protein = 1.6 * 80 = 128 g (512 kcal). Carbs = 20 g (80 kcal). Fat = (2,207 - 512 - 80) / 9 = 179 g (1,615 kcal). Split ≈ 73% fat / 23% protein / 4% carbs.
The formula
Calories = maintenance (Mifflin-St Jeor BMR x activity factor) x goal factorProtein = grams per kg x body weight (4 calories per g)Net carbs as chosen (4 calories per g)Fat fills the rest: (calories - protein calories - carb calories) / 9Source: Mifflin-St Jeor BMR (PubMed)USDA Handbook No. 74 (Atwater energy factors). Last checked 5 November 2026.
What it is good for
- Quick, browser-run estimates with no uploads.
- Shows calories and macro grams plus percent split.
- Updates instantly as you type and creates a shareable link.
- Results are estimates only and not medical advice.
- No advanced options like body-fat input, meal plans or electrolyte tools.
Questions people ask
What BMR formula does this use?
The calculator uses Mifflin-St Jeor to estimate resting energy expenditure. That formula is widely used in clinical and nutrition calculators (see the PubMed link in sources).
How are macros converted to grams?
The tool uses 4 kcal per gram for protein and carbs and 9 kcal per gram for fat. Protein grams are set by your chosen grams-per-kilogram option and net carbs use your entered grams.
What does net carbs mean here?
Net carbs are the grams you enter as your daily target. The tool treats that value as the digestible carbs counted toward your daily carbohydrate calories. Net-carb conventions vary by product label.
Can this guarantee ketosis or weight loss?
No. The calculator provides estimates only. Ketosis depends on individual metabolism and testing with blood or urine ketone measures. Weight change depends on sustained energy balance and metabolic adaptation.
Does the tool send my data to a server?
No files are uploaded. Calculations run in your browser. If you share a link, the numbers are encoded in the URL so the page reopens with your inputs.
Which protein option should I pick?
Choose 1.2 g/kg for light activity, 1.6 g/kg to help maintain muscle, or 2.0 g/kg if you lift and aim to lose fat. These are common guidance levels; talk to a dietitian for personal needs.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.