Macro Calculator

This macro calculator figures out your daily protein, carbs, and fat targets based on body stats, activity level, and fitness goal.

Macronutrients - protein, carbohydrates, and fat - are the three nutrients your body needs in large amounts. Each provides calories (protein 4 cal/g, carbs 4 cal/g, fat 9 cal/g) but serves different functions. This calculator estimates your TDEE, adjusts for your goal, then splits your calorie target into gram targets for each macro based on your chosen diet profile.

Ad

For informational purposes only. Not a substitute for professional medical advice. Consult a healthcare provider before making changes to your diet or exercise routine.

Ad

About Macro Calculator

How Is the Calculation Done?

The calculator works in three steps:

  1. Calculate TDEE using the Mifflin-St Jeor equation (age, sex, height, weight, activity level)
  2. Adjust for goal: subtract 500 cal for fat loss, add 500 for muscle gain, or keep as-is for maintenance
  3. Split into macros using the selected diet profile's percentage ratios

Worked example: Male, 30, 80 kg, 180 cm, moderately active, fat loss goal, balanced diet

  1. BMR: (10 x 80) + (6.25 x 180) - (5 x 30) + 5 = 1,780 cal
  2. TDEE: 1,780 x 1.55 = 2,759 cal
  3. Fat loss target: 2,759 - 500 = 2,259 cal
  4. Balanced split (30/40/30): Protein 30% = 677 cal = 169g, Carbs 40% = 904 cal = 226g, Fat 30% = 678 cal = 75g

Diet Profile Comparison

ProfileProteinCarbsFatBest For
Balanced30%40%30%General health, sustainable long-term eating
High-Protein40%35%25%Muscle building, preserving muscle during fat loss
Low-Carb40%20%40%Blood sugar management, people who feel better on fewer carbs
Keto30%5%65%Ketogenic diet followers, epilepsy management
CustomYou setYou setYou setAny specific dietary approach

What Each Macronutrient Does

MacroCal/gramPrimary FunctionKey Sources
Protein4Muscle repair, enzyme production, immune functionMeat, fish, eggs, dairy, legumes, tofu
Carbohydrate4Energy (especially for brain and muscles), fibreGrains, fruit, vegetables, rice, potatoes
Fat9Hormone production, vitamin absorption, cell membranesOils, nuts, avocado, butter, fatty fish

No macronutrient is inherently "bad." All three are essential. The ratio matters because it affects how you feel, perform, and progress toward your goals.

How Much Protein Do I Need?

Protein requirements depend on your activity level and goal:

Goal / ActivityGrams per kg of Body WeightGrams per lb of Body Weight
Sedentary adult (general health)0.8 g/kg0.36 g/lb
Recreational exerciser1.0 - 1.2 g/kg0.45 - 0.55 g/lb
Endurance athlete1.2 - 1.4 g/kg0.55 - 0.65 g/lb
Strength training / muscle gain1.6 - 2.2 g/kg0.7 - 1.0 g/lb
Fat loss (preserving muscle)1.8 - 2.4 g/kg0.8 - 1.1 g/lb

The 0.8 g/kg RDA is the minimum to prevent deficiency, not the optimal amount for active people. Research consistently shows that higher protein intake (1.6-2.2 g/kg) supports better muscle retention during fat loss and better muscle growth during training. For a protein-focused calculator, the Protein Calculator provides more detailed recommendations.

Thermic Effect of Each Macro

Your body uses energy to digest food. The amount varies by macronutrient:

MacroThermic EffectNet Calories per GramPractical Impact
Protein20-30%~2.8 - 3.2100 cal of protein costs 20-30 cal to digest
Carbohydrate5-10%~3.6 - 3.8100 cal of carbs costs 5-10 cal to digest
Fat0-3%~8.7 - 9.0100 cal of fat costs 0-3 cal to digest

This is one reason why high-protein diets have a slight metabolic advantage - you effectively absorb fewer net calories from protein than from the same calorie amount of carbs or fat.

Sample Macro Targets by Body Weight

