How to use the macro calculator
- Enter your sex, age, height, weight and activity level.
- Choose your goal: lose, maintain or gain weight.
- Pick a diet style, or choose Custom and set your own percentages.
- Read your daily grams of protein, carbs and fat, and how much to eat at each meal.
How macros are calculated
Protein (g) = calories × protein % ÷ 4
Carbs (g) = calories × carb % ÷ 4
Fat (g) = calories × fat % ÷ 9
Example: a 30-year-old man, 178 cm and 80 kg, who is moderately active, burns about 2,740 kcal a day. To lose about 1 lb a week he eats 2,240 kcal. With a balanced 30/40/30 split that's 2,240 × 0.30 ÷ 4 = 168 g protein, 2,240 × 0.40 ÷ 4 = 224 g carbs and 2,240 × 0.30 ÷ 9 = 75 g fat: about 56 g, 75 g and 25 g over three meals.
Diet styles compared
| Diet style | Protein | Carbs | Fat | Suits |
|---|---|---|---|---|
| Balanced | 30% | 40% | 30% | Most people; a good default |
| High protein | 40% | 35% | 25% | Fat loss while keeping muscle, strength training |
| Low carb | 40% | 20% | 40% | People who prefer fewer starches and sugars |
| Keto | 25% | 5% | 70% | Ketogenic diets; check with a doctor first |
| US guidelines (AMDR) | 10–35% | 45–65% | 20–35% | General adult recommendation |
Several presets fall outside the US guideline ranges on purpose, because they're popular approaches people ask about. If you're unsure, stay within the guideline ranges.
Tips for hitting your macros
- Start with protein. Build each meal around a protein source, then fill in carbs and fat.
- Weigh food for a week or two. Portion sizes are easy to misjudge; a kitchen scale and a tracking app help you learn.
- Get close, not perfect. Within about 5–10 g of each target is fine. Your weekly average matters more than any single day.
Just want a calorie number? Use the calorie calculator. To compare activity levels and formulas, use the TDEE calculator.
For healthy adults only, and not medical advice. If you're pregnant or breastfeeding, have diabetes, kidney disease or another condition, or are under 18, speak to a doctor or registered dietitian before changing your diet.
Frequently asked questions
Macronutrients, or macros, are the three nutrients that provide calories: protein and carbohydrate (4 kcal per gram each) and fat (9 kcal per gram). Counting macros means aiming for a set number of grams of each, rather than only a calorie total.
The calculator estimates your daily calorie needs from your age, sex, height, weight and activity (Mifflin-St Jeor × activity factor), adjusts them for your goal, and splits the total by the percentages you choose. Protein and carb calories are divided by 4 to get grams, and fat calories by 9.
The calorie deficit matters most for weight loss. Within that, a higher protein intake helps you keep muscle and feel full, which is why many people use a high-protein or balanced split. The best ratio is the one you can stick to. US dietary reference intakes suggest 10–35% of calories from protein, 45–65% from carbs and 20–35% from fat for adults.
The RDA for adults is 0.8 g of protein per kg of body weight a day, which is the minimum to avoid deficiency. Active people and those trying to build muscle or keep it while losing weight often aim for about 1.2–2.0 g per kg. The calculator shows your protein in grams per kg so you can compare.
A ketogenic diet keeps carbs very low, usually under about 50 g a day and often 20–30 g, with most calories from fat. The keto preset uses 5% carbs, 25% protein and 70% fat. Talk to a doctor before starting keto if you have diabetes, kidney disease or take medication.
Yes. Choose Custom and enter your own percentages for protein, carbs and fat. They need to add up to 100%.