Calories tell you how much to eat, but macros tell you what to eat. Enter your daily calorie target above, pick a protein, carb and fat split, and the calculator converts the percentages into concrete gram targets you can actually track at every meal. Choose one of the goal presets, or dial in a custom split: the three numbers must add to 100%.
The 4-4-9 rule behind the math
Each macronutrient carries a fixed amount of energy per gram, and that is all the conversion needs:
Carb grams = calories × carb% ÷ 4
Fat grams = calories × fat% ÷ 9
Protein and carbs deliver 4 calories per gram, fat delivers 9. So on a 2,200-calorie day with a 30/40/30 split: protein is 2,200 × 0.30 ÷ 4 = 165 g, carbs are 2,200 × 0.40 ÷ 4 = 220 g, and fat is 2,200 × 0.30 ÷ 9 = 73.3 g. The three calorie shares (660 + 880 + 660) add back to exactly 2,200.
What the goal presets do
| Preset | Split (P/C/F) | Best for |
|---|---|---|
| Balanced | 30 / 40 / 30 | General healthy eating, maintenance |
| High protein | 40 / 30 / 30 | Muscle building, fat loss with strength training |
| Low carb | 35 / 25 / 40 | Cutting carbs without full keto |
| Keto | 5 / 10 / 85 | Ketogenic diets, staying in ketosis |
Presets just fill the three percentage fields: you can tweak them afterward, and the preset label switches to Custom. Any split you invent is fine as long as the total is 100%.
How much protein do you actually need?
The US recommended dietary allowance is 0.8 g per kilogram of body weight per day, but that is a floor to avoid deficiency, not a target for active people. The International Society of Sports Nutrition suggests 1.4 to 2.0 g/kg for people who train regularly. For a 70 kg (154 lb) person, that is roughly 100 to 140 g of protein daily. Translate that into a percentage: at 2,200 calories, 130 g of protein is 520 calories, or about 24% of intake. If you lift weights and want to preserve muscle while losing fat, err toward the high end.
Fat is not the enemy, but it is dense
Because fat packs 9 calories per gram, small amounts swing your total fast: a single tablespoon of olive oil is about 14 g of fat, or 126 calories. Minimums matter more than maximums here: most guidelines suggest at least 20% of calories from fat to support hormones and absorb fat-soluble vitamins (A, D, E, K). The keto preset pushes fat to 85% on purpose, but that is a therapeutic diet choice, not a default.
Carbs: the flexible dial
Carbs are the easiest lever to move. Endurance athletes may thrive on 50% or more; sedentary dieters often feel better near 25 to 30%. Fiber deserves a callout: aim for 14 g of fiber per 1,000 calories, and count fiber-rich carbs (oats, beans, vegetables) as your first carb sources. Sugar and refined flour count toward the same gram total, so the quality of the carbs matters as much as the quantity.
A day of tracking, in practice
Take the 165 g / 220 g / 73 g example and split it across four meals: about 41 g protein, 55 g carbs, 18 g fat per meal. A workable template is a palm-sized protein portion, a fist of carbs, a thumb of fats, plus vegetables freely. Weigh food for a week or two to calibrate your eye, then most people can estimate well enough without a scale. Consistency beats precision: hitting your targets within 10% daily matters far more than nailing them to the gram.
Frequently asked questions
Should macros add up to 100%?
Yes. The three percentages describe how your total calories are divided, so they must sum to exactly 100%. The calculator shows a friendly error if your split totals anything else.
Do I need to hit my fat target exactly?
No. Protein is the one to treat as a minimum target, carbs fuel training, and fat is a lever: hitting at least the minimum (around 20% of calories) is what counts. Many people use fat as the leftover after protein and carbs are set.
How do macros change for weight loss?
Keep protein high (it preserves muscle in a deficit), keep fat at its minimum, and cut carbs first. A common cutting split is 40/30/30 at a calorie target 300 to 500 below maintenance.
What about fiber and sugar?
They are subsets of carbs, not separate macros. Fiber does not digest fully, so some trackers subtract it (“net carbs”). Aim for 14 g of fiber per 1,000 calories regardless of your split.
Is keto safe long term?
Keto can be effective for weight loss and some medical conditions, but it is restrictive and hard to sustain. Discuss long-term keto with a doctor or dietitian, especially if you have kidney, liver, or heart conditions.
Do I need to track forever?
No. Most people track for a few weeks to learn portion sizes, then switch to habit-based eating. Re-run the calculator whenever your weight, activity level, or goal changes.
References
Protein guidance: ISSN position stand on protein and exercise. Nutrition basics: Academy of Nutrition and Dietetics on macronutrients. Background: Macronutrient, Wikipedia.