Body WeightFat Loss (2,000 cal, 40/30/30)Maintenance (2,500 cal, 30/40/30)Muscle Gain (3,000 cal, 30/45/25)
60 kg / 132 lbs200g P, 150g C, 67g F188g P, 250g C, 83g F225g P, 338g C, 83g F
75 kg / 165 lbs200g P, 150g C, 67g F188g P, 250g C, 83g F225g P, 338g C, 83g F
90 kg / 198 lbs200g P, 150g C, 67g F188g P, 250g C, 83g F225g P, 338g C, 83g F

Note that the macro grams are driven by your calorie target and percentage split, not directly by body weight. However, checking that your protein grams per kg of body weight falls in the right range for your goal is a good sanity check.

Tracking Macros in Practice

TipWhy It Helps
Prioritise hitting protein firstProtein is the hardest macro to hit and the most important for body composition
Plan protein with each mealDistributing protein across 3-5 meals supports muscle protein synthesis
Fill remaining calories with carbs and fatOnce protein is set, carb/fat ratio is less critical for most people
Allow +/- 5-10g flexibilityPerfect accuracy is unnecessary and adds stress
Weigh food with a kitchen scalePortion estimation can be off by 20-50%
Reassess every 4-6 weeksAs weight and activity change, macros should change too

Protein Quality: PDCAAS vs DIAAS

Not all protein sources are equal. Two scoring systems are used to rate protein quality based on how well the body can digest and use the amino acids:

PDCAAS (Protein Digestibility-Corrected Amino Acid Score) was adopted by the WHO in 1991. It scores protein from 0 to 1 based on the amino acid profile and digestibility. It has a cap of 1.0, meaning that even if a protein exceeds requirements for every amino acid, it still maxes out at 1.0.

DIAAS (Digestible Indispensable Amino Acid Score) was recommended by the FAO in 2013 as a replacement. It measures digestibility at the end of the small intestine (ileal digestibility) rather than over the whole tract, and it has no cap, so high-quality proteins can score above 100.

Protein SourcePDCAAS ScoreDIAAS ScoreNotes
Whole egg1.00113Excellent amino acid profile and digestibility
Whey protein1.00109Fast-digesting, high leucine
Chicken breast1.00108Complete protein, very lean
Whole milk1.00114Mix of whey and casein
Soy protein isolate1.0090Best plant source, complete amino acid profile
Pea protein0.8982Good plant option, slightly low in methionine
Cooked kidney beans0.6859Incomplete on their own, pair with grains
Wheat gluten0.2540Low in lysine, poor protein source alone

The practical takeaway: if you eat animal protein, quality is rarely a concern. If you eat plant-based, combining different protein sources (grains + legumes, for example) fills in the gaps. The total amount matters more than the score of any single food, as long as you eat varied sources across the day.

Fibre: The Forgotten Macro

Fibre is technically a carbohydrate, but it behaves differently. Most fibre passes through the digestive system undigested, meaning it contributes minimal calories (about 2 cal/g on average, versus 4 for other carbs). But its health effects are significant. The NHS recommends 30g of fibre per day for adults. The American Heart Association suggests 25-30g. Most people in the UK get about 18g per day, and Americans average around 15g.

Fibre matters for macro tracking because it affects satiety (how full you feel), blood sugar response (fibre slows glucose absorption), and gut health (it feeds beneficial bacteria in the colon). High-fibre foods include vegetables, fruit, whole grains, legumes, nuts, and seeds. When planning your carbohydrate macro, prioritising fibre-rich carb sources over refined ones makes a meaningful difference to how satisfied you feel on the same calorie intake.

FoodPortionFibre (g)Notes
Lentils (cooked)1 cup / 200g15.6Also 18g protein - excellent dual-purpose food
Chia seeds2 tablespoons / 28g10.0High in omega-3 as well
Avocado1 medium10.0Mostly soluble fibre
Oats (dry)1/2 cup / 40g4.0Beta-glucan fibre, good for cholesterol
Broccoli (cooked)1 cup / 155g5.1Also high in vitamins C and K
Almonds30g (about 23 nuts)3.5Also 6g protein

Alcohol: The Unofficial 4th Macro

Alcohol provides 7 calories per gram, sitting between carbs (4 cal/g) and fat (9 cal/g). It is sometimes called the fourth macronutrient because it contributes significant calories but is not classified alongside protein, carbs, and fat since it serves no nutritional function.

