- This calculator converts a calorie number you already have into grams of protein, carbs, and fat.
- It uses the 4-4-9 rule: protein and carbs have 4 calories per gram, and fat has 9.
- Your three percentages must add up to 100%.
- If you don't have a calorie target yet, use the TDEE Calculator first, or the Macro Calculator to do everything in one step.
- Percentages are a quick way to plan, but protein is often more reliable when set by body weight.
What Does a Calorie to Macro Calculator Do?
A calorie to macro calculator takes your daily calorie goal and splits it into protein, carbohydrates, and fat, then converts each share into grams. Grams are what you actually see on food labels and in tracking apps, so they're the numbers you can act on.
Think of your calories as a budget and your macros as the categories you spend it on. The calculator takes the total and tells you how many grams each category gets.
This is different from our Macro Calculator , which starts from your body stats and works out your calories first. This tool is for people who already have a calorie number, maybe from a coach, a previous calculation, or a diet plan, and just want the gram breakdown.
The 4-4-9 Rule
The whole conversion rests on how much energy each macro provides per gram.
| Macro | Calories per Gram | Main Role |
|---|---|---|
| Protein | 4 | Builds and repairs muscle, keeps you full |
| Carbohydrates | 4 | Fuels the brain and training, restores glycogen |
| Fat | 9 | Supports hormones and vitamin absorption |
| Alcohol (not a macro) | 7 | Provides energy but no essential nutrients |
Fat has more than double the calories per gram of protein or carbs. That's why a small amount of oil or nut butter adds up quickly, and why a high fat diet needs far fewer grams of food to reach the same calories.
How Does the Calorie to Macro Calculator Work?
Step 1: Enter your daily calories. Use the number from your TDEE, your weight loss plan, or your bulking target.
Step 2: Choose your macro split. Pick a preset (such as balanced, high protein, or lower carb) or enter your own percentages. They must total 100%.
Step 3: Get your gram targets. The calculator applies the 4-4-9 rule and shows how many grams of protein, carbs, and fat to eat each day.
Calorie to Macro Formula
Protein (g) = Calories × Protein % ÷ 4
Carbs (g) = Calories × Carb % ÷ 4
Fat (g) = Calories × Fat % ÷ 9
To go the other way and turn grams back into calories:
Calories = (Protein g × 4) + (Carbs g × 4) + (Fat g × 9)
Example 1: Balanced Split
Your target is 2,200 calories with a 30% protein, 40% carb, 30% fat split.
Protein = 2,200 × 0.30 ÷ 4 = 165 g
Carbs = 2,200 × 0.40 ÷ 4 = 220 g
Fat = 2,200 × 0.30 ÷ 9 = about 73 g
Example 2: Fat Loss
Your target is 1,600 calories with a 35% protein, 35% carb, 30% fat split.
Protein = 1,600 × 0.35 ÷ 4 = 140 g
Carbs = 1,600 × 0.35 ÷ 4 = 140 g
Fat = 1,600 × 0.30 ÷ 9 = about 53 g
Example 3: Protein by Body Weight
Percentages aren't the only way. Say you eat 2,000 calories and weigh 170 lbs. You set protein at 0.8 g per pound and fat at 30% of calories.
Protein = 0.8 × 170 = 136 g (544 calories)
Fat = 2,000 × 0.30 = 600 calories ÷ 9 = about 67 g
Carbs = the remaining calories: 2,000 − 544 − 600 = 856 calories ÷ 4 = about 214 g
This "protein first, fat second, carbs fill the rest" method is popular because it guarantees enough protein no matter how low your calories go.
Example 4: Grams Back to Calories
You ate 150 g of protein, 200 g of carbs, and 65 g of fat.
Calories = (150 × 4) + (200 × 4) + (65 × 9) = 600 + 800 + 585 = 1,985 calories
That works out to roughly 30% protein, 40% carbs, and 30% fat.
Quick Reference: Popular Splits at 2,000 Calories
Here is how the same 2,000 calories looks under different macro styles.
| Style | Split (P / C / F) | Protein | Carbs | Fat |
|---|---|---|---|---|
| Balanced | 25 / 45 / 30 | 125 g | 225 g | 67 g |
| High protein | 35 / 35 / 30 | 175 g | 175 g | 67 g |
| Lower carb | 30 / 25 / 45 | 150 g | 125 g | 100 g |
| Ketogenic | 20 / 5 / 75 | 100 g | 25 g | 167 g |
| High carb | 20 / 60 / 20 | 100 g | 300 g | 44 g |
The calories stay the same in every row. Only the mix changes.
Quick Reference: Common Calorie Levels
These are gram targets for a 30% protein, 40% carb, 30% fat split at different calorie levels.
| Daily Calories | Protein | Carbs | Fat |
|---|---|---|---|
| 1,500 | 113 g | 150 g | 50 g |
| 1,800 | 135 g | 180 g | 60 g |
| 2,000 | 150 g | 200 g | 67 g |
| 2,500 | 188 g | 250 g | 83 g |
| 3,000 | 225 g | 300 g | 100 g |
You can scale any of these. Halving your calories halves your grams, as long as the split stays the same.
How to Choose Your Macro Split
If you're not sure what percentages to enter, start with these ranges based on your goal.
| Goal | Protein | Carbs | Fat |
|---|---|---|---|
| Fat loss | 30-35% | 35-40% | 25-30% |
| Maintenance | 20-30% | 40-50% | 25-30% |
| Muscle gain | 25-30% | 45-55% | 20-30% |
| Body recomposition | 30-35% | 35-45% | 25-30% |
Health guidelines suggest adults get 10-35% of calories from protein, 45-65% from carbohydrates, and 20-35% from fat. Staying near those ranges works well for most people, and your goal decides where in the range you land.
Check That Your Protein Is High Enough
Percentages can hide a problem at low calories. A 30% protein share of 1,400 calories is only 105 grams, which may be too little for a larger or very active person. After you get your result, compare your protein to your body weight.
| Goal | Protein per Pound | Protein per Kilogram |
|---|---|---|
| General health | 0.4-0.6 g | 0.9-1.3 g |
| Fat loss | 0.7-1 g | 1.6-2.2 g |
| Muscle gain | 0.8-1.2 g | 1.8-2.6 g |
| Body recomposition | 1-1.2 g | 2.2-2.6 g |
If your protein grams fall short, raise the protein percentage and lower carbs or fat. For a more personalized protein target, try our Protein Calculator .
Don't Set Fat Too Low
Fat is essential for hormone production and for absorbing vitamins A, D, E, and K. A common floor is around 20% of your calories, or roughly 0.3 to 0.4 grams per pound of body weight, whichever is higher for you. Most people feel best with 25-30% of calories from fat. Our Fat Intake Calculator can help you set a specific target.
Carbs Are the Flexible Macro
After protein and fat are set, carbs fill whatever calories remain. If you train hard, lean toward the higher end to fuel workouts and recovery. If you're mostly sedentary, the lower end often works fine. The Carb Calculator can fine-tune this based on your training.
Why Food Labels Don't Always Add Up
If you multiply the grams on a label by 4, 4, and 9, the total may differ slightly from the printed calories. There are a few reasons.
- Rounding. Labels round grams and calories, so small gaps are normal.
- Fiber. Fiber is part of total carbs, but it provides fewer calories than regular carbs. Some labeling systems account for that.
- Alcohol and sugar alcohols. These carry their own calorie values that don't fit the 4-4-9 pattern.
- Different calculation methods. Some countries and manufacturers use more detailed energy factors instead of the simple 4-4-9 rule.
For everyday tracking, a difference of 20 to 50 calories is nothing to worry about. The 4-4-9 rule is accurate enough to plan and track a diet.
How to Use Your Gram Targets
- Set your calories. Use the TDEE Calculator or Daily Calorie Needs Calculator if you don't have a target yet.
- Enter your split into the calculator and note your grams.
- Track with a food scale and an app. Weighing food is far more accurate than measuring cups or eyeballing.
- Hit protein first. Build each meal around a protein source, then add carbs and fat.
- Aim for close, not perfect. Landing within 5 to 10 grams of each target is good enough.
- Review weekly. Look at your average intake and your weight trend, not a single day.
How to Adjust Your Macros
After two to three weeks, check your progress.
- Weight isn't moving as planned? Change your calories by 100-200 and keep protein the same.
- Low energy in training? Move a little fat into carbs.
- Feeling hungry all the time? Raise protein and fiber.
- Your weight changed by 10-15 lbs? Recalculate your calories, then convert again.
How Accurate Is a Calorie to Macro Calculator?
The math itself is exact. The 4-4-9 conversion gives precise grams for any calories and percentages you enter. The uncertainty comes from the inputs. If your calorie target is off by 10%, which is normal for estimated calorie needs, your macros will be off by the same amount. Food labels and app databases add a bit more error.
That's why tracking your weight and progress matters more than chasing perfect numbers.
Common Mistakes
Percentages that don't total 100%. If they add to 95% or 105%, your grams won't match your calories. Always check that the sum is 100.
Ignoring protein per pound. A percentage of a small calorie budget can leave protein too low.
Using the wrong calorie number. Macros are only as good as the calories behind them. Get that number right first.
Forgetting alcohol. Alcohol has 7 calories per gram and doesn't belong to any macro, so drinks reduce the calories left for your targets.
Weighing cooked vs raw inconsistently. Cooking changes weight, so weigh food the same way the app entry describes it.
Treating it as fixed. Update your macros whenever your calories change.
Who Should Be Careful With This Calculator?
The calculator is designed for healthy adults. If you're pregnant, breastfeeding, under 18, managing a medical condition, or recovering from an eating disorder, speak with a doctor or registered dietitian before setting calorie or macro targets. If tracking food makes you anxious or obsessive, it may not be the right approach for you.