Skip to main content
Tools Star Hub

Calculators

How to Calculate Macros From Your Daily Calories

By Tools Star Hub Editorial Team · Published

Quick answer: to calculate macros, start with a daily calorie target, choose what share of those calories should come from protein, carbohydrate and fat, then divide each share by its energy value. Protein and carbohydrate supply about 4 kcal per gram and fat about 9 kcal per gram. At 2,000 kcal with a 30/40/30 split, that is 600 kcal of protein (150 g), 800 kcal of carbohydrate (200 g) and 600 kcal of fat (about 67 g). Alma: AI Nutrition Coach & Food Tracker does this conversion for five preset splits in your browser.

A calorie number alone does not tell you what to put on the plate. Gram targets make shopping, cooking and logging concrete, and a clear method lets you check any app or coach instead of copying numbers you cannot explain.

What are macros?

Macronutrients are the three nutrients that supply most of the energy in food: protein, carbohydrate and fat. Alcohol also supplies energy, about 7 kcal per gram, but it is not counted as a nutrient target. Fibre is a type of carbohydrate; on food labels it sits inside total carbohydrate.

Counting macros means setting a gram goal for each of the three and tracking intake against those goals. It is a planning layer on top of calories, not a replacement for food quality, variety or medical advice.

How to Calculate Macros: Calories to Grams — Tools Star Hub

How does the 4-4-9 rule convert calories to grams?

The general factors used on nutrition labels are 4 kcal per gram for protein, 4 kcal per gram for carbohydrate and 9 kcal per gram for fat. To go from calories to grams, divide. To go from grams back to calories, multiply. Because fat is more than twice as energy dense, a small change in fat grams moves total calories more than the same change in protein or carbohydrate.

Real foods vary a little from these round factors, and labels are allowed to round. That is why a day of logged grams rarely multiplies back to the exact calorie total shown. A gap of a few percent is normal and not a sign that the method is broken.

Energy per gram used for macro maths
Macrokcal per gram100 g supplies
Protein4400 kcal
Carbohydrate4400 kcal
Fat9900 kcal
Alcohol (not a target)7700 kcal

Which macro split should I start with?

Alma offers five starting splits. Balanced 30/40/30 is the default. Higher protein 40/30/30 suits people who want more satiety or do regular resistance training. Lower carb 30/25/45 shifts energy to fat. Higher carb 20/55/25 suits higher training volume. Even 33/34/33 spreads calories almost equally. The TDEE Calculator uses the balanced 30/40/30 split for its quick suggestion.

For context, the Dietary Reference Intakes published by the US National Academies give acceptable adult ranges of about 10–35% of energy from protein, 45–65% from carbohydrate and 20–35% from fat. Some presets sit outside those ranges on purpose, so treat them as personal preferences to test, not as official recommendations.

Grams per day at 2,000 kcal for each Alma preset
Split (P/C/F)ProteinCarbsFat
Balanced 30/40/30150 g200 g67 g
Higher protein 40/30/30200 g150 g67 g
Lower carb 30/25/45150 g125 g100 g
Higher carb 20/55/25100 g275 g56 g
Even 33/34/33165 g170 g73 g

Should protein be set in grams per kilogram instead?

Percentages are easy, but they scale with calories rather than with your body. At a large deficit, 30% of a small calorie target can leave protein lower than you want; at a large surplus, it can push protein higher than needed. Many people therefore fix protein in grams per kilogram of body weight first and split the remaining calories between carbohydrate and fat.

Alma’s Protein Calculator gives gram ranges for general, active, strength and weight-loss goals. Use that number, multiply it by 4 to get protein calories, subtract from your calorie target and divide the rest by your preferred carb and fat shares. The guide on how much protein per day explains those ranges.

How do I check that my macro numbers add up?

Multiply each gram target back by its factor and add the results. Protein grams × 4 plus carbohydrate grams × 4 plus fat grams × 9 should land within a few calories of your target. If it does not, one share was probably entered as a whole number instead of a decimal, or the percentages did not add up to 100.

The Percentage Calculator is handy for this step. Enter one macro’s calories and the daily total to see its actual share, which is useful when you adjust grams by hand and want to know where the split ended up.

