Macro Calculator
Find your ideal daily protein, carb, and fat split in grams, matched to your calories, activity level, and goal — with keto, low-carb, high-protein, and fully custom modes.
An even, sustainable everyday split of protein, carbs, and fat.
4 meals a day — macros will be split evenly.
Try an example
Your calorie target for maintain weight, split into macros below.
Protein
30%
Carbs
40%
Fat
30%
Macro Breakdown & Comparisons
See your split visually, compare it against other diet styles at the same calories, and view your per-meal targets.
Your Balanced split for 2,649 kcal/day. Protein and carbs supply 4 kcal per gram, fat supplies 9 kcal per gram.
Fiber target: 37 g/day
Added sugar limit: under 66 g/day
Water guideline: ~2.5 L/day
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
Given: Male, 28 yrs, 75 kg, 175 cm, Moderately active (3–5 days/week), goal: Maintain Weight
Step 1: Convert your measurements to metric
Weight = 75 kg = 75 kg Height = 175 cm = 175 cmStep 2: Calculate BMR using the Mifflin-St Jeor equation
For men, add 5 to the base calculation.
BMR = 10 × 75 + 6.25 × 175 − 5 × 28 + 5 = 1,709 kcal/dayStep 3: Multiply by your activity multiplier to find TDEE
Activity level: Moderately active (3–5 days/week). This is your maintenance calorie intake.
TDEE = 1,709 kcal/day × activity factor = 2,649 kcal/dayStep 4: Adjust TDEE for your goal (Maintain Weight, Moderate)
Maintenance keeps your target calories equal to your TDEE.
Target calories = 2,649 kcal × goal adjustment = 2,649 kcal/dayStep 5: Apply the Balanced percentage split
Protein and carbs give 4 kcal per gram, fat gives 9 kcal per gram.
Protein = 2,649 × 30% ÷ 4 = 199 g Carbs = 2,649 × 40% ÷ 4 = 265 g Fat = 2,649 × 30% ÷ 9 = 88 gStep 6: Final answer
199g protein · 265g carbs · 88g fat = 2,649 kcal/day
Your daily macro target:
199P / 265C / 88F
Free Macro Calculator - Find Your Protein, Carbs, and Fat In Seconds
Counting calories only tells half the story. Two people can eat the exact same 2000 calories a day and get completely different results, because what those calories are made of matters just as much as how many there are. That is where this macro calculator comes in. It takes your age, gender, weight, height, activity level, and goal, and turns that into a clear daily target for protein, carbs, and fat, measured in grams so you can actually use it while cooking, meal prepping, or logging food in an app.
This is not a generic 40/30/30 split copied from a magazine. You get real diet-style presets (balanced, high protein, low carb, keto, and high carb), a fully custom slider mode if you want total control, and an advanced bodyweight-based protein method used by coaches and bodybuilders. Everything updates instantly as you change your numbers, so you can compare goals and diet styles side by side before locking in a plan.
What Are Macros, Really?
Macros, short for macronutrients, are the three nutrients that supply your body with energy: protein, carbohydrates, and fat. Every single food you eat is built from some combination of these three, plus water, fiber, vitamins, and minerals in smaller amounts. Protein and carbs both provide 4 calories per gram, while fat is more energy-dense at 9 calories per gram, which is exactly why this calculator uses those numbers to convert your gram targets into a matching calorie total.
Tracking macros instead of just calories is often called flexible dieting, sometimes shortened to IIFYM, which stands for 'if it fits your macros.' The idea is simple: as long as you hit your daily protein, carb, and fat numbers, the specific foods you choose to get there are up to you. That flexibility is a big reason macro tracking has become so popular with people trying to lose fat, build muscle, or simply eat in a more structured way without following a rigid meal plan.
How This Macro Calculator Works
The calculation happens in three clear stages. First, it estimates your BMR (Basal Metabolic Rate) using the Mifflin-St Jeor equation, the formula most dietitians and researchers consider the most reliable general-purpose option available today. Your BMR is the number of calories your body burns just staying alive, before any movement or exercise is added.
Second, your BMR is multiplied by an activity multiplier that matches how much you move in an average week, giving your TDEE (Total Daily Energy Expenditure). This is your true maintenance number, the calories you would eat to keep your weight exactly where it is right now.
Third, your TDEE is adjusted up or down based on your goal. Choosing to lose fat subtracts a percentage of calories to create a deficit, choosing to build muscle adds a percentage to create a surplus, and maintaining weight leaves your TDEE untouched. Whatever calorie number comes out of that step becomes your target, and that target is then split into grams of protein, carbs, and fat using either your chosen diet style's percentages or the advanced bodyweight method described below.
Choosing a Diet Style: Which Split Actually Fits You
This calculator gives you five ready-made diet styles instead of a single one-size-fits-all percentage, because the right split really does depend on your goals and preferences.
- Balanced (30% protein, 40% carbs, 30% fat) — a comfortable, everyday split that works well for most people, most of the time.
- High Protein (40% protein, 30% carbs, 30% fat) — extra protein to help preserve muscle during a fat-loss phase and keep hunger under control.
- Low Carb (35% protein, 20% carbs, 45% fat) — fewer carbs and more fat, a popular approach for steady fat loss with fewer blood sugar swings.
- Keto (25% protein, 5% carbs, 70% fat) — a very low-carb, high-fat split built to push the body toward ketosis.
- High Carb (20% protein, 55% carbs, 25% fat) — extra carbohydrate fuel for runners, cyclists, and anyone training for endurance events.
- Custom — drag three sliders to build your own protein, carb, and fat percentages, and the calculator automatically keeps them adding up to 100%.
Advanced Feature: Protein By Bodyweight, Not Just Percentage
Percentage-based macros are simple, but they have a real flaw: a 30% protein target means something completely different for a 50 kg person than it does for a 100 kg person, even though both people might need roughly the same grams of protein per kilogram of bodyweight to build or preserve muscle. This calculator includes an advanced mode that fixes that problem by letting you set protein directly in grams per kilogram of bodyweight instead of as a percentage.
Most research on muscle building and fat loss points to somewhere between 1.6 and 2.2 grams of protein per kilogram of bodyweight for active adults, with people in an aggressive calorie deficit often doing better closer to the higher end of that range to protect muscle mass. If you also enter your body fat percentage, the calculator switches to using your lean body mass instead of total bodyweight for this calculation, which is more accurate for people who are leaner or carrying more body fat than average, since fat tissue itself does not need nearly as much protein support as muscle tissue does.
Once your protein grams are locked in using this method, the remaining calories are automatically split between carbs and fat using the ratio from whichever diet style you have selected, so you still get a complete, usable macro plan rather than just a protein number on its own.
Understanding Your Results
Your target calories sit at the top, the same number that would come out of a calorie calculator, but here it becomes the foundation for everything else. Below that, protein, carbs, and fat are each shown in grams and as a percentage of your total calories, which makes it easy to check your numbers against a food label or a tracking app.
You will also see a fiber target, calculated using the common guideline of about 14 grams of fiber for every 1000 calories eaten, an added sugar ceiling based on keeping added sugar under roughly 10% of total calories, and a rough daily water guideline based on your bodyweight. None of these extra numbers are mandatory to follow strictly, but they round out a genuinely complete daily nutrition target rather than just three isolated macro numbers.
Comparing Diet Styles and Splitting Across Meals
The comparison chart lets you see all five diet styles laid out side by side at your exact same calorie target, so switching from balanced to low carb, for example, instantly shows you how many grams of carbs you would give up and how many grams of fat you would gain, without having to redo any math yourself.
The per-meal tab takes your daily totals and divides them evenly across however many meals you plan to eat, from one big meal a day up to eight smaller ones. This is genuinely useful for meal prepping, since it turns an abstract daily number into a concrete target you can hit at breakfast, lunch, and dinner without needing a calculator open at every meal.
Macros For Weight Loss, Muscle Gain, and Maintenance
For weight loss, a moderate deficit combined with a high protein or balanced split tends to work well for most people, since higher protein helps protect muscle mass while you are eating fewer calories overall. An aggressive deficit can work short term, but it is harder to sustain and increases the risk of losing muscle along with fat, so it is best used carefully and not for months on end.
For muscle gain, a mild to moderate surplus paired with a balanced or high protein split, and roughly 1.6 to 2.2 grams of protein per kilogram of bodyweight, gives your body the raw materials and extra energy it needs to build new muscle tissue without adding excess fat too quickly. For simple maintenance, matching your intake to your TDEE with a balanced split is usually the most sustainable long-term approach, and it is also the easiest starting point if you are completely new to tracking macros and just want to understand your current habits before making any changes.
Common Macro Tracking Mistakes To Avoid
A correct macro target only helps if it is actually followed with reasonable accuracy day to day, and a few habits quietly undo good numbers.
- Not weighing food, which makes portion sizes and gram counts far less accurate than they appear.
- Chasing carb or fat numbers exactly while ignoring protein, when protein is usually the macro that matters most for body composition.
- Picking an extreme diet style like keto without actually preferring low-carb eating, which rarely lasts more than a few weeks.
- Forgetting cooking oil, sauces, and drinks, which quietly add fat and carb grams that never make it into a food log.
- Recalculating too rarely — your TDEE shifts as your weight changes, so revisiting this calculator every few weeks keeps your targets accurate.
Who This Macro Calculator Is Built For
This tool works for total beginners who just want to understand what a healthy protein, carb, and fat split looks like for their body, and equally well for experienced lifters and athletes who want the advanced bodyweight-based protein method and a custom percentage split for carbs and fat. Coaches can use it to generate a quick starting point for a new client, and anyone doing flexible dieting or IIFYM can use it as their core daily target.
This calculator is an estimate built on well-established formulas and general nutrition guidelines, not personalized medical advice. Anyone pregnant or breastfeeding, managing diabetes or another metabolic condition, or under the guidance of a doctor or registered dietitian for any reason should treat these numbers as a general reference point and follow individualized advice instead.
Frequently Asked Questions
What are macros and why do they matter more than just calories?
Macros are protein, carbs, and fat, the three nutrients that supply your calories. Two diets with the same total calories can produce very different results in muscle, energy, and hunger depending on how those calories are split between the three, which is why many people track macros instead of calories alone.
How many macros should I eat a day?
It depends on your calories, goal, and diet style, exactly what this calculator works out for you. As a general starting point, most active adults do well somewhere around 25-40% protein, 25-50% carbs, and 20-40% fat, adjusted based on whether the goal is fat loss, muscle gain, or maintenance.
How much protein do I need per day?
Most research supports roughly 1.6 to 2.2 grams of protein per kilogram of bodyweight for active adults trying to build or preserve muscle, with people in a bigger calorie deficit often doing better near the higher end of that range. The advanced bodyweight mode in this calculator lets you set that number directly instead of relying on a percentage.
What is the best macro split for weight loss?
There is no single best split, but a higher-protein approach (around 35-40% protein) is a strong general choice for weight loss, since it helps protect muscle mass and keeps hunger more manageable while you are in a calorie deficit. Low carb also works well for people who personally feel better eating fewer carbohydrates.
Is IIFYM the same as macro tracking?
Yes, IIFYM stands for 'if it fits your macros,' a flexible dieting approach where you can eat any food you like as long as it fits within your daily protein, carb, and fat targets. It is essentially macro tracking with an emphasis on food freedom rather than following a fixed meal plan.
How accurate is this macro calculator?
It uses the Mifflin-St Jeor equation for BMR, which is generally considered accurate within about 10% for most healthy adults, combined with well-established diet-style ratios and protein guidelines from sports nutrition research. Like any formula, it is an estimate, so check in every few weeks and adjust based on how your actual results track against your goal.
Should I eat the same macros every single day?
It is not required. Many people prefer a flat daily target for simplicity, while others shift carbs higher on training days and lower on rest days, as long as the weekly average stays close to their overall target. Use whichever approach is easier for you to actually stick with.
Can I use this macro calculator for keto?
Yes, select the Keto diet style and the calculator will apply a very low-carb, high-fat split (around 5% carbs, 70% fat, 25% protein) to your personal calorie target, giving you gram targets built for ketosis rather than a generic keto ratio pulled from somewhere else.