Health tool

Macro Calculator

This macro calculator turns your daily calories into grams of protein, carbs, and fat. Enter your calorie target, pick a goal and a split, and you'll see your macros and the calories each one adds. There are presets for balanced, high-protein, low-carb, and keto, plus a custom mode when you'd rather set your own. It's free and runs on any device, you won't need an account, and the numbers update the moment you change anything.

Estimates only, not medical advice. Macros are a planning guide; talk with a doctor or dietitian for advice that fits you.

Last updated July 29, 2026 Protein and carbs 4 cal/g, fat 9 cal/g Written by Muhammad Younus

Daily calorie target
2,000 calories a day
150 g
Protein
600 cal
200 g
Carbs
800 cal
67 g
Fat
600 cal

Macro split

Not sure of your calories? Start with the TDEE calculator or the calorie calculator, then bring the number here.

The basics

How do you calculate macros?

Macros come from splitting your daily calories three ways and converting each slice into grams. First the calculator sets your calorie target, adjusting it for your goal, so a cut trims it and a bulk adds to it. Then it takes each macro's share of those calories and divides by how many calories that macro holds: 4 per gram for protein, 4 for carbs, and 9 for fat. That last difference is why fat grams look small next to carbs even at the same percentage. The three slices always add back to your target, so the plan stays honest, and you'll see every number refresh live as you adjust the split. You don't need to do any of the arithmetic yourself, and there's no rounding surprise, since it's all worked out for you.

grams = (calories × percent) ÷ cal-per-gram
Macros to calories

Calories per gram of each macro

Quick answer: a gram of protein holds 4 calories, a gram of carbohydrate holds 4 calories, and a gram of fat holds 9 calories. Alcohol, though it isn't a planned macro, carries 7 calories a gram. Those energy values are what turn your grams into calories, and back again.

NutrientCalories per gram10 g equals
Protein4 cal40 cal
Carbohydrate4 cal40 cal
Fat9 cal90 cal
Alcohol7 cal70 cal

To convert grams into calories, multiply: 40 grams of carbs is 40 × 4, or 160 calories, and 30 grams of fat is 30 × 9, or 270 calories. To read a full day, take a balanced 2,000-calorie plan at 40% carbs, 30% protein, 30% fat: that's 200 g carbs (800 cal), 150 g protein (600 cal), and about 67 g fat (600 cal), which lands right back on 2,000. Want the calorie number first? The BMR calculator estimates what your body burns at rest, and the TDEE calculator adds your activity on top.

Step by step

Setting your macros, step by step

Here's the quick routine to get a plan you'll actually follow:

  1. 1

    Enter your caloriesPut in your daily target, or grab it from the TDEE tool.

  2. 2

    Pick a goalMaintain, cut, or bulk, and it'll adjust the calories for you.

  3. 3

    Choose a splitTap a preset, or switch to custom if you've got your own.

  4. 4

    Read the gramsYou'll see protein, carbs, and fat, with calories for each.

Quick reference

Common macro splits

These are the presets above, shown as carbs, protein, and fat. Grams use a 2,000-calorie day as an example.

SplitC / P / FGrams at 2,000 cal
Balanced40 / 30 / 30200C / 150P / 67F
High protein40 / 40 / 20200C / 200P / 44F
Low carb25 / 40 / 35125C / 200P / 78F
Keto5 / 30 / 6525C / 150P / 144F
FAQ

Frequently asked questions

You give it your daily calories and pick a goal and a split, and it turns that into grams of protein, carbs, and fat. It uses the standard energy values, 4 calories per gram of protein and carbs and 9 per gram of fat, so the three macros always add back up to your calorie target. Change the goal and it nudges the calories up or down first, then redoes the grams, so what you see is always in step.

Macros, short for macronutrients, are the three things that make up the calories in food: protein, carbohydrates, and fat. Protein builds and repairs muscle, carbs are your main fuel, and fat supports hormones and helps you absorb some vitamins. A macro split is just how you divide your daily calories among the three, and there's no single right answer, since it depends on your goal and how you like to eat.

A balanced 40/30/30 split of carbs, protein, and fat suits most people, and it's a solid starting point. If you're building muscle or losing fat, a higher-protein split helps you hold onto muscle. Low-carb and keto splits shift calories toward fat and are a personal choice. The presets here load each one in a tap, and you can switch to custom to set your own percentages.

A common range is about 0.7 to 1 gram of protein per pound of body weight when you're active or trying to keep muscle while losing fat. This calculator works from your calorie target and split rather than body weight, so if you want to hit a protein number directly, raise the protein percentage until the grams match your goal. The grams update live as you slide the split.

If you don't know your daily calories yet, the TDEE calculator estimates your total daily burn, and the calorie calculator sets a target for losing or gaining. Pop that number in here, choose a goal, and you'll have your macros. The goal selector also adjusts calories for you, so you can start from a maintenance number and let the cut or bulk option do the math.

Yes, it's free, runs on any device, and uses the same energy values nutrition labels use, so the grams are sound for everyday planning. That said, these are estimates, not medical advice, and real needs vary with your body, training, and health. Use the numbers as a starting point, track how you feel and progress, and adjust, or check with a dietitian for tailored guidance.

A gram of protein holds 4 calories, a gram of carbohydrate also holds 4 calories, and a gram of fat holds 9 calories, so fat is the most calorie-dense of the three. Alcohol, though it isn't a macronutrient you'd plan for, carries 7 calories a gram. These are the standard energy values, and they're why a keto plan can look low in grams yet still hit its calorie target: most of those calories come from fat, which packs more than twice the energy per gram.

Multiply the grams by 4 for carbs or protein, and by 9 for fat. So 40 grams of carbs is 40 x 4, or 160 calories, and 30 grams of fat is 30 x 9, or 270 calories. To go the other way, from calories back to grams, divide instead: 600 protein calories divided by 4 gives 150 grams. The calculator does both directions for you and shows the calories beside each macro, so you can check any single number without reaching for a pen.

Keep going

Related tools

More health and fitness tools.

Dialing in your diet?

Set your macros above, or browse all the health tools.

Health