What the Macro Calculator Does
This Macro Calculator estimates your daily targets for calories, protein, carbohydrates and fat based on your personal details and weight goal. It uses metric units (kilograms and centimetres) and the widely-trusted Mifflin-St Jeor equation to find your energy needs, then splits those calories into the three macronutrients. It's a planning tool to guide your nutrition — not medical advice.
The Inputs You Provide
- Age – in years, used in the BMR formula.
- Gender – Male or Female; this changes the final constant in the equation.
- Height (cm) – your height in centimetres.
- Weight (kg) – your body weight in kilograms.
- Activity level – a multiplier reflecting how active you are.
- Goal – Maintain, Lose, or Gain Weight.
The Formula Explained
First, Basal Metabolic Rate (BMR) is calculated:
- Male: \((10 \times \text{weight}) + (6.25 \times \text{height}) - (5 \times \text{age}) + 5\)
- Female: \((10 \times \text{weight}) + (6.25 \times \text{height}) - (5 \times \text{age}) - 161\)
Your TDEE (Total Daily Energy Expenditure) is \(\text{BMR} \times \text{activity level}\). Calories are then adjusted by your goal: maintain keeps TDEE as-is, lose subtracts 500, gain adds 500. Macros are derived as: protein = \(\text{weight} \times 1.6\,\text{g}\) (1.6 g per kilogram of body weight), fat = 25% of calories ÷ 9, and carbs = remaining calories ÷ 4.
$$\text{Calories} = \text{BMR} \times \text{Activity}$$$$\text{where}\quad \left\{ \begin{aligned} \text{BMR} &= 10\,\text{Wt} + 6.25\,\text{Ht} - 5\,\text{Age} + 5 \\ \text{Protein} &= 1.6 \times \text{Wt} \\ \text{Fat} &= \dfrac{0.25 \times \text{Calories}}{9} \\ \text{Carbs} &= \dfrac{\text{Calories} - 4\,\text{Protein} - 9\,\text{Fat}}{4} \end{aligned} \right.$$
Worked Example
A 30-year-old male, 80 kg, 180 cm, activity 1.55 (moderately active), wanting to lose weight:
- \(\text{BMR} = (10 \times 80) + (6.25 \times 180) - (5 \times 30) + 5 = 1780\)
- \(\text{TDEE} = 1780 \times 1.55 = 2759\)
- \(\text{Lose-weight calories} = 2759 - 500 \approx 2259\)
- \(\text{Protein} = 80 \times 1.6 = 128\,\text{g}\)
- \(\text{Fat} = (2259 \times 0.25) \div 9 \approx 63\,\text{g}\)
- \(\text{Carbs} = (2259 - 512 - 565) \div 4 \approx 296\,\text{g}\)
The lose-weight target never goes below 1,500 kcal/day for men or 1,200 kcal/day for women. If protein and fat already use up all the calories, no macro split is shown. The calculator is for adults aged 18 and over, and it does not give a weight-loss plan when your BMI is under 18.5.
FAQ
Why does protein use 1.6 grams per kilogram? 1.6 g/kg sits inside the 1.4–2.0 g/kg range that the International Society of Sports Nutrition position stand (2017) recommends for exercising adults, and at the top of the 1.2–1.6 g/kg target in the Dietary Guidelines for Americans 2025–2030. That is enough to help active people and those losing fat preserve muscle.
What activity multiplier should I use? Typical values are 1.2 (sedentary), 1.375 (light), 1.55 (moderate), 1.725 (very active) and 1.9 (extremely active).
Why is the calorie change exactly 500? A 500-calorie daily deficit or surplus corresponds to roughly 0.45 kg (1 lb) of weight change per week, a sustainable rate.