Macro Calculator

Enter your daily calorie target, choose a split, and press Calculate.

cal
Not sure where to start? If you do not know your calorie target yet, use the TDEE & Calorie Calculator first.
This is outside the range commonly entered here. Double-check your calorie target.

Visual: Your Macro Distribution

Your macro distribution in grams, calories, and percentage of total calories
MacroGramsCaloriesPercent of Calories
This custom percentage falls outside the standard adult AMDR reference range. Individual dietary approaches can differ, so consider your health needs and professional guidance when appropriate.
Need a protein-specific estimate instead? The Protein Calculator gives a more focused range.

How Many Macros Do I Need Per Day?

A macro calculator converts your daily calorie target into grams of carbohydrates, protein, and fat. These three nutrients are called macronutrients because the body needs them in relatively large amounts. Each contributes energy, but they do not all provide the same number of calories per gram. Carbohydrates provide about 4 calories per gram, protein provides about 4 calories per gram, and fat provides about 9 calories per gram.

That is why calculating macros begins with calories. If you already know how many calories you plan to eat each day, the calculator can divide those calories among protein, carbohydrates, and fat and then convert each portion into grams. If you do not know your daily calorie target, use the CalculateThisWay TDEE Calculator first. Your TDEE estimates the energy you use in a day and gives you a better starting point for deciding whether you intend to maintain your weight, eat below maintenance, or eat above maintenance.

People often search for the "best macro split," but there is no single percentage combination that is ideal for every healthy adult. Food preferences, activity, training, medical conditions, total calorie intake, and individual goals all matter. A useful macro calculator should therefore show the math clearly instead of presenting one ratio as a universal rule.

The National Academies' Acceptable Macronutrient Distribution Ranges provide broad adult reference ranges of 45% to 65% of calories from carbohydrates, 10% to 35% from protein, and 20% to 35% from fat. These are ranges, not exact targets. Their width is intentional. A healthy eating pattern can look different from person to person while still providing adequate nutrients.

Visual: Macro Range, Not One Magic Number

These are general adult AMDR reference ranges for dietary planning, not exact targets and not a diagnosis.

Standard adult AMDR reference ranges
MacroReference Range
Carbohydrate45% to 65% of calories
Protein10% to 35% of calories
Fat20% to 35% of calories

The current Dietary Guidelines for Americans also emphasize the quality of the foods supplying those nutrients. A mathematically perfect macro split does not automatically make a diet nutritious. The overall eating pattern still matters.

How to Calculate Macros From Calories

The calculation is easier than it looks.

First multiply your calorie target by the percentage assigned to each macro. Then divide the resulting calories by the calories in one gram of that nutrient.

Carbohydrates: calories from carbs ÷ 4 = grams of carbs
Protein: calories from protein ÷ 4 = grams of protein
Fat: calories from fat ÷ 9 = grams of fat

Suppose you eat 2,000 calories and choose a balanced example split of 50% carbohydrate, 20% protein, and 30% fat.

Carbohydrates receive 1,000 calories. Divide 1,000 by 4 and you get 250 grams.

Protein receives 400 calories. Divide 400 by 4 and you get 100 grams.

Fat receives 600 calories. Divide 600 by 9 and you get about 66.7 grams.

The three calorie amounts add back to the original 2,000-calorie target.

Visual: 2,000-Calorie Macro Example

A balanced 50% carbohydrate, 20% protein, 30% fat split of 2,000 calories, shown in both percentages and grams.

2,000-calorie balanced macro example
MacroPercentCaloriesGrams
Carbohydrate50%1,000250 g
Protein20%400100 g
Fat30%60066.7 g

This is the key idea behind any calories-to-macros calculator. Percentages determine how much of your energy comes from each macro. The calories-per-gram conversion then turns that energy into the gram amounts you can actually use when planning meals.

What Are Carbohydrates, Protein, and Fat?

Carbohydrates are one of the body's major energy sources. Carbohydrate-containing foods include fruits, vegetables, grains, beans, lentils, milk, yogurt, and many other foods. Fiber is also a type of carbohydrate, although it is handled differently by the digestive system than sugars and starches.

Protein supplies amino acids that the body uses in muscle tissue, enzymes, hormones, immune functions, and many other structures and processes. Protein foods can include meat, poultry, seafood, eggs, dairy products, beans, lentils, soy foods, nuts, and seeds.

Fat is energy-dense and provides essential fatty acids. It also helps the body absorb the fat-soluble vitamins A, D, E, and K. Dietary fats include monounsaturated, polyunsaturated, and saturated fats. The type and food source matter, not just the number of grams.

