Home/Keto Macro Guide
Back to Calculator

How to Calculate Keto Macros — Complete Beginner's Guide

Master the art of calculating your perfect ketogenic diet macronutrient ratios for optimal fat loss, muscle gain, or maintenance.

15 min readBeginner FriendlyScience-Based

Skip the Math - Use Our Calculator

Get your personalized keto macros instantly with our free calculator.

Calculate Now

What Are Keto Macros?

Macronutrients, or "macros," are the three main nutrients your body needs in large amounts: fats, proteins, and carbohydrates. On a ketogenic diet, you dramatically shift these ratios to force your body into ketosis—a metabolic state where you burn fat for fuel instead of glucose.

The Three Macronutrients

Fats (9 calories per gram)

Your primary energy source on keto. Includes oils, butter, nuts, and fatty meats.

Proteins (4 calories per gram)

Essential for muscle maintenance and repair. Found in meat, fish, eggs, and dairy.

Carbohydrates (4 calories per gram)

Severely limited on keto. Focus on net carbs (total carbs minus fiber).

Standard Keto Macro Ratios

The standard ketogenic diet follows these macro ratios, which have been proven effective for achieving and maintaining ketosis:

70%
Fats

65-75% of your daily calories should come from healthy fats like avocados, olive oil, and nuts.

25%
Protein

20-25% from protein sources to maintain muscle mass and support metabolic functions.

5%
Net Carbs

5-10% or 20-50g of net carbs daily, primarily from low-carb vegetables and small amounts of berries.

Step 1: Calculate Your Daily Calories

Before determining your macro grams, you need to know your daily calorie needs. This involves calculating your Total Daily Energy Expenditure (TDEE).

The Calculation Process

1. Calculate Basal Metabolic Rate (BMR)

We use the Mifflin-St Jeor equation, which is considered the most accurate:

Men: BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age + 5

Women: BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age - 161

2. Multiply by Activity Level

  • Sedentary (1.2): Little to no exercise
  • Light (1.375): Light exercise 1-3 days/week
  • Moderate (1.55): Moderate exercise 3-5 days/week
  • Active (1.725): Hard exercise 6-7 days/week
  • Athlete (1.9): Very hard exercise, physical job

3. Adjust for Your Goal

  • Weight Loss: Subtract 20% (multiply by 0.8)
  • Maintenance: No adjustment
  • Muscle Gain: Add 10% (multiply by 1.1)

Step 2: Convert Calories to Macro Grams

Once you have your daily calorie target, convert the percentages to actual grams using the calorie values for each macronutrient.

Example Calculation (2000 calories)

Fats (70% of calories)

2000 × 0.70 = 1400 calories from fat
1400 ÷ 9 calories per gram = 156g fat daily

Protein (25% of calories)

2000 × 0.25 = 500 calories from protein
500 ÷ 4 calories per gram = 125g protein daily

Net Carbs (5% of calories)

2000 × 0.05 = 100 calories from carbs
100 ÷ 4 calories per gram = 25g net carbs daily

Step 3: Fine-Tune for Your Goals

Weight Loss Focus
  • • Keep protein higher (1g per lb body weight)
  • • Reduce fat slightly if needed for calorie deficit
  • • Stay strict with carb limit (under 20g net carbs)
  • • Consider intermittent fasting
Muscle Building
  • • Increase protein (1.2-1.6g per lb body weight)
  • • Add more calories through healthy fats
  • • Time carbs around workouts if needed
  • • Focus on strength training

Tips for Tracking Your Macros

Getting Started
  • • Use a food tracking app like MyFitnessPal or Cronometer
  • • Weigh your food for accuracy, especially in the beginning
  • • Plan your meals in advance to hit your targets
  • • Focus on whole, unprocessed foods
Common Mistakes to Avoid
  • • Don't forget to subtract fiber from total carbs
  • • Avoid "dirty keto" - quality matters
  • • Don't fear fat - it's your primary fuel source
  • • Stay hydrated and supplement electrolytes

Ready to Calculate Your Keto Macros?

Skip the manual calculations and get your personalized keto macros instantly with our free calculator.

Use Our Free Calculator

Related Guides

Keto Foods List

Complete list of keto-friendly foods and what to avoid on your ketogenic journey.

Read Guide
Net Carbs Explained

Understanding the difference between total carbs and net carbs for keto success.

Read Guide
7-Day Keto Meal Plan

Sample meal plan with recipes to help you get started with your keto lifestyle.

Read Guide