Keto Macros Calculator

Find keto fat grams after fixing carbs and protein.

Fat 157.78
Carbs (% of kcal) 5

Formula: fat = (calories − carbs×4 − protein×4) ÷ 9

Step-by-step with your numbers:
1. Values used:
2. Daily calories = 2,000 kcal
3. Carbs = 25
4. Protein = 120
5.
6. Fat = 157.78
7. Carbs = 5% of kcal
Did we solve your problem today?

Keto fixes low carbs and adequate protein, with the rest of calories from fat.

How the Math Works

The Keto Macros Calculator uses a fundamental energy balance equation to determine your daily fat intake. Since each gram of carbohydrate and protein provides 4 calories, and each gram of fat provides 9 calories, we can rearrange the total calorie equation: Total Calories = (Carbs × 4) + (Protein × 4) + (Fat × 9). Solving for fat gives us the formula: fat = (calories - carbs×4 - protein×4) ÷ 9. This calculation ensures your macros fit within your target calorie goal while maintaining ketosis.

Practical Applications

To use this calculator, first determine your daily calorie target based on your weight loss or maintenance goals. Next, set your desired grams of carbohydrates (typically 20-50g for keto) and calculate your protein needs (usually 0.8-1.2g per pound of lean body mass). Simply input these values along with your calorie target into the calculator, and it will output the exact grams of fat you need to consume daily to stay in nutritional ketosis while hitting your macro and calorie goals.

Day-to-Day Use

This calculator simplifies keto meal planning by providing precise fat targets you can track in real-time. Instead of complex calculations, you'll know exactly how much fat to add to each meal—whether it's avocado, olive oil, or butter—to stay on track. This eliminates guesswork, prevents accidental carb overload, and helps you maintain consistent ketone levels for sustained energy and ketosis benefits throughout your daily routine.

Worked example

2,000 kcal, 25 g carbs, 120 g protein → ~144 g fat.

FAQ

Carb limit?

Most keto plans cap net carbs around 20–50 g/day.