If you want a closer look at just one of these numbers, the CalculateThisWay Carbohydrate Calculator can convert calories into carbohydrate grams or a percentage on its own, and the Fat Intake Calculator can do the same for fat, including an optional saturated-fat heart-health reference. The Macro Calculator here is most useful when you want all three macronutrients calculated together instead of one at a time.

Visual: Where Your Calories Come From

Carbohydrates and protein each provide about 4 calories per gram. Fat provides about 9 calories per gram, more than twice as much.

Calories per gram by macronutrient
MacroCalories Per Gram
Carbohydrate4 calories per gram
Protein4 calories per gram
Fat9 calories per gram

Because fat contains more than twice as many calories per gram as protein or carbohydrate, a small change in fat grams can change total calorie intake more than the same gram change in another macro. This is one reason looking at both grams and percentages is useful.

What Is a Balanced Macro Split?

"Balanced" does not have one official definition. In this calculator, the balanced example uses 50% carbohydrate, 20% protein, and 30% fat. Those percentages sit within the standard adult AMDR ranges and create an easy starting example.

The higher-protein preset uses 45% carbohydrate, 30% protein, and 25% fat. The higher-carbohydrate preset uses 60% carbohydrate, 20% protein, and 20% fat. The higher-fat preset uses 45% carbohydrate, 20% protein, and 35% fat.

These are examples, not prescriptions. Their purpose is to let you see how the same number of daily calories can produce very different gram targets depending on how those calories are distributed.

A custom option is included because some people already have a plan from a registered dietitian, physician, coach, or other qualified professional. If you enter custom percentages, they simply need to total 100%.

Macro Calculator for Weight Loss

People commonly search for a macro calculator for weight loss because they want to know whether changing protein, carbs, or fat causes fat loss.

The most important distinction is between your calorie target and your macro distribution. A macro calculator divides calories. It does not determine by itself whether those calories create an energy deficit.

That is why the CalculateThisWay TDEE Calculator and Macro Calculator perform different jobs. TDEE helps estimate how much energy you use. The Macro Calculator takes the calorie target you choose and converts it into protein, carbohydrate, and fat grams.

Protein can be particularly important during a calorie deficit because adequate protein and resistance training help support lean tissue. However, individual protein needs vary. If that is your main question, use the dedicated CalculateThisWay Protein Calculator rather than assuming that one percentage works for everyone.

Carbohydrates and fats do not need to be viewed as enemies of fat loss. Either can fit into a calorie-controlled eating pattern. The better distribution is usually one that supports your nutrient needs, training, health, food preferences, and ability to follow the plan consistently.

Macro Calculator for Muscle Gain

The phrase "macro calculator for muscle gain" can create the impression that a particular ratio automatically builds muscle. It does not.

Muscle growth depends on resistance training, adequate energy, sufficient protein, recovery, and time. A macro calculator is useful because it helps translate a calorie plan into practical gram targets.

Someone doing frequent endurance or high-volume training may prefer a higher-carbohydrate plan because carbohydrate can help support demanding exercise. Someone who wants more room for protein may choose a higher-protein distribution. Neither choice should be treated as a magic formula.

When protein needs are especially important, calculate them directly using the Protein Calculator and then use the remaining calorie budget to plan carbohydrates and fat. Body composition context from the Body Fat Calculator can also help when thinking about training and recovery goals.

Do Macros Have to Be Exact Every Day?

No. A calculator may produce numbers such as 250 grams of carbohydrate, 100 grams of protein, and 66.7 grams of fat, but real foods and food labels are not perfectly precise.

A practical eating pattern does not require landing on every number to the exact gram every day. The calculated amounts are planning targets. Your overall intake pattern matters more than whether one meal contains a few grams more or less of a nutrient.

Food labels themselves use rounding rules, serving sizes can differ from what you actually eat, restaurant portions vary, and home-cooked meals are estimates unless every ingredient is measured.

Use macro targets as useful structure, not as a reason to treat food like a math test.

Why Food Quality Still Matters

Two diets can have identical macro percentages and still be very different nutritionally.

For example, carbohydrate can come from fruit, vegetables, beans, oats, and whole grains, or it can come largely from refined foods with little fiber. Fat can come from nuts, seeds, fish, olive oil, and avocado, or it can come predominantly from foods high in saturated fat. Protein sources can also differ in vitamins, minerals, fiber, sodium, and saturated fat.

The Dietary Guidelines for Americans, 2025-2030 emphasize whole, nutrient-dense foods and reducing reliance on highly processed foods, refined carbohydrates, and other less nutritious choices.

That means the numbers generated by a macro split calculator are only one layer of nutrition planning.

How to Use Your Macro Results

