Smekys
Ad Space

Macro Calculator

Free macro calculator: turn your daily calorie target into grams of protein, carbs and fat with the 4/4/9 rule. Set your own percent split.

Enter Values

kcal/day

Your target calories per day — usually your TDEE plus/minus a cut or surplus.

%

Share of calories from protein. Protein provides 4 kcal per gram.

%

Share of calories from carbohydrates. Carbs provide 4 kcal per gram.

%

Share of calories from fat. Fat provides 9 kcal per gram.

Result

Protein per Day
150 g
Carbs per Day
200 g
Fat per Day
66.7 g
Protein Calories
600
Carb Calories
800
Fat Calories
600

Reaching a weight or body-composition goal usually starts with a single number — your daily calorie target. But calories alone do not tell you what to actually eat. Two people can both eat 2,000 kcal a day and look and feel completely different depending on how those calories are split between protein, carbohydrates, and fat. This macro calculator takes your daily calorie target and a target ratio, then converts it into grams of each macronutrient you should aim for every day.

The math uses the Atwater general factors printed on every nutrition label: protein and carbohydrates each supply 4 calories per gram, while fat supplies 9 calories per gram. Because fat is more than twice as energy-dense, a 30% fat plan looks like far fewer grams than a 30% protein plan — and that surprises most people the first time they run the numbers.

How to Use

  1. Enter your Daily Calorie Target. This is the number you already arrived at from your TDEE (maintenance calories) plus or minus a deficit or surplus. If you have not worked that out yet, start from a sensible estimate such as 2,000 kcal for an average adult and fine-tune after a week of tracking.
  2. Set your Protein percentage. A common starting point is 25–35% of calories; active people and those aiming for fat loss often push protein toward 30–40% to protect muscle.
  3. Set your Carbs percentage. Carbs fuel training and are your most flexible lever — raise them on heavy training days and lower them on rest days.
  4. Set your Fat percentage. Adults should not drop fat far below roughly 20% of calories, since fat supports hormones and nutrient absorption; 25–35% is a comfortable range.
  5. Check that the three percentages add up to 100%. The result card then shows your daily gram targets for protein, carbs, and fat, plus how many calories each one contributes.

The result card highlights the three gram targets because those are the numbers you will log in any food-tracking app. Each macro is also shown in calories so you can verify the split totals back to your daily target.

The 4/4/9 Rule

Every food label derives its calorie count from three macronutrient lines, using fixed energy densities:

  • Protein = 4 kcal per gram
  • Carbohydrates = 4 kcal per gram
  • Fat = 9 kcal per gram

To turn a percentage of calories into grams, divide that macro's calories by its energy density:

Protein grams = daily calories × protein% ÷ 100 ÷ 4 Carbs grams = daily calories × carbs% ÷ 100 ÷ 4 Fat grams = daily calories × fat% ÷ 100 ÷ 9

Worked example on a 2,000 kcal day at a balanced 30/40/30 split: protein calories are 2,000 × 0.30 = 600 kcal, or 150 g; carb calories are 2,000 × 0.40 = 800 kcal, or 200 g; fat calories are 2,000 × 0.30 = 600 kcal, or about 66.7 g. Add the calories back up — 600 + 800 + 600 = 2,000 — and the split closes exactly. Notice how 600 kcal of fat is only 66.7 g, while 600 kcal of protein is 150 g: fat is dense, so small amounts of oil, nuts, or butter use up a large slice of your budget.

Popular Macro Splits

There is no single perfect ratio, but a few evidence-informed starting points cover most goals:

  • Balanced (30/40/30) — a flexible all-purpose split that works for maintenance and general health.
  • High-protein fat loss (40/30/30) — higher protein helps preserve muscle while you eat in a deficit.
  • Lower-carb (30/40/30 with a higher fat swap to 25/45/30) — carb reduction is a personal preference, not a requirement for fat loss; what still matters is the overall calorie deficit.
  • Endurance / high training volume — push carbs toward 50–55% to fuel long sessions, keep protein around 20–25%, and let fat fill the remainder.

Pick a split you can actually follow for months rather than the one that looks most impressive on paper. Consistency beats the theoretically ideal ratio.

Examples

Example 1 — A balanced 2,000 kcal day. At 30% protein, 40% carbs, and 30% fat, you target 150 g of protein, 200 g of carbs, and about 66.7 g of fat. A day of eggs, Greek yogurt, rice, chicken, vegetables, and a tablespoon of oil lands right on these numbers.

Example 2 — Cutting at 1,800 kcal, higher protein. Set protein to 40%, carbs to 30%, and fat to 30%. Protein calories are 720 kcal = 180 g, carbs are 540 kcal = 135 g, and fat is 540 kcal = 60 g. The higher protein protects muscle while the calorie deficit drives fat loss.

Example 3 — A large appetite / hard gainer. On a 4,000 kcal surplus at 25% protein, 50% carbs, and 25% fat, protein is 1,000 kcal = 250 g, carbs are 2,000 kcal = 500 g, and fat is 1,000 kcal ≈ 111 g. Eating 500 g of carbs a day is a lot of food — which is why bulking relies on calorie-dense carbs to hit the target.

FAQ

How do I calculate macros from calories?

Multiply your daily calorie target by each macro's percentage to get that macro's calories, then divide by its energy density: protein and carbs by 4, fat by 9. For a 2,000 kcal day at 30/40/30, that gives 150 g protein, 200 g carbs, and about 66.7 g fat.

Why does fat give so few grams for the same calories?

Fat is 9 kcal per gram, more than twice the 4 kcal per gram of protein and carbs. That means 600 kcal of fat is only about 67 g, while 600 kcal of protein is 150 g. This is why oils, nuts, and butter are so easy to overeat — a small weight of food carries a large number of calories.

What should my macro ratio be?

A balanced 30/40/30 split works for most people. If your goal is fat loss and muscle retention, lean protein toward 35–40%. If you do long endurance workouts, raise carbs to 50% or more. Do not let fat fall below roughly 20% of calories long term, since it supports hormones and vitamin absorption.

Do the percentages have to add up to 100?

For a closed, fully accounted split they should. If they do not, the unallocated calories are simply not assigned to any macro, and your gram targets will not sum back to your daily calorie target. Set protein first, keep fat in a healthy range, then let carbs absorb whatever calories remain.

How do I convert grams back into calories?

Multiply grams by the energy density: protein and carbs grams × 4, fat grams × 9. For example, 150 g of protein is 600 kcal, 200 g of carbs is 800 kcal, and 66.7 g of fat is about 600 kcal — totalling your daily target.

Is this macro calculator a medical recommendation?

No. It is a simple conversion tool that splits calories into grams using the standard 4/4/9 Atwater factors. It does not account for medical conditions, allergies, kidney concerns, pregnancy, or individual tolerance. Consult a registered dietitian or your doctor before making major changes to your diet, especially if you have a health condition.

Disclaimer

This macro calculator is provided for informational purposes only and is not medical, dietary, or nutritional advice. The gram targets are estimates derived from the standard Atwater 4/4/9 kcal-per-gram values and the percentages you enter. Individual needs vary with age, activity, health status, and goals. Always work with a qualified healthcare professional or registered dietitian before starting a new eating plan, especially if you are managing a medical condition.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.