Skip to main content
SolvriaSolvria

Macro Calculator

Split your daily calories into protein, carb, and fat grams.

Enter your values to calculate your result.

Report an error
The default 30/40/30 split is one common general-purpose starting point, not a personalized nutrition plan — adjust the percentages for your own goals, or consult a registered dietitian.

About this calculator

The Macro Calculator turns a daily calorie figure and a protein-carbohydrate-fat split into grams of each nutrient to eat per day.

Use it to plan meals from a calorie target (see the TDEE Calculator). The default 30/40/30 split is one common starting point, not a personal plan.

What each field means

Daily Calories

The calories you plan to eat per day.

Each macro's grams come from its share of this total.

500 to 10,000 kcal.

Protein

The share of your calories from protein.

Protein provides 4 kcal per gram.

0% to 100%.

Carbohydrates

The share of your calories from carbohydrates.

Carbohydrates provide 4 kcal per gram.

0% to 100%.

Fat

The share of your calories from fat.

Fat provides 9 kcal per gram, so a given share is fewer grams.

0% to 100%. The three shares must add up to 100%.

How it is calculated

  1. Check that the three percentages add up to 100%.
  2. Calories for each macro = daily calories × its percentage.
  3. Grams = those calories ÷ calories per gram (protein 4, carbohydrates 4, fat 9).
  4. Round to whole grams.

Grams = (Daily Calories x Macro %) / Calories per gram (Protein 4, Carbs 4, Fat 9)

Protein and carbohydrates provide about 4 kcal per gram, while fat provides about 9 kcal per gram. Splitting your daily calorie target by percentage and dividing by these values gives target grams per day for each macronutrient.

Symbols used

kcal per gram
4 for protein and carbohydrates, 9 for fat

Assumptions

  • The three shares add up to exactly 100%.
  • Standard energy values per gram are used.
  • Fibre, alcohol and other sources are not modelled separately.

Example

At 2,000 kcal/day with a 30/40/30 protein/carb/fat split: 600 kcal of protein = 150g, 800 kcal of carbs = 200g, 600 kcal of fat = 67g.

Step by step

  1. Inputs: 2,000 kcal; protein 30%, carbohydrates 40%, fat 30%.
  2. Protein: 2,000 × 0.30 = 600 kcal ÷ 4 = 150 g.
  3. Carbohydrates: 2,000 × 0.40 = 800 kcal ÷ 4 = 200 g.
  4. Fat: 2,000 × 0.30 = 600 kcal ÷ 9 ≈ 67 g.

Reading your result

Protein
Grams of protein per day for your split.
Carbohydrates
Grams of carbohydrates per day.
Fat
Grams of fat per day.
Protein Share of Grams
Protein as a share of the total grams eaten.
Carbohydrate Share of Grams
Carbohydrates as a share of the total grams eaten.
Fat Share of Grams
Fat as a share of the total grams eaten.

What you can conclude

  • How many grams of each macro a calorie split corresponds to.
  • Why calorie shares and gram shares differ (see the note under your result).

What you cannot conclude

  • The right split for you: it depends on goals, health and preferences.
  • Food quality or micronutrient intake.

Limitations

  • It is a planning arithmetic tool, not a nutrition plan or medical advice.
  • The percentages must total 100% before it will calculate.

Frequently Asked Questions

Where do I get my daily calorie number?

Use the TDEE / Calorie Calculator to estimate your maintenance or goal-adjusted calories first.

Why do the percentages have to add up to 100%?

Each macronutrient's calories are a share of your total daily calories, so the three shares must account for the whole.

Why are grams not the same as percentages?

Percentages are shares of calories; grams depend on how many calories a gram has. Fat has 9 kcal per gram and protein and carbohydrates 4, so the same share of calories is fewer grams of fat.