Start with a realistic daily calorie target. Then choose a macro distribution that fits your preferences and needs. Review the grams the calculator gives you and think about how those amounts can be spread across your normal meals.

You do not need to invent an entirely new diet.

If your target is 120 grams of protein and you normally eat three meals and a snack, you can distribute protein across those eating occasions. Do the same with carbohydrates and fat instead of trying to consume nearly all of one macro at dinner.

Visual: Calories First, Macros Second

Daily calorie target, then macro percentages, then grams, then meals built around those targets.

The order of steps for turning calories into a meal plan
StepDescription
1Daily calorie target
2Choose macro percentages
3Convert calories into grams
4Build meals around the targets

If your goal or health status changes, recalculate. Your macro targets do not have to remain fixed forever.

Macro Percentages vs. Macro Grams

Percentages tell you how the calorie budget is divided. Grams tell you how much food energy that percentage represents.

This distinction becomes obvious when calorie intake changes.

Thirty percent of a 1,600-calorie diet is not the same number of grams as 30% of a 2,500-calorie diet.

That is why copying someone else's macros rarely makes sense. Even if their percentages are appropriate for you, their total calorie target may be completely different.

What If My Custom Macros Fall Outside the Standard Range?

The calculator should still show your result.

The National Academies Acceptable Macronutrient Distribution Ranges are useful population-level dietary planning references. They are not a diagnosis, and they are not designed to replace personalized nutrition advice.

Some therapeutic diets, athletic plans, or medically supervised eating patterns may use distributions outside the standard ranges. If you intentionally follow one of those approaches, discuss it with an appropriate healthcare or nutrition professional when needed, particularly if you have diabetes, kidney disease, digestive disease, are pregnant, are under 18, or have another condition that changes nutritional needs.

The Bottom Line

A macro calculator answers a straightforward question: if you plan to eat a certain number of calories, how many grams of protein, carbohydrates, and fat does a chosen macro split represent?

The best use of that answer is not chasing perfect numbers. It is understanding how your calorie intake is divided and using that information to build an eating pattern that works for your goals and health.

Start with calories. Choose a reasonable distribution. Convert the percentages into grams. Then focus on the quality and consistency of the foods that make up those numbers.

Worked Examples

The examples below use the same calculation engine as the calculator above.

Example 1: Balanced 50/20/30

2,000 calories

Carbohydrate: 2,000 × 0.50 = 1,000 kcal ÷ 4 = 250 g Protein: 2,000 × 0.20 = 400 kcal ÷ 4 = 100 g Fat: 2,000 × 0.30 = 600 kcal ÷ 9 = 66.7 g

250 g carbs, 100 g protein, 66.7 g fat

Example 2: Higher Protein 45/30/25

1,800 calories

Carbs: 810 kcal ÷ 4 = 202.5 g Protein: 540 kcal ÷ 4 = 135 g Fat: 450 kcal ÷ 9 = 50 g

202.5 g carbs, 135 g protein, 50 g fat

Example 3: Higher Carbohydrate 60/20/20

2,400 calories

Carbs: 1,440 kcal ÷ 4 = 360 g Protein: 480 kcal ÷ 4 = 120 g Fat: 480 kcal ÷ 9 = 53.3 g

360 g carbs, 120 g protein, 53.3 g fat

Example 4: Custom 40/30/30

2,000 calories

Carbs: 800 kcal ÷ 4 = 200 g Protein: 600 kcal ÷ 4 = 150 g Fat: 600 kcal ÷ 9 = 66.7 g

200 g carbs, 150 g protein, 66.7 g fat

The 40% carbohydrate figure here sits just below the standard adult AMDR reference range of 45% to 65%. That is simply a reference comparison, not a diagnosis.

Try It Yourself

Suppose you eat 1,600 calories and choose the Higher Protein split (45% carbohydrate, 30% protein, 25% fat).

How many grams of protein would that be?

1,600 × 0.30 = 480 calories. 480 ÷ 4 = 120 grams of protein.

Which Calculator Do I Need?

TDEE & Calorie Calculator

I do not know my daily calorie target yet.

Protein Calculator

I want a more focused estimate of my protein needs specifically.

Carbohydrate Calculator

I want a separate carbohydrate-gram or percentage estimate.

Fat Intake Calculator

I want a separate fat-gram range and an optional saturated-fat reference.

Calories Burned Calculator

I want to estimate calories used during a specific activity.

Body Fat Calculator

I want body-composition context for my goals.

BMI Calculator

I want BMI and healthy-weight context.

Questions People Ask

What is a macro calculator?

A macro calculator converts a daily calorie target into grams of carbohydrates, protein, and fat based on a chosen or custom percentage split.

How many macros do I need per day?

