Macro Calculator
Choose a daily calorie target, then tell the calculator what shares should come from protein and fat. It assigns the remaining calories to carbohydrate and converts all three into grams. The meal table makes the daily numbers easier to picture on a plate.
Loading the calculator. It runs in your browser, so JavaScript needs to be on.
How to use the Macro Calculator
- Enter Daily calorie target in kcal. Use a target you have chosen rather than assuming the default fits you.
- Set Protein share and Fat share as percentages of calories. Together they must not exceed 100%.
- Read carbohydrate grams at the top, protein and fat in the rows, and the equal three-meal or four-meal breakdown below.
The formula
Using the general Atwater energy factors, protein grams = calories x protein percent / 100 / 4. Fat grams = calories x fat percent / 100 / 9. Carbohydrate percent = 100 - protein percent - fat percent, and carbohydrate grams = its calories / 4.
Worked example
With 2,000 kcal, 25% protein and 30% fat, carbohydrate gets 45%. That produces 225 g carbohydrate, 125 g protein and 66.7 g fat. Across three equal meals, each portion has about 75 g carbohydrate, 41.7 g protein and 22.2 g fat.
Percentages describe calories, not food weight
A 30% fat share does not mean 30% of the grams on your plate should be fat. Fat supplies 9 kcal per gram, compared with 4 for protein or carbohydrate, so its gram total is smaller for the same calorie allocation. In the example, 600 kcal of fat requires about 66.7 g, while 600 kcal of carbohydrate requires 150 g.
Use the meal table as arithmetic, not a schedule
The table divides each daily gram total by three or four, with no assumption about breakfast size or workout timing. You can distribute those totals differently. Nutrition labels can differ slightly from simple 4-4-9 arithmetic because of rounding, fiber and other energy factors. This calculator does not evaluate diet quality, vitamins or fiber. This is general information, not medical advice.
Macro Calculator questions
What should my macro percentages be?
There is no single split that fits every person or goal. The defaults are an editable example, and this tool converts a split you choose rather than prescribing one.
Why are carbohydrate grams calculated automatically?
Carbohydrate receives the calories left after protein and fat. This keeps the percentages at 100% without requiring a third percentage field.
Does this calculate net carbs?
No. It converts an energy share to carbohydrate grams and does not subtract fiber or sugar alcohols. Use the carb counter for label-based carbohydrate totals.
Related calculators
- Calorie CalculatorEnter age, height, weight and activity to estimate daily maintenance calories and resting...
- Carb CounterAdd foods, label carbs, fiber and servings to total a meal or recipe. Divide by portions...
- Calorie Deficit CalculatorEnter age, height, weight and activity to estimate maintenance calories. Compare...
- Ideal Weight CalculatorEnter adult height to see the weight range at BMI 18.5 to 24.9, with pounds and a Devine...