Macronutrient Calculator
Use our macronutrient calculator. Whether you are just starting your health journey or you are a professional athlete, do these simple steps and achieve your major macro targets.
Macro Calculator
Macronutrient Calculator
Get your personalized daily macro targets for any goal.
Your Personalized Results
Your BMR: 0 kcal
Maintenance (TDEE): 0 kcal
Carbohydrates
0g
(0 kcal)
Protein
0g
(0 kcal)
Fat
0g
(0 kcal)
Optional Meal Breakdown
| Meal | Carbs (g) | Protein (g) | Fat (g) |
|---|
Understanding Your Macros
About Protein
Essential for building and repairing tissues like muscle. Active individuals often need 1.6-2.2g per kg of bodyweight. Good sources include chicken, fish, eggs, lentils, and tofu.
About Carbohydrates
Your body’s primary fuel source, especially for your brain and intense exercise. Focus on complex carbs from vegetables, whole grains, and fruits for sustained energy and fiber.
About Fats
Crucial for hormone production and absorbing vitamins. Prioritize unsaturated fats from avocados, nuts, seeds, and olive oil. Limit saturated and trans fats.
This macronutrient calculator turns your daily calorie target into grams of protein, carbohydrates and fat, matched to your goal. It prints a per meal breakdown as well as daily totals, a feature most free tools stop short of.
The guide below explains the one method the calculator follows, shows worked examples at three calorie levels, and gives you the adjustment rules for when progress stalls. No rival systems, no contradictions: one chain from body weight to grams.
Your Macros at a Glance: The Goal Table
Every section of this guide refers back to this table. Find your goal, and the macronutrient calculator sets your protein from body weight first, then splits the remaining calories between fat and carbs.
| Goal | Protein (g per kg body weight) | Carbs (share of calories) | Fat (share of calories) | Calorie adjustment |
|---|---|---|---|---|
| Fat loss | 1.8 to 2.2 | 35 to 45% | 20 to 30% | 300 to 500 kcal below TDEE |
| Muscle gain | 1.6 to 2.2 | 45 to 55% | 20 to 30% | 250 to 500 kcal above TDEE |
| Maintenance | 1.2 to 1.6 | 45 to 55% | 20 to 35% | Match TDEE |
| Endurance | 1.2 to 1.6 | 55 to 65% | 20 to 30% | Match TDEE, more on training days |
| Keto | 1.6 to 2.0 | 5 to 10% (under 50 g) | 65 to 75% | Set by goal |
The carb share is the remainder after protein and fat are set, so it moves as your protein target moves. The goal sections further down explain the reasoning behind each row.
How to Use the Calculator
Using this macronutrient calculator takes four steps.
- Enter your details. Age, sex, weight, height and activity level feed the calorie estimate.
- Pick your goal. Fat loss, muscle gain, maintenance, endurance or keto, matching the goal table above.
- Read your targets. The macronutrient calculator shows daily calories, grams per macro, and the split per meal.
- Hold the targets for 2 to 3 weeks. Judge them by your weekly average weight trend, not by single days, then adjust using the rules in this guide.
What Are Macros?
Macronutrients are the three nutrients you eat in gram quantities: protein, carbohydrates and fat. They supply the energy (calories) your body runs on, at 4 kcal per gram of protein, 4 per gram of carbs and 9 per gram of fat. A macronutrient calculator is, at bottom, a tool for dividing your calories between the three.
Micronutrients are the opposite case: vitamins and minerals needed in far smaller amounts. Most vitamins are measured in milligrams or micrograms per day, against the tens or hundreds of grams of macros. Water is sometimes counted alongside the macros because of the volume you drink daily; minerals are always micronutrients.
Protein
Protein builds and repairs muscle, skin, enzymes and immune tissue, and it is the macro that protects lean mass in a calorie deficit. Main sources: meat, fish, eggs, dairy, soy, legumes and protein rich grains. The evidence range for active adults is 1.6 to 2.2 g per kg of body weight, well above the 0.8 g per kg deficiency floor.
Carbohydrates
Carbohydrates are the main fuel for training and the brain’s preferred energy source. Main sources: grains, fruit, starchy vegetables, legumes and dairy sugars. Carbs take whatever calories remain after protein and fat are set, which is why the goal table treats them as the flexible macro.
Fats
Fats carry fat soluble vitamins, build hormones and cell membranes, and supply the essential fatty acids your body cannot make. Main sources: oils, nuts, seeds, fatty fish and dairy fats. Avocado is the cleanest single example: one fruit delivering fat, fibre and potassium together.
How the Calculator Works: From BMR to Grams
This macronutrient calculator follows one chain with four steps. Each step hands its result to the next, and every later section of this guide refers back to this chain.
Step 1: BMR with Mifflin-St Jeor
Basal metabolic rate is the energy you burn at complete rest. The calculator estimates it with the Mifflin-St Jeor equations, the most reliable predictive formulas for adults:
- Men: BMR = 10 x weight (kg) + 6.25 x height (cm) – 5 x age + 5
- Women: BMR = 10 x weight (kg) + 6.25 x height (cm) – 5 x age – 161
The Academy of Nutrition and Dietetics regards Mifflin-St Jeor as the best available estimate of resting metabolic rate, matching indirect calorimetry within about plus or minus 10 percent for most adults.
Step 2: TDEE and Activity Multipliers
Total daily energy expenditure scales BMR by your activity level:
| Activity level | Multiplier | Typical pattern |
|---|---|---|
| Sedentary | 1.2 | Desk job, little or no exercise |
| Lightly active | 1.375 | Light exercise 1 to 3 days per week |
| Moderately active | 1.55 | Moderate exercise 3 to 5 days per week |
| Very active | 1.725 | Hard exercise 6 to 7 days per week |
| Athlete | 1.9 | Physical job or twice daily training |
For context, the Dietary Guidelines for Americans estimate adult needs at roughly 1,600 to 2,400 kcal per day for women and 2,000 to 3,000 for men. The bottom of each range is the sedentary end and the top is the active end, so never read the top figure as your personal target. The calorie calculator page is the full guide to this step.
Step 3: Goal Adjustment
Fat loss subtracts a deficit, and muscle gain adds a surplus. The deficit bands sit inside the goal table at the top of this page.
The surplus rule matters most, because it is the one people overshoot. Add 250 to 500 kcal per day, about 5 to 15 percent over maintenance, and aim to gain roughly 0.25 to 0.5 percent of body weight per week. A flat 20 percent surplus, still printed on many sites, pushes beginners toward fat gain instead of lean gain.
Step 4: Splitting Calories into Grams
The last step converts calories into grams with the 4/4/9 rule: protein and carbs give 4 kcal per gram, fat gives 9. The macronutrient calculator applies one unified method, in this order:
- Protein first, in grams per kg. Use the goal table range for your goal. This is the step percentage splits get wrong: 20 percent protein at 1,500 kcal is only 75 g, while the same 20 percent at 3,000 kcal is 150 g.
- Fat second, at 20 to 35 percent of calories. Choose inside that band by preference and satiety.
- Carbs take the remainder. Whatever calories are left become your carb grams.
These bands sit inside the Institute of Medicine Acceptable Macronutrient Distribution Ranges: protein 10 to 35 percent, carbohydrate 45 to 65 percent, fat 20 to 35 percent of calories. Circulating presets such as 40/40/20 should be read as athletic presets, not defaults: 40 percent protein sits above the AMDR ceiling and 20 percent fat sits on its floor. If you know your lean mass from a body fat calculator reading, protein can also be cross-checked against lean mass, which is the adjustment advanced users prefer.
Worked Examples at 1,800, 2,200 and 2,600 kcal
Numbers persuade better than rules, so here is the macronutrient calculator method worked end to end for three people. Each example shows the full chain, then the per meal split the tool prints.
Example 1: Fat Loss at 1,800 kcal
Woman, 34, 68 kg, 165 cm, moderately active. BMR is about 1,380 kcal, TDEE about 2,140 kcal, and a deficit of about 340 kcal sets her target at 1,800 kcal.
| Macro | Grams | Calories | Share |
|---|---|---|---|
| Protein (2.0 g per kg) | 136 g | 544 | 30% |
| Carbohydrates | 201 g | 804 | 45% |
| Fat | 50 g | 450 | 25% |
Per meal across three meals: about 45 g protein, 67 g carbs and 17 g fat. Totals land within a few calories of 1,800 because gram targets are rounded.
Example 2: Maintenance at 2,200 kcal
Woman, 28, 65 kg, 170 cm, moderately active. BMR is about 1,412 kcal, TDEE about 2,190 kcal, and her maintenance target rounds to 2,200 kcal.
| Macro | Grams | Calories | Share |
|---|---|---|---|
| Protein (1.6 g per kg) | 104 g | 416 | 19% |
| Carbohydrates | 282 g | 1,127 | 51% |
| Fat | 73 g | 657 | 30% |
Per meal across three meals: about 35 g protein, 94 g carbs and 24 g fat. Maintenance is the goal people rush past, yet it is where the habit is actually built.
Example 3: Muscle Gain at 2,600 kcal
Man, 27, 72 kg, 174 cm, lightly active. BMR is about 1,678 kcal, TDEE about 2,310 kcal, and a surplus of about 290 kcal, inside the 250 to 500 rule, sets his target at 2,600 kcal.
| Macro | Grams | Calories | Share |
|---|---|---|---|
| Protein (1.8 g per kg) | 130 g | 520 | 20% |
| Carbohydrates | 358 g | 1,432 | 55% |
| Fat | 72 g | 648 | 25% |
Per meal across three meals: about 43 g protein, 119 g carbs and 24 g fat. The high carb share is deliberate: training volume is what a surplus is for.
Macros by Goal, in Detail
Fat Loss: Protect Muscle in a Deficit
Protein goes to the top of its range here, 1.8 to 2.2 g per kg, because deficit dieting is when lean mass is lost. Keep the deficit moderate, judge by the weekly trend, and never chase speed by cutting protein.
Muscle Gain: The Lean Surplus
Protein at 1.6 to 2.2 g per kg plus the 250 to 500 kcal surplus is the whole system. Gain faster than about 0.5 percent of body weight per week and the extra is mostly fat, whatever your macros say.
Body Recomposition
Recomposition means eating at maintenance with protein held high, around 2.0 to 2.2 g per kg, while training drives slow change. It suits beginners and returners best, and it demands patience: judge it over 8 to 12 weeks, not 2.
Maintenance
Maintenance protein can sit lower, 1.2 to 1.6 g per kg, with fat anywhere in the 20 to 35 percent band. This is the setting to return to between cuts and gains, and the one your long term health actually runs on.
Endurance Training: Fuelling Long Sessions
Endurance work runs on carbohydrate: 55 to 65 percent of calories, or about 5 to 7 g per kg on training days. Protein sits at 1.2 to 1.6 g per kg, and fat fills the rest. This is the row of the goal table runners and cyclists should use in the macronutrient calculator.
Keto and Low Carb Splits
Keto is a split with a carb ceiling: roughly 5 to 10 percent of calories from carbs, often under 50 g per day, with protein moderate at about 20 to 25 percent and fat making up the rest near 70 percent. Fruit choices narrow sharply at that ceiling, so plan them from the ranking of fruits by net carbs list rather than guessing.
Special Cases
Over 50. Protein needs rise with age because older muscle responds less to each gram, a pattern called anabolic resistance. Active adults over 50 do well around 1.0 to 1.6 g per kg, and holding the upper half of that range protects strength.
Very low calorie targets. A calculator result under about 1,200 kcal for a woman or 1,500 kcal for a man should not be self-prescribed. Targets that low need a clinician or dietitian involved, and the macronutrient calculator is an educational tool, not a substitute for that supervision.
How to Adjust When Progress Stalls
TDEE is an estimate, not a measurement, so stalls are information, not failure. Follow this protocol before changing anything:
- Hold for 2 to 3 weeks. Weigh consistently and judge the weekly average, not single mornings.
- Cut 100 to 200 kcal if the trend is flat. Take it from carbs or fat, and keep protein fixed to protect muscle.
- Recalculate on the triggers. Every 5 to 10 percent of body weight change, every 4 to 8 weeks while actively losing or gaining, or after a 3 week stall.
Rest days do not need a different split for most people. One daily target held consistently beats a complicated rotation; carb cycling is an optional refinement for endurance and physique athletes.
Tracking Without an App: The Hand Portion Method
You can run this whole system without a scale or an app. A palm of protein, a fist of carbs, a thumb of fat and a fist of vegetables per meal approximates most targets closely enough for maintenance level control.
Spend 2 to 4 weeks weighing food first if you can. That short calibration period trains your eye, and the hand method stays honest afterwards.
Common Macro Mistakes
Most disappointing results from a macronutrient calculator trace back to five fixable errors, not to the calculator itself.
- Overestimating activity. Picking “very active” for a desk job with three gym sessions is the single most common error this macronutrient calculator sees in reader questions. When in doubt, choose the lower multiplier and let the trend test correct you.
- Setting protein by percentage. Percentages break at very low and very high calories; grams per kg do not.
- Never recalculating. Targets set at 90 kg are wrong at 80 kg. Use the triggers in the adjustment section.
- Chasing a 20 percent surplus. The lean surplus is 250 to 500 kcal. More food is not more muscle.
- Dropping below the calorie floor. Targets under about 1,200 kcal (women) or 1,500 kcal (men) belong with a professional, not a calculator.
Reference: the Dietary Guidelines for Americans on macronutrient ranges.
Frequently Asked Questions
In a Nutshell
One chain runs this whole page: Mifflin-St Jeor for BMR, an honest activity multiplier for TDEE, a goal adjustment, then protein first, fat second and carbs last. The goal table and the three worked examples show the macronutrient calculator applying that chain at real calorie levels.
Set a target weight with the ideal body weight calculator, then split the calories here. Every tool in the cluster is listed on the health tools and calculators hub.
Author: Sara Ali, nutritionist. This article is general information, not medical advice.





