Macros to Calories Calculator
Enter grams of protein, carbs and fat from a food label, a recipe or your daily macro targets. The calculator multiplies them by the general factors of 4, 4 and 9 calories per gram, adds them up, and shows what share of the total each macro supplies. Add the calories printed on the label to see how far apart the two figures are and whether rounding alone could explain the gap. Results are estimates, not medical advice.
Macros to Calories Calculator
Grams from a label, recipe or target
The Calories line for the same serving as the grams above. Leave it blank to skip the comparison.
Counter44's default target split is 30% protein, 40% carbs and 30% fat by calories. You can change your targets in the app.
Difference from the label
—
—
Each figure is rounded on its own, so the rows can add up to 1 kcal off the total and the shares to 99% or 101%.
Results are estimates from the numbers you enter. Labels are rounded, and foods vary. This calculator is not medical advice.
Counter44
Calorie Tracker
Track your calories day by day
Counter44 sets a daily calorie and macro target. Log meals from over 7,000 foods and watch the ring fill in.
Free · No sign-up needed
How to convert macros to calories
Calories from macros = protein (g) × 4 + carbs (g) × 4 + fat (g) × 9. Those are the general factors FDA lists for US nutrition labels in 21 CFR 101.9(c)(1)(i)(B), and FAO's Food and Nutrition Paper 77 gives the same general Atwater factors in kilojoules: 17 kJ per gram for protein and carbohydrate and 37 kJ for fat. The calculator multiplies each macro by its factor, adds the three, and divides each macro's calories by the total to get its share.
The fields start with 150 g protein, 200 g carbs and 66.7 g fat. That's 600 + 800 + 600.3 = 2,000.3 kcal, shown as 2,000, split 30%, 40% and 30%. The 2,000 kcal figure is an example, not a recommended intake.
Calories are shown in whole kcal and shares in whole percents. Each figure is rounded once from the unrounded math, with halves rounding up, so the three rows can be 1 kcal off the total and the shares can add up to 99% or 101%. A negative number counts as 0, and once any macro has a number, a blank one does too.
Use 4/4/9 when all you have is grams: a macro target from a coach or a plan, a recipe, or a Quick Add entry. When a label or a food database prints a calorie figure for the food, that figure is the one to log, and the label field above shows how far 4/4/9 lands from it.
Reading your macro split
A macro's share is its calories divided by the total, times 100. It's a share of calories, not of grams: in the default example, protein and fat each supply 30% of the calories, though there are more than twice as many grams of protein as of fat.
Counter44's default target split is 30% protein, 40% carbs and 30% fat by calories, converted to grams at 4, 4 and 9 kcal per gram. For a calorie target T, that's 0.3 × T ÷ 4 grams of protein, 0.4 × T ÷ 4 grams of carbs and 0.3 × T ÷ 9 grams of fat. You can change your targets in the app, and the Today screen shows protein, carb and fat bars against them.
The calculator doesn't recommend a split. If a coach, a plan or another app gave you gram targets, enter them here to see the calorie total they add up to and the split they imply.
Why 4/4/9 and the label don't always match
FDA's rule says the calorie factors "shall be applied to the actual amount (i.e., before rounding) of food components". The label then rounds each printed figure on its own, so 4/4/9 on the printed grams rarely lands exactly on the printed calories. For a label calculated with the general 4/4/9 factors, the largest gap rounding can produce for one serving adds up like this:
- Calories: nearest 5 up to 50 and nearest 10 above that, so up to 5 kcal.
- Protein: nearest gram, so 0.5 g × 4 = 2 kcal.
- Carbs: nearest gram, so 0.5 g × 4 = 2 kcal.
- Fat: nearest gram above 5 g, and 0 under 0.5 g, so up to 0.5 g × 9 = 4.5 kcal. From 0.5 g to 5 g it's the nearest 0.5 g, so 2.25 kcal.
That's 13.5 kcal from the label's own rounding. This page then rounds its total to a whole calorie, which can add 0.5, so the calculator treats a gap of up to 14 kcal as one rounding can explain. It's an upper bound: for servings under 50 Calories, or with 0.5 g to 5 g of fat, the real limit is lower.
USDA FoodData Central's cooked quinoa (FDC 168917) shows how this plays out. FDC lists 120 kcal per 100 g, with 4.4 g protein, 21.3 g carbs and 1.92 g fat. On a US label for a 100 g serving, those would round to 120 Calories, 4 g protein, 21 g carbs and 2 g fat, and 4/4/9 on the printed grams gives 118: 2 kcal under the label from rounding alone.
Larger gaps come from the method, not rounding. FDA also lets a label use food-specific Atwater factors, 4/4/9 after subtracting non-digestible carbohydrate and sugar alcohols, FDA-approved factors for particular foods, or bomb calorimetry. FoodData Central uses food-specific factors. For almonds (FDC 170567), 21.2 g protein, 21.6 g carbs and 49.9 g fat per 100 g come to 620 kcal at 4/4/9, but FDC lists 579, which its own factors of 3.47, 4.07 and 8.37 kcal per gram reproduce. For dry oats (FDC 173904) the gap is small: 382 kcal at 4/4/9 against 379 listed. FDC's values are per 100 g and aren't rounded like a label, so rounding plays no part in these gaps.
Fiber and sugar alcohols matter when a label uses the subtracting method: it counts soluble fiber at 2 kcal per gram, insoluble fiber at 0 and each sugar alcohol at its own factor, so 4/4/9 on total carbs comes out higher than the label. Alcohol works the other way. It supplies about 7 kcal per gram, and a US standard drink holds 14 g of pure alcohol (NIAAA), about 98 kcal before any carbs. Nutrition labels have no alcohol line, so 4/4/9 on a drink's macros comes out lower than its calories.
Using the result in Counter44
Counter44's roughly 7,200 bundled foods, derived from USDA data, carry their own calories per 100 g or 100 mL next to the macros, so there's nothing to convert when you log one. This calculator is for food that only comes with grams, such as a recipe you worked out yourself. Enter the calories and macros in Quick Add, where you type both yourself, or save the food as a custom food (custom foods are unlimited).
A 30/40/30 split of any calorie target, converted to grams at 4/4/9, multiplies back to that same target: 0.3 × T + 0.4 × T + 0.3 × T = T. Grams rounded to a decimal shift the total slightly, as 66.7 g of fat does in the default example (2,000.3 instead of 2,000). Log meals and watch your macro bars fill in Counter44.
If you log workouts, the exercise calories eat-back calculator shows what adding part or all of a burn estimate does to your target. Other Counter44 calculators are listed on the tools page as they are published.
This calculator and the figures on this page are estimates for planning, not medical advice. If you have a medical condition, are pregnant, or have a history of disordered eating, talk to a doctor or registered dietitian before changing how you eat.
Frequently Asked Questions
Common questions about macros to calories calculator
How do you convert macros to calories?
Multiply grams of protein by 4, grams of carbs by 4 and grams of fat by 9, then add the three. For example, 40 g protein, 60 g carbs and 20 g fat give 160 + 240 + 180 = 580 kcal. These are the general factors of 4, 4 and 9 calories per gram that FDA lists for US nutrition labels in 21 CFR 101.9(c)(1)(i)(B), as described in USDA Handbook No. 74.
How many calories are in a gram of protein, carbs and fat?
About 4 for protein, 4 for carbohydrate and 9 for fat. FAO's Food energy: methods of analysis and conversion factors (Food and Nutrition Paper 77, Table 3.3) gives the general Atwater factors as 17 kJ (4.0 kcal) per gram for protein and for carbohydrate, 37 kJ (9.0 kcal) for fat and 29 kJ (7 kcal) for alcohol. The same table proposes 8 kJ (2 kcal) per gram for dietary fibre in conventional foods. Food-specific factors differ: USDA FoodData Central uses 3.47 for protein, 4.07 for carbohydrate and 8.37 for fat in almonds.
How do I work out what percentage of my calories comes from protein?
Divide protein's calories by the total calories and multiply by 100. With 40 g protein, 60 g carbs and 20 g fat, protein is 160 kcal of 580, and 160 ÷ 580 × 100 = 27.6%, about 28%. Carbs and fat work the same way. Each share is rounded on its own, so the three can add up to 99% or 101%: 1 g of each macro gives 24% + 24% + 53% = 101%.
Why don't my macros add up to the calories on the label?
Rounding is the first reason. FDA has the calorie factors applied to the actual amounts "before rounding", and the label then rounds each figure on its own: calories to the nearest 5 up to 50 and the nearest 10 above that, protein and carbs to the nearest gram, and fat to the nearest 0.5 g below 5 g and the nearest gram above. The label's rounding alone can put 4/4/9 on the printed grams up to 13.5 kcal away from the printed calories for one serving, and up to 14 kcal from this page's whole-calorie total. FoodData Central's cooked quinoa, printed as a 100 g label, would read 120 Calories with 4 g protein, 21 g carbs and 2 g fat, and 4/4/9 on those grams gives 118. Bigger gaps come from the method: FDA also allows food-specific Atwater factors, 4/4/9 after subtracting non-digestible carbohydrate and sugar alcohols, FDA-approved factors for particular foods, or bomb calorimetry. FoodData Central lists almonds at 579 kcal per 100 g, while 4/4/9 on its grams gives 620. Alcohol adds calories too, and a label has no line for it.
Should I enter total carbs or net carbs?
Enter total carbohydrate, as printed. US labels calculate total carbohydrate by subtraction, so it already includes fiber and sugar alcohols, which are listed indented beneath it (21 CFR 101.9(c)(6)). The general 4/4/9 method counts 4 kcal per gram of that total, and this calculator's 14 kcal rounding check assumes it does. A label may instead subtract non-digestible carbohydrate and sugar alcohols, then count soluble fiber at 2 kcal per gram and sugar alcohols at their own factors (erythritol 0, xylitol 2.4, sorbitol 2.6). Against that kind of label, the 4/4/9 total comes out higher by about 4 kcal per gram of insoluble fiber, 2 kcal per gram of soluble fiber, and 4 minus the sugar alcohol's factor per gram of sugar alcohol. For example, 20 g of total carbs that include 10 g of insoluble fiber is 80 kcal at 4/4/9 but 40 kcal under that method. A gap that size comes from how the label was calculated. It doesn't mean either number is wrong.
How do I count calories from alcohol?
Alcohol supplies about 7 kcal per gram (FAO Food and Nutrition Paper 77). NIAAA defines a US standard drink as "any beverage containing 0.6 fl oz or 14 grams of pure alcohol": for example 12 fl oz of regular beer at about 5% alcohol, 5 fl oz of table wine at about 12%, or 1.5 fl oz of distilled spirits at about 40%. That is 14 × 7 = 98 kcal from the alcohol alone, before any carbs in the drink. This calculator leaves alcohol out because nutrition labels have no line for it. In Counter44, log a drink by its total calories, from the bundled food database (its beverages include beer) or with Quick Add.
Should I track macros or just calories?
They are two views of the same intake: calories come to about 4 × protein + 4 × carbs + 9 × fat, plus 7 per gram of alcohol. A set of gram targets implies a calorie total, and a calorie target with a split implies grams. Which one to follow is a personal or clinical choice, and this calculator doesn't make it for you. Counter44 shows both on its Today screen: a calorie ring, and protein, carb and fat bars with a target line. Nothing here is medical advice.
How does Counter44 turn a calorie target into macros?
During setup, Counter44 sets a daily target from your Mifflin-St Jeor BMR multiplied by an activity factor of 1.2, 1.375, 1.55 or 1.725, then applies the goal adjustment: -500 kcal to lose, 0 to maintain or +300 to gain. (If your activity level already reflects your workouts, see the exercise calories eat-back calculator before adding logged burns on top.) The target stays at or above 1,200 kcal (female), 1,350 kcal (prefer not to say) or 1,500 kcal (male). It then splits the target 30% protein, 40% carbs and 30% fat by calories and converts each share to grams at 4, 4 and 9 kcal per gram. For a 2,000 kcal example, that math gives 600 ÷ 4 = 150 g protein, 800 ÷ 4 = 200 g carbs and 600 ÷ 9 = 66.7 g fat. This calculator runs it backwards: those grams come to 2,000.3, shown as 2,000 kcal. You can change the calorie and macro targets in the app's target editor.