Macro Calculator (Protein, Carbs & Fat)

This free online macro calculator splits your daily calorie target into protein, carbohydrate, and fat grams based on the macro percentages you choose. Protein and carbs are calculated at 4 calories per gram, and fat at 9 calories per gram, so you can plan meals that match your nutrition or fitness goals.


How to Use the Macro Calculator

  1. Enter your "Daily Calorie Target" (for example, from a calorie or BMR calculator).
  2. Set your desired "Protein %", "Carbs %", and "Fat %" split.
  3. Make sure the three percentages add up to 100%.
  4. Click "Calculate Macros" to see the calories and grams for each macronutrient.

How the Macro Calculation Works

Each macronutrient supplies a fixed amount of energy per gram, so turning a calorie target into grams takes two steps.

  • Step 1, calories per macro: Macro calories = Daily calories × Macro % ÷ 100.
  • Step 2, grams per macro: Protein grams = protein calories ÷ 4, carbohydrate grams = carb calories ÷ 4, and fat grams = fat calories ÷ 9.

Because fat carries 9 kcal per gram against 4 for protein and carbs, the same share of calories gives far fewer grams of fat. That is why 30% fat and 30% protein look so different on the plate. Calories are rounded to whole numbers and grams to one decimal place. The three percentages may total anywhere from 99 to 101, so a 33/33/33 split is accepted.

Worked Example

Take a target of 2,000 kcal with the default split of 30% protein, 40% carbs and 30% fat. Protein gets 2,000 × 0.30 = 600 kcal, which is 600 ÷ 4 = 150 g. Carbs get 800 kcal, or 200 g. Fat gets 600 kcal, which is 600 ÷ 9 = 66.7 g.

Now sanity-check the protein figure against body weight. For a 75 kg person, 150 g is 2 g per kg, which suits someone lifting weights regularly. For a 50 kg person on the same plan it is 3 g per kg, more than most people need, so lowering protein to 20 to 25% and moving the difference to carbs would be reasonable.

Common Macro Splits at 2,000 kcal

Split (P / C / F)ProteinCarbsFatOften used for
20 / 55 / 25100 g275 g55.6 gGeneral healthy eating, close to a typical home-cooked Indian diet
30 / 40 / 30150 g200 g66.7 gBalanced fitness plans and gradual fat loss
40 / 30 / 30200 g150 g66.7 gFat loss while strength training, to help preserve muscle
30 / 20 / 50150 g100 g111.1 gLower-carbohydrate eating

For reference, the widely used Acceptable Macronutrient Distribution Ranges for adults are 10 to 35% of calories from protein, 45 to 65% from carbohydrate and 20 to 35% from fat. Splits outside these ranges are not automatically harmful, but they are harder to sustain and are best followed with guidance from a dietitian, especially if you have diabetes or kidney disease.

Applying Your Macros to Indian Meals

Many Indian diets, especially vegetarian ones, get most of their calories from rice, roti and other cereals, with protein often well under 15% of calories. If your target asks for more protein, the simplest fix is to add a protein source to every meal: dal, chana or rajma, curd, paneer, milk, soya chunks, eggs, fish or chicken. ICMR-NIN dietary guidance for Indians likewise encourages more pulses, vegetables, nuts and dairy and less refined cereal and sugar.

Fat targets are easy to overshoot without noticing. Cooking oil and ghee are almost pure fat, and a single tablespoon adds roughly 13 to 14 g. Measuring oil with a spoon for a week or two usually shows where hidden fat is coming from.

Common Mistakes

  • Treating food weight as macro weight. 100 g of paneer is not 100 g of protein; it contains roughly 18 to 20 g. Use nutrition labels or a food database to convert foods into grams of each macro.
  • Starting with a guessed calorie number. The split only distributes the calories you enter, so estimate your daily needs first with a BMR and calorie calculator.
  • Chasing exact numbers every day. Landing within about 10% of each target, averaged over a week, is accurate enough for most goals.

Frequently Asked Questions

It first multiplies your daily calorie target by each macro percentage to get calories per macro, then converts calories to grams using 4 calories per gram for protein and carbs, and 9 calories per gram for fat.

Yes. The calculator checks that your Protein %, Carbs %, and Fat % sum to approximately 100% (within 1%). If they don't, it shows a "Percentages must add up to 100%" message instead of a result.

If you have no specific goal, a split within the standard ranges, such as 20% protein, 55% carbs and 25% fat, works well. For fat loss or muscle gain, many people raise protein to 25 to 35% so they get roughly 1.2 to 2 g per kg of body weight. Choose a split you can follow with the foods you normally eat.

Either works as long as you are consistent and use matching nutrition data. Cooking changes weight a lot: rice and dal absorb water, while meat loses it. Weighing raw is usually more accurate, because raw values do not depend on how much water was added.

Most food labels count fibre within total carbohydrate, so the carb grams here include it even though fibre supplies fewer usable calories. Alcohol is not part of the split but provides about 7 kcal per gram, so drinks use up part of your calorie target without adding protein, carbs or fat.
No ratings yet — be the first!
Rate this calculator:
Was this tool helpful?