It depends on your calorie target and the percentage split you choose. Enter your daily calories above and select a split to see your grams for carbohydrates, protein, and fat.

How do I calculate macros from calories?

Multiply your calorie target by each macro percentage to get calories per macro, then divide carbohydrate and protein calories by 4 and fat calories by 9 to get grams.

How many calories are in one gram of protein?

Protein provides about 4 calories per gram.

How many calories are in one gram of carbs?

Carbohydrates provide about 4 calories per gram.

How many calories are in one gram of fat?

Fat provides about 9 calories per gram, more than twice as many as carbohydrate or protein.

What is a good macro split?

There is no single split that is best for every healthy adult. This calculator offers balanced, higher-protein, higher-carbohydrate, and higher-fat presets that all sit inside standard adult AMDR ranges, plus a custom option.

What is the best macro split for weight loss?

No single macro split guarantees weight loss. Weight loss depends mainly on your calorie target creating an energy deficit. Macro splits simply distribute those calories.

What is the best macro split for muscle gain?

Muscle growth depends on resistance training, adequate calories, sufficient protein, and recovery. A macro calculator helps translate a calorie plan into gram targets, but no ratio alone builds muscle.

Are macros more important than calories?

No. Your calorie target determines total energy, and macro percentages determine how that energy is distributed. Both matter, but calories come first.

Do I need to count macros to lose weight?

No. Many people lose weight through a calorie deficit without tracking macros precisely. Macro tracking is a tool some people find useful, not a requirement.

Should I eat more protein when losing weight?

Adequate protein combined with resistance training may help support lean tissue during a calorie deficit for many people, though individual needs vary. The Protein Calculator can give a more focused estimate.

What percentage of calories should come from carbohydrates?

The standard adult AMDR reference range for carbohydrate is 45% to 65% of calories, though individual needs can differ.

What percentage should come from protein?

The standard adult AMDR reference range for protein is 10% to 35% of calories.

What percentage should come from fat?

The standard adult AMDR reference range for fat is 20% to 35% of calories.

What are AMDR ranges?

AMDR stands for Acceptable Macronutrient Distribution Range, a set of broad adult reference ranges for carbohydrate, protein, and fat published by the National Academies.

Can I use custom macro percentages?

Yes. Select Custom and enter your own carbohydrate, protein, and fat percentages as long as they total 100%.

Why must macro percentages equal 100%?

Percentages represent how your total calorie target is divided. If they do not total 100%, the math no longer matches your actual calorie target.

Why do fat grams look lower than carb grams?

Fat contains 9 calories per gram compared with 4 for carbohydrate and protein, so the same number of calories produces fewer fat grams.

Do fiber calories count the same as other carbs?

Fiber is a type of carbohydrate, but it is handled differently by the digestive system than sugars and starches, so this calculator's simple 4-calorie-per-gram estimate is a general approximation.

Should I hit my macros exactly every day?

No. Calculated grams are planning targets. Food labels, portion sizes, and home cooking are estimates, so your overall pattern matters more than exact daily precision.

Can athletes use this calculator?

Yes. Athletes can use this calculator for a general starting point, though training volume and individual goals may call for a professional's more tailored guidance.

Can pregnant people use a macro calculator?

This calculator is a general educational tool and is not designed for the specific nutritional needs of pregnancy. Pregnant individuals should speak with a healthcare professional about nutrition.

Should children use adult macro percentages?

No. This calculator uses adult AMDR reference ranges and is not intended for children, whose nutritional needs differ because of growth and development.

What if I have diabetes or kidney disease?

This calculator provides general population-level reference math, not individualized medical nutrition therapy. People with diabetes, kidney disease, or similar conditions should work with a healthcare or nutrition professional.

How often should I recalculate my macros?

There is no fixed rule, but recalculating after a meaningful change in your calorie target, goal, or body weight can help keep your targets reasonably current.

Is a macro calculator the same as a TDEE calculator?

No. A TDEE calculator estimates how many calories you use in a day. A macro calculator takes a calorie target you already have and divides it into protein, carbohydrate, and fat grams.

What is the difference between a calorie calculator and a macro calculator?

A calorie calculator focuses on your total daily energy number. A macro calculator focuses on how that total is distributed across carbohydrate, protein, and fat.

Sources & Further Learning

Methodology & Limitations

This calculator performs general calorie-to-gram math using standard adult AMDR reference ranges for educational comparison. It does not provide individualized medical or nutrition advice and should not be used to diagnose or treat any condition. Individual needs can differ because of health status, pregnancy, age, activity, and other factors. If you have diabetes, kidney disease, digestive disease, are pregnant, are under 18, or have another condition that changes nutritional needs, consult an appropriate healthcare or nutrition professional.