What is a macro calculator?
A macro calculator turns a daily calorie target into grams of protein, carbohydrate and fat. It first estimates your maintenance calories with the Mifflin-St Jeor equation, adjusts them for your goal, then splits them using the diet style you choose. Protein and carbs have 4 kcal per gram; fat has 9.
Estimates only. This calculator is for education and planning. It is not financial, medical, tax or religious advice. Check current official figures and speak to a qualified professional before you act. Read the disclaimer.
How to use the Macro Calculator
- 1Enter your body details and activity level.
- 2Pick a goal: lose fat, maintain, or build muscle.
- 3Choose a split. Balanced suits most people; high protein helps keep muscle while dieting.
- 4Use the grams as daily targets and spread protein across your meals.
The formula
The calorie target is TDEE minus 20% for fat loss, or plus 10% for muscle gain. Splits are percentages of calories, not of grams. The result also shows protein per kilogram of body weight, which sports nutrition guidelines put at about 1.2–2.2 g/kg for active people.
Worked example
Calculated from the sample inputs below.
Inputs
- Units
- Metric (cm, kg)
- Sex
- Male
- Age
- 30 years
- Height
- 175 cm
- Weight
- 75 kg
- Activity level
- Moderate (exercise 3–5 days a week)
- Goal
- Maintain weight
- Diet style
- Balanced (30/40/30)
Results
- Daily calories
- 2,633 kcal
- Protein (30%)
- 197 g
- Carbohydrates (40%)
- 263 g
- Fat (30%)
- 88 g
Tips
- Hit your protein target first; carbs and fat can flex day to day.
- Keep fat above about 20% of calories for hormone health.
- On keto, carbs are usually kept under 20–50 g a day.
Frequently asked questions
What are macros?
Macronutrients are the three nutrients that provide calories: protein, carbohydrate and fat. Alcohol also has calories but is not counted as a macro.
How much protein do I need?
The basic adult requirement is about 0.8 g per kg of body weight. People who train or are losing weight often aim for 1.6–2.2 g/kg to protect muscle.
Which macro split is best for weight loss?
Total calories matter most for weight loss. A higher-protein split makes dieting easier because protein is filling and protects muscle.
Do I need to hit my macros exactly?
No. Getting within about 5–10 g of each target on most days is plenty.
Related calculators
Sources & methodology
- International Society of Sports Nutrition, protein position stand
- USDA Dietary Guidelines for Americans
Read how we build and check calculators in our methodology and editorial policy. Last reviewed November 24, 2026.
Was this calculator helpful?