Your daily macros from your calorie goal.
Enter your daily calorie target, choose your diet goal and diet style — get your protein, carbs and fat in grams, with a visual macro split donut chart and the math explained.
Your data
Your macros
How it's calculated
Calorie target → macro grams in three steps
The Macro Calculator distributes your daily calorie target into protein, carbohydrates and fat based on your diet goal and preferred style. For a 2 000 kcal balanced maintenance diet, a typical split is 30% protein (150 g), 40% carbs (200 g) and 30% fat (67 g). Keto shifts the ratio to roughly 25% protein, 5% carbs and 70% fat.
Each macronutrient provides a fixed number of calories per gram: protein and carbohydrates deliver 4 kcal/g, while fat delivers 9 kcal/g. The calculator applies preset percentage ratios based on your selected goal and style, then converts each fraction to grams using those energy densities.
Carbs (g) = Calories × C% ÷ 4
Fat (g) = Calories × F% ÷ 9
- 1Look up the macro ratio for your goal + style combination—
- 2Multiply calories by each macro's percentage share—
- 3Divide by the macro's energy density to get grams—
- 4Verify: sum of macro calories equals target—
Understand the terms
- Macronutrients (macros)
- Protein, carbohydrates and fat — the three nutrient classes that provide energy. Tracked in grams per day to control body composition.
- TDEE (Total Daily Energy Expenditure)
- The total calories you burn in a day including activity. Use our TDEE calculator to find your maintenance calories before applying a macro split.
- Protein
- Essential for muscle repair and growth. Provides 4 kcal/g. Recommended at 1.6–2.2 g per kg of body weight for active individuals aiming to build or preserve muscle.
- Carbohydrates
- Primary fuel for high-intensity exercise. Provides 4 kcal/g. Low-carb and keto diets restrict carbs to shift metabolism towards fat oxidation.
- Fat
- Needed for hormone production, fat-soluble vitamins and cell membranes. Provides 9 kcal/g — more than twice the calories per gram of protein or carbs.
- Keto (ketogenic)
- A diet where fat provides ~70% of calories and carbs drop below ~50 g/day, shifting the body to produce ketones from fat as its main fuel.
Frequently asked questions — Macros
What are macros (macronutrients)?
How much protein do I need to build muscle?
Is low-carb better for fat loss?
Can I adjust my macros after calculating them?
What is a balanced macro split?
📚 Learn more — official sources
Did this calculator help you?
89 people found these tools useful
📧 Enter your email to confirm — we don't publish it, we only get in touch if we want to use your idea.
About the Macro Calculator
The Macro Calculator helps you distribute your daily calorie target into the three macronutrients — protein, carbohydrates and fat — based on your diet goal and style. Whether you are cutting body fat, maintaining weight or building muscle, the right macro ratio can meaningfully affect body composition outcomes even when total calories are held constant.
The calculator applies preset evidence-based ratios derived from sports nutrition research and dietary guidelines. Protein targets align with the 1.6–2.2 g/kg range supported by meta-analyses for hypertrophy; carbohydrate and fat shares adjust according to the selected style, from a standard balanced split (30/40/30) to a ketogenic distribution (~25/5/70). Use this tool alongside a TDEE calculator to build a complete nutrition plan.