Skip to content
Instant results No sign-up Private — stays on your device Free

Macro Calculator

Split your daily calories into protein, carbs and fat.

Protein

Updates as you type.

How the Macro Calculator Works

This macro calculator takes your daily calorie target and divides it into grams of the three macronutrients — protein, carbohydrates, and fat. "Macros" is shorthand for these macronutrients, and tracking them gives you a more detailed picture of your diet than counting calories alone.

The math relies on the energy density of each macronutrient. Protein and carbohydrates each provide about 4 calories per gram, while fat provides about 9 calories per gram. The calculator first multiplies your total daily calories by the percentage you assign to each macro, then divides each result by that macro's calories-per-gram to convert it into grams.

You choose the ratio — the percentage split between protein, carbs, and fat — based on your goals and preferences. A common balanced starting point is 40% carbs, 30% protein, and 30% fat, but the right mix varies from person to person.

A Worked Example

Imagine your daily target is 2,000 calories and you choose a 40/30/30 split (carbs/protein/fat). Here is how the calculator converts that into grams:

  • Carbs (40%): 2,000 × 0.40 = 800 calories. Divide by 4 = 200 g of carbohydrates.
  • Protein (30%): 2,000 × 0.30 = 600 calories. Divide by 4 = 150 g of protein.
  • Fat (30%): 2,000 × 0.30 = 600 calories. Divide by 9 = about 67 g of fat.

Notice that fat yields fewer grams for the same calorie share because it is more energy-dense. Adding the calories back up — 800 + 600 + 600 — returns your original 2,000, confirming the split is consistent.

Choosing a Ratio for Your Goal

Different goals tend to favor different macro splits, though there is wide individual variation. People focused on building or preserving muscle often raise protein, sometimes to 30–40% of calories, to support muscle repair. Those following a low-carbohydrate or ketogenic approach push carbs down and fat up. Endurance athletes frequently lean toward higher carbohydrate intake to fuel training.

There is no single "best" ratio for everyone. The most effective split is one that fits your activity level, food preferences, health conditions, and is sustainable over time. Whatever ratio you pick, the percentages should add up to 100%, and total calories still drive weight change — macros mainly shape how those calories are composed.

Using Your Macros and Knowing the Limits

Once you have your gram targets, you can plan meals using nutrition labels and a food-tracking app to stay near each number. Many people find it easiest to anchor meals around a protein source first, then fill in carbohydrates and fats to reach their totals. Hitting your macros consistently matters more than getting every gram exact on any single day.

This calculator is an educational tool, not personalized medical or dietary advice. It does not account for medical conditions, medications, pregnancy, or specific micronutrient needs. If you have diabetes, kidney disease, an eating disorder history, or any other health condition — or if you are unsure what targets are appropriate for you — consult a registered dietitian or your doctor before making significant changes to your diet.

Frequently Asked Questions

Macros, short for macronutrients, are the three nutrients that supply calories: protein, carbohydrates, and fat. Tracking them shows not just how much you eat but how your calories are distributed across these nutrients.

Each macro's calorie share is divided by its energy density. Protein and carbs provide about 4 calories per gram, and fat about 9 calories per gram. So 600 calories of protein equals 150 grams, while 600 calories of fat equals about 67 grams.

A balanced 40% carbs, 30% protein, and 30% fat split is a common starting point. The best ratio depends on your goals, activity level, and preferences, so adjust from there and make sure your percentages add up to 100%.

Total calories drive weight change, while macros shape how those calories are composed. Adequate protein can help preserve muscle and manage hunger, but you still need an appropriate calorie target for your goal.

Fat is more energy-dense, providing about 9 calories per gram versus 4 for carbs and protein. So the same calorie amount converts into roughly half as many grams of fat as of carbohydrate.

Yes, if you have a health condition such as diabetes or kidney disease, are pregnant, or have a history of disordered eating. A registered dietitian or doctor can tailor targets safely to your individual needs.




Disclaimer : The results provided by these calculators are for informational purposes only and should not be considered as financial, medical, or professional advice. The accuracy of the calculations depends on the information entered, and actual results may vary. We recommend consulting a financial advisor or healthcare professional for personalized guidance.