Skip to content

Free Macro Calculator

Turn a daily calorie target into grams of protein, carbohydrates and fat, per day and per meal.

  • 100% free
  • Runs in your browser
  • Instant results
kcal
%
%
%
Quick answer

A macro calculator converts a daily calorie target into grams of protein, carbohydrates and fat. Choose a preset split or enter your own percentages; the tool multiplies your calories by each share and divides by the energy per gram: 4 kcal for protein, 4 for carbs and 9 for fat.

How to use the Macro Calculator

  1. Enter your daily caloriesUse your own target, or work one out first from your body stats and activity.
  2. Choose a splitPick a preset such as balanced or high protein, or choose custom and type three percentages that add up to 100.
  3. Read your gramsSee protein, carbs and fat in grams per day, the calories each provides, and the amount per meal.

How the macro calculator does the maths

Macronutrients are the three nutrients that supply energy. Each gram provides a fixed amount: protein 4 kcal, carbohydrate 4 kcal and fat 9 kcal. The macro calculator applies one formula to each:

grams = daily calories × share ÷ calories per gram

Example with 2,000 kcal on a 30 / 40 / 30 split:

  • Protein: 2,000 × 30% ÷ 4 = 150 g
  • Carbs: 2,000 × 40% ÷ 4 = 200 g
  • Fat: 2,000 × 30% ÷ 9 = about 67 g

Per-meal figures simply divide the daily grams by the number of meals you enter. If you do not know your calorie target yet, the calorie calculator estimates it from your age, size and activity.

Choosing a macro split

There is no single correct ratio. The presets are common starting points, not prescriptions:

  • Balanced (30 / 40 / 30): a middle-of-the-road split that suits general eating.
  • High protein (40 / 30 / 30): popular when dieting or strength training, because protein is filling and helps preserve muscle.
  • Low carb and keto: shift calories from carbohydrate to fat. Keto keeps carbs very low, here 5% of calories.
  • Low fat (25 / 55 / 20): favours carbohydrate, common among endurance athletes.

For reference, the US dietary guidelines give acceptable ranges for adults of 10 to 35% of calories from protein, 45 to 65% from carbohydrate and 20 to 35% from fat. Low carb and keto presets sit outside those ranges by design.

Limits of a percentage-based plan

Percentages do not account for body size. Many sports nutrition guidelines set protein by body weight instead, so check that the grams look sensible for you. Food labels are also rounded, so hitting numbers to the gram is not realistic or necessary.

These results are general estimates and not medical advice. People with kidney disease, diabetes or other conditions should get guidance from a doctor or dietitian before changing their macros.

Frequently asked questions

What are macros?

Macros, short for macronutrients, are protein, carbohydrates and fat: the nutrients that provide calories. Protein and carbs give 4 kcal per gram and fat gives 9 kcal per gram.

How does the macro calculator convert calories to grams?

It multiplies your daily calories by the percentage for each macro, then divides by the calories per gram: 4 for protein, 4 for carbohydrates and 9 for fat.

What is a good macro split for weight loss?

Total calories matter most for weight loss. Within that, a higher protein split such as 40 / 30 / 30 is popular because protein is filling and helps keep muscle while dieting.

Do my percentages have to add up to 100?

Yes. In custom mode the three percentages must total 100, otherwise the grams would not match your calorie target. The tool tells you the current total if it does not.

Does alcohol count as a macro?

Alcohol provides about 7 kcal per gram but is not one of the three macronutrients, so it is not included here. Its calories still count towards your daily total.

Last updated 24 November 2026 by the TheTechFolk team.