Macro Calculator
Calculate a daily macronutrient split.
Presets are carbohydrate / protein / fat as a share of total calories.
Daily macronutrient split
200 / 150 / 66.7 g
Carbohydrate / protein / fat per day
| Macronutrient | Share | Grams / day | kcal / day |
|---|---|---|---|
| Carbohydrate | 40% | 200 | 800 |
| Protein | 30% | 150 | 600 |
| Fat | 30% | 66.7 | 600 |
Energy density used: carbohydrate 4 kcal/g, protein 4 kcal/g, fat 9 kcal/g.
How to use Macro Calculator
What this calculator does
A macro calculator translates a daily calorie target into grams of the three macronutrients that supply energy: carbohydrate, protein and fat. You enter the number of calories you want the day to contain, choose how that energy is divided, and the tool instantly shows how many grams of each macronutrient correspond to that split, along with the calories each one contributes. The word “macro” is short for macronutrient — the nutrients the body needs in large amounts, as opposed to micronutrients such as vitamins and minerals. Everything is computed in your browser as you type.
Why you might need it
Calorie targets are usually expressed as a single number, but food labels and meal plans list grams of carbohydrate, protein and fat. Converting between the two by hand means remembering each macronutrient’s energy value and doing three separate divisions. A macro calculator removes that friction. It is useful when you are reading a recipe and want to know how it fits a particular ratio, when you are comparing how a balanced split differs from a low-carbohydrate one at the same calorie level, or when you simply want to see the gram figures behind a percentage-based plan. Because the presets are explicit, it also makes the arithmetic of popular diet ratios transparent rather than mysterious.
How to use it
- Enter your daily calorie target in kilocalories.
- Choose a diet split. The presets are Balanced (40% carbohydrate, 30% protein, 30% fat), Low-carb (25/35/40), High-protein (30/40/30) and Keto (5/30/65).
- To set your own ratio, pick Custom and type three percentages. They must add up to exactly 100%; a warning appears until they do.
- Read the headline split and the per-macronutrient table — grams per day and the calories each macronutrient contributes update immediately.
- Use the copy button to save the result, or Reset to return to the defaults.
How it’s calculated
The calculation uses the Atwater general factors, the energy values used on nutrition labels worldwide. Carbohydrate and protein each provide about 4 kilocalories per gram, and fat provides about 9 kilocalories per gram. For each macronutrient the calculator first finds how many calories the split assigns to it — calorie target multiplied by that macronutrient’s percentage, divided by 100. It then converts those calories to grams by dividing by the macronutrient’s energy value. For example, at a 2,000 kcal target with a Balanced 40/30/30 split, carbohydrate receives 800 kcal, which is 800 ÷ 4 = 200 g; protein receives 600 kcal, or 150 g; and fat receives 600 kcal, or 600 ÷ 9 ≈ 66.7 g. The three calorie figures always sum back to the original target, which is why a custom split has to total 100%.
Common pitfalls
A frequent misunderstanding is treating the percentages as a share of grams rather than a share of calories. Because fat carries more than twice the energy per gram, a 30% fat split produces far fewer grams of fat than 30% carbohydrate produces grams of carbohydrate. Another pitfall is rounding: the displayed gram figures are rounded to one decimal place, so adding them back up and multiplying by the energy values may land a calorie or two away from the target — that is rounding, not an error. Finally, alcohol contributes roughly 7 kilocalories per gram and is not a macronutrient tracked here, so calorie targets that include alcoholic drinks will not be fully represented by the three macros.
Tips and related calculations
The macro split is only the second half of the planning arithmetic. The first half is the calorie target itself, which is typically estimated from basal metabolic rate and an activity factor — a separate calorie calculation. Once you have grams, you can compare presets side by side by switching between them with the same calorie target, which makes the trade-off between higher carbohydrate and higher fat easy to see numerically. Because the conversion is pure arithmetic running locally, you can experiment freely, and none of the numbers you enter ever leave your browser.
Frequently asked questions
What do the 4, 4 and 9 numbers mean?
Why don't my custom percentages add up automatically?
What is the difference between the preset splits?
Does the calculator need my weight or activity level?
Is my data sent anywhere?
Related tools
Calorie Calculator
Estimate your daily calorie needs.
BMR Calculator
Estimate your Basal Metabolic Rate.
BMI Calculator
Calculate your Body Mass Index from height and weight.
Body Fat Calculator
Estimate body fat percentage with the Navy method.
Ideal Weight Calculator
Estimate ideal weight using several formulas.
Percentage Calculator
Solve percentage problems in several modes.