When you drink alcohol, your body treats it as a priority fuel source. The liver metabolises alcohol first, which means fat burning is essentially paused until the alcohol is cleared. A 2003 study by Siler et al. published in the American Journal of Clinical Nutrition found that whole-body fat oxidation decreased by 73% for several hours after alcohol consumption. This does not mean alcohol itself is stored as fat (very little of it is converted directly), but it delays the burning of everything else you eat alongside it.

For macro tracking purposes, the simplest approach is to count alcohol calories against either your carb or fat budget. A standard drink (a 175ml glass of wine, a pint of beer, or a single measure of spirits) contains roughly 100-180 calories. If you drink regularly, factoring these calories into your daily plan prevents unexplained stalls in progress. The Calorie Calculator can help you see how much room alcohol leaves in your daily budget.

Vegetarian and Vegan Macro Planning

Hitting protein targets on a plant-based diet is entirely possible, but it requires more planning than an omnivorous diet. The main challenge is that most plant proteins are incomplete, meaning they are low in one or more essential amino acids. The solution is combining complementary sources across the day. You do not need to combine them in the same meal (that is an outdated myth), but you do need variety over the course of each day.

CombinationExample MealWhy It Works
Legumes + GrainsRice and beans, lentil daal with naan, hummus with pittaLegumes are low in methionine, grains are low in lysine - together they cover all essential amino acids
Legumes + SeedsChickpea salad with tahini, black bean tacos with pumpkin seedsSeeds provide methionine that legumes lack
Soy (complete on its own)Tofu stir-fry, tempeh sandwich, edamame snack, soy milkSoy is one of the few plant proteins with a complete amino acid profile
Grains + NutsPeanut butter on toast, almond granola with oatsComplementary amino acid profiles

High-protein plant foods include tofu (10g per 100g), tempeh (19g per 100g), lentils (9g per 100g cooked), chickpeas (9g per 100g cooked), black beans (8g per 100g cooked), seitan (25g per 100g), and pea protein powder (around 24g per scoop). For more precise protein targets based on your body weight and training goals, the Protein Calculator provides tailored recommendations.

For understanding your total calorie needs before splitting into macros, the TDEE Calculator gives a detailed breakdown. For estimating body composition, the Body Fat Calculator uses the US Navy method. And if you want to plan a calorie deficit alongside your macro targets, the Calorie Deficit Calculator projects your timeline week by week.

All calculations run entirely in your browser. No personal data is sent to any server.

Sources

Frequently Asked Questions

What are macros and why do they matter?

Macros (macronutrients) are the three main nutrients your body needs in large amounts - protein, carbohydrates, and fat. Each plays a different role. Protein supports muscle repair and growth, carbohydrates provide energy, and fat supports hormone production and nutrient absorption. Tracking macros helps you structure your diet to match your fitness goals.

How does this calculator determine my macros?

First it calculates your Total Daily Energy Expenditure (TDEE) using the Mifflin-St Jeor equation and your activity level. Then it adjusts your calories based on your goal (lose, maintain, or gain weight). Finally, it splits those calories into protein, carbs, and fat grams based on the diet type you select.

Which diet type should I choose?

Balanced works well for most people and provides a moderate split of all three macros. High-protein is good for muscle building or preserving muscle during fat loss. Low-carb reduces carbohydrates for those who prefer higher fat intake. Keto is a very low-carb approach that puts your body in a state of ketosis. You can also set custom ratios if none of the presets fit your needs.

How much protein do I need per day?

Protein needs vary by goal and activity level. A common guideline is 0.7 to 1 gram per pound of body weight for active individuals. If you are trying to lose fat while preserving muscle, aim for the higher end. For general health with moderate activity, 0.5 to 0.7 grams per pound is often sufficient.

Can I adjust the macro ratios manually?

Yes. Select the Custom diet option to set your own protein, carbs, and fat percentages. Make sure the three values add up to 100 percent. The calculator will then show the gram and calorie breakdown for each macro based on your custom split.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/macro-calculator/" title="Macro Calculator - Free Online Tool">Try Macro Calculator on ToolboxKit.io</a>