How do I calculate macros on Tools Star Hub?

  1. Get a calorie target. Use the TDEE Calculator or Alma’s Calculators tab with your age, sex, height, weight and activity. Pick maintain, lose or gain so the target matches your goal.
  2. Choose a starting split. Select one of Alma’s five macro plans. If you are unsure, start with Balanced 30/40/30 and change only one thing at a time later.
  3. Read the gram targets. Alma converts each share with 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat, then shows rounded daily grams.
  4. Log food against the targets. Add meals in the Food Tracker. The Dashboard shows progress for each macro and the calories left for the day.
  5. Review after two to three weeks. Compare the weekly weight trend, hunger and training energy. Adjust calories first if weight is moving the wrong way, then fine-tune the split.

Example

Standard deficit on the balanced split

A target of 2,259 kcal at 30/40/30 gives about 678 kcal of protein (169 g), 904 kcal of carbohydrate (226 g) and 678 kcal of fat (75 g). Check: 169×4 + 226×4 + 75×9 = 2,255 kcal, within rounding of the target.

Protein fixed first

A 70 kg person who wants 1.6 g/kg sets protein at 112 g, or 448 kcal. On an 1,900 kcal target, 1,452 kcal remain. Splitting those 60/40 between carbohydrate and fat gives about 871 kcal of carbs (218 g) and 581 kcal of fat (65 g).

Switching to lower carb

Moving a 2,000 kcal plan from 30/40/30 to 30/25/45 keeps protein at 150 g, drops carbohydrate from 200 g to 125 g and lifts fat from about 67 g to 100 g. Total calories stay the same.

What should I keep in mind?

Calories still lead

Body-weight change follows the calorie balance over time. A perfect split on the wrong calorie target will not deliver the result you planned.

Rounding is normal

Gram targets and label values are rounded, so small gaps between logged grams and logged calories are expected.

Educational use

Macro presets are general starting points. People with diabetes, kidney disease, pregnancy or a history of disordered eating should plan targets with a clinician or registered dietitian.

FAQ

What is the formula for converting calories to macro grams?
Multiply daily calories by the macro’s share, then divide by 4 for protein or carbohydrate and by 9 for fat. For example, 2,000 × 0.30 ÷ 4 = 150 g of protein.
Why does fat have fewer grams than protein at the same percentage?
Each gram of fat supplies about 9 kcal versus about 4 kcal for protein, so the same calorie share buys fewer than half as many grams of fat.
Do the three percentages have to add up to 100?
Yes. Protein, carbohydrate and fat shares should total 100% of your calorie target. If they add to less, part of your calories is unassigned; if more, the grams overshoot the target.
Is 30/40/30 the best macro split?
No single split is best for everyone. Thirty, forty, thirty is a common, easy starting point. Adherence, food preferences and training usually matter more than the exact ratio.
Does fibre count toward my carbohydrate grams?
On a standard nutrition label, dietary fibre is listed inside total carbohydrate. Unless you deliberately track net carbs, log the total carbohydrate figure.
How should I count alcohol in a macro plan?
Alcohol supplies about 7 kcal per gram but has no macro target. Many people log it against their calorie total and reduce carbohydrate or fat on that day to stay on budget.
Should I hit my macros exactly every day?
Close enough is fine. Landing within roughly 5–10 grams of each target most days, with calories on track, is a realistic standard for most people.
Do I need new macros when my calorie target changes?
Yes, if you use percentages, because grams scale with calories. If you fixed protein in grams per kilogram, recalculate only the carb and fat share.
Can I calculate macros without tracking food?
You can. Some people use the gram targets to build a repeatable meal template, such as a palm of protein and a fist of carbohydrate per meal, and track only occasionally.
Where can I turn my macros into a meal plan?
Alma: AI Nutrition Coach & Food Tracker includes a meal planner and grocery list that use your saved calorie and macro targets.

Convert your calorie target into protein, carb and fat grams in Alma: AI Nutrition Coach & Food Tracker.

Find your starting calories with the TDEE Calculator.

Set protein by body weight in How much protein per day.

Check any macro’s share of the total with the Percentage Calculator.

Sources and further reading