What Are Macros?
Macronutrients, or "macros", are the three nutrients your body needs in large amounts for energy and structure: protein (4 kcal per gram), carbohydrates (4 kcal per gram) and fat (9 kcal per gram). Alcohol also provides calories (7 kcal per gram), but it isn't a nutrient. Tracking macros, sometimes called "flexible dieting" or "IIFYM" (if it fits your macros), goes beyond counting calories: it makes sure your calories come from a balance of nutrients that supports your goals, whether that's fat loss, muscle gain, athletic performance or general health.
This macro calculator converts a calorie target and a percentage split into grams per day and per meal, the numbers you can track in any food diary app.
How to Use the Macro Calculator
- Get your calories: enter your details, activity level and goal, or tick the box to enter your own calorie number.
- Choose a macro split, or set custom percentages that add up to 100%.
- Choose how many meals you eat per day.
- Read your daily grams of protein, carbs, fat and fibre, and the amounts per meal.
Popular Macro Splits
| Split | Protein | Carbs | Fat | Good for |
|---|---|---|---|---|
| Balanced | 30% | 40% | 30% | Most people, general health |
| High protein | 40% | 35% | 25% | Fat loss, preserving muscle |
| Low carb | 40% | 20% | 40% | Appetite control, blood sugar management |
| Keto | 25% | 5% | 70% | Ketogenic diet (under ~50 g carbs) |
| Endurance | 20% | 55% | 25% | Runners, cyclists, high training volume |
The official guidelines (Acceptable Macronutrient Distribution Ranges) for adults are 10–35% of calories from protein, 45–65% from carbohydrates and 20–35% from fat. Many athletes and dieters use more protein than the lower end of this range.
Example: 2,000 kcal Balanced
Protein: 30% × 2,000 = 600 kcal ÷ 4 = 150 g. Carbs: 40% = 800 kcal ÷ 4 = 200 g. Fat: 30% = 600 kcal ÷ 9 = 67 g. Spread over 4 meals, that's roughly 38 g protein, 50 g carbs and 17 g fat per meal.
Tips for Hitting Your Macros
- Set protein first (about 1.6–2.2 g/kg for active people), then fill the remaining calories with carbs and fat according to your preference.
- Get fat from quality sources: olive oil, nuts, seeds, avocado and oily fish, and keep saturated fat moderate.
- Choose fibre-rich carbohydrates: vegetables, fruit, oats, wholegrains, beans and lentils.
- Be flexible. Being within about 5–10 g of each target is fine, and weekly consistency matters more than perfection.
- Adjust based on results: if your weight isn't changing as planned after 2–3 weeks, change total calories first.
What Each Macronutrient Does
| Macro | kcal/g | Main roles | Good sources |
|---|---|---|---|
| Protein | 4 | Builds and repairs muscle and tissue, and keeps you full | Poultry, fish, eggs, dairy, legumes, tofu |
| Carbohydrate | 4 | The main fuel for the brain and intense exercise | Oats, rice, potatoes, fruit, wholegrains, beans |
| Fat | 9 | Hormones, cell membranes, and absorbing vitamins A, D, E and K | Olive oil, nuts, seeds, avocado, oily fish |
No macronutrient is "bad". Each has essential roles, and extremely low intakes of fat or carbohydrate aren't necessary for weight loss. The best split is the one that fits your preferences, activity and health, and that you can follow consistently.
Adjusting Macros Over Time
As your weight, training or goals change, recalculate. During fat loss, keep protein high and reduce carbs or fat to lower calories. During muscle gain, increase carbohydrates to fuel training. Endurance athletes preparing for long events often raise carbohydrate intake in the days before a race.
Macros for Different Goals
Fat loss: keep protein at 1.6–2.2 g per kg of body weight to protect muscle, and reduce carbohydrates or fat, whichever you find easier. Muscle gain: use a small calorie surplus, keep protein high, and use carbohydrates to fuel hard training sessions. Endurance sport: carbohydrates matter most, often 5–8 g per kg on heavy training days. General health: a balanced split within the official ranges, with plenty of fibre, vegetables and unsaturated fats, works well for most people. Whatever the goal, recheck your numbers every few weeks and adjust based on your progress, energy and hunger.
Custom Macro Sliders
Drag the protein, carb or fat slider and the other two adjust automatically so your split always adds up to 100%. The grams for each macro update instantly next to the slider, using 4 kcal per gram of protein and carbohydrate and 9 kcal per gram of fat, so you can fine-tune a high-protein, keto or endurance plan to your exact calorie target.
Frequently Asked Questions
What's the best macro ratio for weight loss?
Total calories matter most. A higher-protein split (30–40% protein) helps preserve muscle and control hunger.
How many grams of carbs are in keto?
Usually under 20–50 g a day, about 5–10% of calories.
How do I calculate grams from percentages?
Calories × percentage, then divide by 4 for protein and carbs, or by 9 for fat.
Should I count fibre?
Aim for about 14 g of fibre per 1,000 kcal (25–38 g a day for most adults).
Is my data stored?
Only in your own browser.