Keto Macro Calculator
Enter your daily calorie target and keto style to get gram-based fat, protein and net-carb targets for staying in ketosis.
Medical disclaimer. This calculator is provided for educational and informational purposes only and does not constitute medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional regarding your health, diet, exercise, or medication decisions. Read full disclaimer →
About Keto Macro Calculator
The ketogenic diet maintains carbohydrate intake below 20-50g per day to induce ketosis - a metabolic state where the liver produces ketone bodies from fat as the primary fuel source. Standard keto macro split: Fat 65-75% of calories, Protein 20-30%, Carbohydrates 5-10%. This calculator computes personalised daily macro targets based on calorie goals, activity level, and body composition.
Ketosis is typically achieved within 2-4 days of restricting carbohydrates below 50g/day. Common side effects in the first week (keto flu): headache, fatigue, and brain fog due to electrolyte shifts. Increase sodium (3-5g/day), potassium, and magnesium intake to mitigate these effects. Net carbs = total carbs minus dietary fibre. Keto is effective for weight loss and blood sugar management, but consult a doctor if you have diabetes, kidney disease, or pancreatic conditions before starting.
Worked Example
The tool splits your calorie target by percentage, then converts each share to grams using 4 kcal per gram for carbs and protein and 9 kcal per gram for fat. For a 2,000 kcal day on Standard Keto (5% carbs, 25% protein, 70% fat):
- Net carbs: 2,000 × 0.05 ÷ 4 = 25 g (the “stay under” limit).
- Protein: 2,000 × 0.25 ÷ 4 = 125 g.
- Fat: 2,000 × 0.70 ÷ 9 = 155.6, rounded to 156 g.
Changing only the keto type for the same 2,000 kcal shows how the split moves. Moderate Keto gives 50 g carbs, 100 g protein and 156 g fat. High Protein Keto gives 25 g carbs, 175 g protein and 133 g fat. On a smaller 1,600 kcal day with Standard Keto the targets are 20 g carbs, 100 g protein and 124 g fat. Because each gram figure is rounded, adding the grams back up can differ from your calories by a few kcal.
Common Mistakes
- Guessing the calorie target. This tool does not estimate your energy needs from height, weight or activity. It only divides the number you type, so pick that number carefully.
- Counting total carbs instead of net carbs. The carb figure is a net carb limit, which means total carbohydrates minus fibre on the nutrition label.
- Treating protein as unlimited. The protein value is a target based on the percentage split. The High Protein option reaches 175 g in the 2,000 kcal example, but it also lowers fat to 60% of calories.
- Using the grams as exact. The percentages are fixed templates, so adjust them with a dietitian or doctor if you have health needs.
- Forgetting drinks and sauces. Small carb sources add up quickly against a limit as low as 20 g to 25 g.
Where You Would Use This
- Turning a calorie goal into a daily grams-of-fat, protein and carbs plan before you start shopping.
- Comparing the Standard and Moderate versions of the diet to see how much room the extra carbs give you.
- Setting the macro targets in a food-logging app so you have numbers to aim for.
- Checking a meal plan from a book or website against the gram targets you calculate yourself.
This is general information, not medical advice. People with a medical condition should talk to a doctor before making a big change in how they eat.
Frequently Asked Questions
Calculators that use the same maths
They all start from basal metabolic rate and scale it by an activity factor.
Assumptions and limits
- The formula is a population-level estimate. Individual results vary with genetics, body composition, medication and health conditions.
- Inputs are assumed to be accurate and in the unit selected.
- This is general information, not medical advice. Speak to a doctor or dietitian before changing your diet or exercise.
Last reviewed November 2026. See methodology and data sources.