Protein
25% of calories
Set your daily macros for If It Fits Your Macros (IIFYM). Hit your protein, fat, and carb targets regardless of food source, while staying in your calorie range.
25% of calories
45% of calories
30% of calories
How macro distribution changes across different goals at 2,000 kcal.
Summary: Based on 2,000 kcal/day and a maintenance goal, consume 125g protein, 225g carbs, and 67g fat daily.
Macronutrients — protein, carbohydrates, and fat — are the three main nutrient categories your body needs in large quantities to produce energy, build and repair tissues, and maintain normal physiological function. Each macronutrient provides a specific amount of energy per gram: protein and carbohydrates supply 4 kcal/g, while fat supplies 9 kcal/g. Alcohol, while not a macronutrient, provides 7 kcal/g but offers no essential nutrients.
The concept of macronutrient distribution is central to sports nutrition, weight management, and metabolic health. Rather than focusing solely on total calorie intake, a macro-based approach considers the quality and composition of those calories. Different goals — weight loss, muscle gain, maintenance, or athletic performance — call for different proportions of protein, carbohydrates, and fat. This calculator uses your total daily calorie target and your selected goal to derive gram-level macro targets you can use for meal planning.
Each gram of protein or carbohydrate provides 4 kcal, and each gram of fat provides 9 kcal. Given a daily calorie target, the gram target for each macro is calculated as:
Protein & Carbs: 4 kcal/g | Fat: 9 kcal/g
This calculator uses the **Acceptable Macronutrient Distribution Ranges (AMDR)** from the **Institute of Medicine, Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids** published in **2005**.
Last Verified: 2026-07-30
Consider a person with a maintenance goal of 2,000 kcal/day using a 25% protein, 45% carbs, 30% fat split. Protein = 2,000 × 0.25 ÷ 4 = 125 g. Carbs = 2,000 × 0.45 ÷ 4 = 225 g. Fat = 2,000 × 0.30 ÷ 9 = 67 g. If the same person switched to a weight loss goal with a 35% protein, 40% carbs, 25% fat split at 1,700 kcal/day, the targets would be: Protein = 1,700 × 0.35 ÷ 4 = 149 g, Carbs = 1,700 × 0.40 ÷ 4 = 170 g, Fat = 1,700 × 0.25 ÷ 9 = 47 g. These numbers are starting references — individual needs vary based on activity, body composition, and tolerance.
| Goal | Protein | Carbs | Fat |
|---|---|---|---|
| Weight Loss | 30–35% | 35–40% | 25–30% |
| Maintenance | 20–25% | 45–50% | 25–30% |
| Muscle Gain | 30–35% | 40–45% | 20–25% |
| Low Carb / Ketogenic | 25–30% | 5–15% | 60–70% |
While macro targets provide a useful framework for structuring meals, they do not capture food quality. Two people eating identical macro distributions can have vastly different health outcomes if one obtains their macros from whole, minimally processed foods and the other from ultra-processed products. Fiber intake, micronutrient density, fatty acid profile, and meal timing are equally important dimensions that a simple percentage split does not address.
Additionally, individual protein needs scale more meaningfully with lean body mass than with total calorie intake. A person with higher muscle mass may need more protein than the percentage-based calculation suggests, while a very sedentary person may need less. The macro percentages shown here are population-level starting points — personal adjustment based on hunger, energy, performance, and progress is expected and encouraged.
If It Fits Your Macros (IIFYM), also called flexible dieting, is an approach where you track daily totals for protein, carbohydrate, fat, and total calories rather than restricting yourself to a specific set of approved foods. As long as your daily macro targets are met and you remain within your calorie range, food choice is flexible. This means a burger, ice cream, or candy bar can fit into an IIFYM day as long as the macros and total calories are accounted for. The underlying principle is that weight change is primarily driven by total calories, and body composition during a deficit is primarily driven by adequate protein and resistance training — not by whether individual foods come from whole or processed sources. IIFYM is often more sustainable than rigid meal plans because it accommodates social eating, personal preferences, and cultural food traditions.
Setting IIFYM macros follows the same steps as any macro-based plan: first set total calories based on your goal (deficit, maintenance, or surplus), then allocate across the three macronutrients. For fat loss, set total calories 300 to 700 below TDEE, then assign protein at 1.6 to 2.2 g/kg/day, fat at 0.7 to 1.0 g/kg/day, and fill the remaining calories with carbohydrate. For muscle gain, set total calories 250 to 500 above TDEE with a similar protein target and higher carbohydrate. For maintenance, eat at TDEE. The macro targets themselves are not unique to IIFYM — what is unique is the flexibility of food choice once those targets are set. For a 75 kg adult at 2200 kcal for fat loss, this yields roughly 165 g protein (660 kcal), 75 g fat (675 kcal), and 176 g carbohydrate (705 kcal).
The most common criticism of IIFYM is valid: food quality still matters, even if it is secondary to calories and macros. Highly processed foods that meet macro targets often underdeliver on micronutrients, fiber, and satiety. A protein bar with 20 g protein and added sugar hits the protein target but may leave you hungry an hour later; 150 g of grilled chicken with vegetables hits similar protein and keeps you full for hours. A practical rule of thumb is the 80/20 or 90/10 guideline: aim for 80 to 90 percent of your intake from whole, minimally processed foods — vegetables, fruits, whole grains, lean meats, fish, eggs, legumes, nuts, and seeds — and use the remaining 10 to 20 percent for flexible, enjoyable choices. This approach provides the micronutrients, fiber, and satiety that keep IIFYM sustainable long-term.
One of the strengths of IIFYM is that it eliminates the need for separate "cheat meals" — foods are not classified as good or bad, only as fitting or not fitting your daily targets. However, some people find it psychologically helpful to designate a specific meal or day as a structured higher-calorie opportunity. The key distinction from a traditional cheat meal is moderation and tracking: a structured higher-calorie meal that is counted and kept within reasonable bounds is different from an untracked eating episode that can exceed daily targets by thousands of calories. A common pattern is to add 300 to 500 kcal on one designated day per week, with the extra calories coming mostly from the food you most enjoy. If the practice leads to loss of control or binge patterns, return to strict daily tracking without designated higher-calorie days.
Set your daily calorie target — the foundation of IIFYM.
Set your daily protein target to guide muscle preservation.
Estimate calories per meal to stay within your IIFYM budget.
Estimate your Total Daily Energy Expenditure to set your calorie baseline.
Ensure adequate fiber even with flexible food choices.
Calculate your daily carbohydrate target within your IIFYM split.