Wide Tools

Macros Calculator

Calculate your ideal daily macros (protein, carbs, fat) for your goal: lose weight, maintain or gain muscle. Supports standard, low-carb, keto and high-protein protocols. Free.

How to calculate your macros

The calculation starts with your TDEE — total daily energy expenditure. The Mifflin-St Jeor formula estimates your basal metabolic rate (BMR), which is then multiplied by an activity factor to get your TDEE. From there, the calculator applies a calorie adjustment based on your goal.

For weight loss, a deficit of 300–500 kcal/day supports sustainable loss of 0.3–0.5 kg per week. For muscle gain, a surplus of 200–400 kcal/day combined with high protein intake maximizes muscle growth while minimizing fat gain.

Recommended ratios by goal

For muscle gain: 30% protein / 45% carbs / 25% fat. For fat loss: 35% protein / 40% carbs / 25% fat. For maintenance: 25% protein / 50% carbs / 25% fat. The calculator adjusts these ratios automatically based on the selected protocol.

Sources: Mifflin, M. D. et al. (1990). A new predictive equation for resting energy expenditure in healthy individuals. American Journal of Clinical Nutrition, 51(2); Thomas, D. T. et al. (2016). Nutrition and Athletic Performance. Medicine & Science in Sports & Exercise, 48(3).

Frequently asked questions

What are macronutrients?
Macronutrients are the three main nutrient groups that provide energy: protein (4 kcal/g), carbohydrates (4 kcal/g), and fats (9 kcal/g). The ideal ratio varies by goal: weight loss, maintenance, or muscle gain.
How much protein do I need per day?
For muscle gain, 1.6–2.2 g of protein per kg of body weight is recommended. For maintenance, 1.2–1.6 g/kg. The calculator adjusts automatically based on your goal and activity level.
What is the difference between a calorie deficit and surplus?
A calorie deficit (eating less than your TDEE) leads to weight loss. A calorie surplus (eating more) leads to weight gain. The calculator computes your TDEE and suggests the calorie adjustment based on your goal.
What is TDEE?
TDEE (Total Daily Energy Expenditure) is the total calories you burn per day, accounting for your basal metabolism and physical activity level. It is the baseline for building any diet plan.
Can I use the calculator results without a nutritionist?
The values are based on scientific formulas (Mifflin-St Jeor + activity factor) and serve as a solid starting point. For specific health goals or medical conditions, consult a registered dietitian.
Is my data stored?
No. All calculations are performed in your browser. No data is sent to any server.

Was this tool helpful?

Get updates

We'll let you know when we launch new tools. No spam.