Macro Calculator

Pick your daily calorie target and diet style; get protein, carbs and fat in grams, calories and percentages.

How it is calculated

Your daily calories are divided between carbohydrate, protein and fat according to the chosen preset, written as carbs_protein_fat percentages that add up to 100. Calories per macro are calories × percent / 100. They are then turned into grams with the energy values 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat: grams = kcal / 4 for carbs and protein, kcal / 9 for fat. Grams and calories are rounded to whole numbers. If no preset is chosen, 40/30/30 is used. The calorie target must be above zero. This is a planning split; it does not decide the right calorie total for you.

Worked example

A 2,000 kcal day on the 40/30/30 preset. Protein is 30% = 600 kcal, giving 600 / 4 = 150 g. Carbohydrate is 40% = 800 kcal, giving 800 / 4 = 200 g. Fat is 30% = 600 kcal, giving 600 / 9 = 66.7, shown as 67 g.

Try this example →

Common mistakes

  • Reading the preset order wrong: the numbers are carbs, protein, fat, so 40/30/30 means 40% carbohydrate.
  • Dividing fat calories by 4 instead of 9, which understates the grams of fat by more than half.
  • Entering the calories burned instead of the intended intake target.
  • Forgetting that alcohol and fibre calories are not part of this split.
  • Taking the rounded gram totals as exact; 150 + 200 + 67 g is not exactly 2,000 kcal.

About this calculator

This tool converts a total daily calorie target into grams of protein, carbohydrates and fat based on the diet style you pick — balanced, high-protein, low-carb, keto and similar splits each assign a different percentage of calories to each macronutrient, and the calculator converts those percentages into grams using 4 calories per gram for protein and carbs and 9 calories per gram for fat.

Macro tracking is the method used by bodybuilders, physique athletes and anyone on a structured nutrition plan who wants more control than simply counting total calories, since two diets with identical calories can have very different effects on muscle gain, fat loss and satiety depending on the protein-carb-fat mix. Dietitians, personal trainers and nutrition tracking apps all build meal plans around hitting daily macro targets rather than just a calorie ceiling.

Anyone starting a cut, a bulk, or a specific diet protocol like keto or low-carb uses this calculator first to know exactly how many grams of each macro to aim for before planning meals.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators