This Macro Calculator converts a daily calorie target into grams of protein, carbohydrates and fat using percentages you choose. It does not estimate how many calories you need, select a goal, or calculate macros from body weight; you supply the calorie target and the three percentages.
How to Use the Macro Calculator
- Enter your chosen daily calorie target.
- Set the percentage of calories from protein.
- Set the percentage from carbohydrates.
- Set the percentage from fat.
- Make sure all three percentages add up to exactly 100%. The calculator shows a warning and withholds the macro results if they do not.
- Read the daily gram targets for each macronutrient.
Macro Conversion Formula
The calculator uses standard approximate energy factors:
- Protein: 4 kcal per gram.
- Carbohydrates: 4 kcal per gram.
- Fat: 9 kcal per gram.
For each macronutrient, grams = (daily calories × percentage ÷ 100) ÷ calories per gram.
Worked Example: 2,000 Calories at 30/40/30
- Protein: 2,000 × 30% ÷ 4 = 150 g.
- Carbohydrates: 2,000 × 40% ÷ 4 = 200 g.
- Fat: 2,000 × 30% ÷ 9 ≈ 66.7 g.
The percentages allocate the calorie target; they do not prove that the calorie target or split is appropriate for your health, activity, age or goals.
How to Choose a Starting Split
There is no single ideal ratio for everyone. Needs can vary with training, food preferences, health conditions, energy requirements and adherence. Competitor resources such as Precision Nutrition, IIFYM and NASM collect additional personal and activity information to estimate calorie needs or personalize macro targets. This tool intentionally does less: it performs the transparent 4/4/9 conversion from a user-supplied calorie target and percentages.
Use the BMR Calculator or Calorie & TDEE Calculator as separate estimates when planning energy needs. For a body-weight-based protein target, see the Protein Calculator.
Assumptions and Limitations
- The percentages must total exactly 100% for the result panel to display.
- The calorie target is entered by you and is not medically or physiologically validated by this tool.
- Energy factors are approximate; food labels and metabolizable energy can vary.
- Alcohol calories, fiber-specific adjustments, food quality, micronutrients and meal timing are not modeled.
- The tool does not recommend a ratio for pregnancy, adolescents, eating-disorder recovery or medical conditions.
