Free tool · runs in your browser
Macro Calculator
Macros are the three nutrients that supply calories: protein and carbohydrate at 4 kcal per gram and fat at 9 kcal per gram. To find grams, multiply your calorie target by each nutrient's percentage and divide by its calories per gram. US Dietary Reference Intakes allow 10–35% protein, 45–65% carbs and 20–35% fat.
Your daily macros at 2,000 kcal
100 g
Protein · 20% · 400 kcal
250 g
Carbs · 50% · 1,000 kcal
67 g
Fat · 30% · 600 kcal
How are macros calculated?
Grams of protein = calories × protein % ÷ 4.
Grams of carbs = calories × carb % ÷ 4.
Grams of fat = calories × fat % ÷ 9.
The three presets used above:
| Preset | Protein | Carbs | Fat |
|---|---|---|---|
| Balanced | 20% | 50% | 30% |
| High-protein | 30% | 40% | 30% |
| Lower-carb | 30% | 30% | 40% |
Macro calculator worked example
At 2,000 kcal a day on the balanced split, protein is 2,000 × 0.20 ÷ 4 = 100 g, carbs are 2,000 × 0.50 ÷ 4 = 250 g, and fat is 2,000 × 0.30 ÷ 9 = 67 g. Check: 100 × 4 + 250 × 4 + 67 × 9 = 2,003 kcal, which matches the target within rounding.
Choosing a split
Higher protein suits people who lift weights or want to feel fuller on fewer calories. Lower-carb shifts calories toward fat and is a personal preference, not a requirement. All three presets fall within the acceptable ranges set by the Dietary Reference Intakes. For a protein target tied to body weight, use the protein calculator. Not sure of your calories? Start with the calorie calculator, or see your BMR and BMI.
Macro calculator FAQ
What are macros?
Macros, short for macronutrients, are protein, carbohydrate and fat, the three nutrients that supply calories. Protein and carbohydrate provide about 4 kcal per gram and fat provides about 9 kcal per gram. Alcohol supplies another 7 kcal per gram but is not counted as a macro here.
What is a good macro split?
The US Dietary Reference Intakes give acceptable ranges of 10 to 35 percent of calories from protein, 45 to 65 percent from carbohydrate and 20 to 35 percent from fat. A balanced 20/50/30 split sits inside all three ranges. The best split is the one you can follow consistently.
How do I calculate macros from calories?
Multiply your calories by each macro's percentage, then divide by its calories per gram. At 2,000 kcal on a 20/50/30 split: protein is 2,000 × 0.20 ÷ 4 = 100 g, carbs are 2,000 × 0.50 ÷ 4 = 250 g, and fat is 2,000 × 0.30 ÷ 9 = about 67 g.
How many calories should I eat?
It depends on your size, age, sex and activity. Use the calorie calculator to estimate maintenance calories and goal targets first, then enter that number here to split it into grams.
Why must custom percentages add up to 100?
Every calorie has to come from protein, carbohydrate or fat, so the three shares must total 100 percent. If they do not, the grams would not match your calorie target, and this calculator will tell you the total instead of showing misleading numbers.
Does Recivy track macros?
No. Recivy is a recipe saver, meal planner and grocery list app and does not count calories or macros. This free calculator gives you gram targets; Recivy helps you save the recipes you want to cook and plan the week.
Sources
- National Academies (2005): Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids
- Dietary Guidelines for Americans (USDA and HHS)
- Jäger R et al. (2017), ISSN position stand: protein and exercise
- FAO (2003): Food energy, methods of analysis and conversion factors
This calculator is for general information only. It is not medical advice. People with diabetes, kidney disease, a history of disordered eating, or who are pregnant should get advice from a doctor or registered dietitian. Last reviewed November 2026.
More free calculators and kitchen tools
- BMI Calculator — Body mass index with WHO categories
- BMR Calculator — Calories your body burns at rest
- Calorie Calculator (TDEE) — Maintenance calories and goal targets
- Protein Calculator — Daily protein by body weight and activity
- Recipe Scaler — Resize any recipe's servings
- Measurement Converter — Cups, ml, oz and grams
Turn your macro targets into a week of meals
Save recipes that suit your plan, schedule them in the weekly planner and get one grocery list in Recivy. It does not track macros; it makes the cooking part easy.
Free on Android. iOS coming soon.