Macros Calculator
Free macros calculator: split daily calories into protein, carbs, and fat grams using Atwater 4/4/9 factors. Balanced, keto, or high-protein presets.
Macros Calculator
Background.
This macros calculator converts a daily calorie target into grams of protein, carbohydrate, and fat using the Atwater conversion factors that every nutrition label in the world is built on — 4 kilocalories per gram of protein, 4 kilocalories per gram of carbohydrate, and 9 kilocalories per gram of fat. You enter the calorie number you are aiming for, choose what share of those calories should come from each macronutrient, and the calculator returns the corresponding grams plus a calorie breakdown so you can see exactly how the split lands on a plate. The three percentages must sum to 100; anything else is not a valid macro split and the calculator will tell you so rather than silently rebalance.
The Atwater factors are not arbitrary marketing numbers. Wilbur Olin Atwater, the American agricultural chemist who founded the USDA's nutrition research programme, measured them between roughly 1885 and 1900 by burning food samples in bomb calorimeters, then subtracting the energy lost in faeces and urine when the same foods were fed to human subjects. The resulting net-metabolisable-energy values — 4, 4, and 9 — became the foundation of food-energy labelling in the United States in 1973 and are still used today by the FDA, the European Food Safety Authority, the FAO/WHO joint committee, and every national nutrition guideline derived from them. Modern food labels do use refined per-food factors for some categories (different proteins, for example, have slightly different digestibilities), but for everyday macro planning the round 4/4/9 numbers this calculator uses are the consensus standard.
There is no single 'correct' macro split, and anyone selling you one is selling you a story, not a nutrition science result. The right split depends on your goal, your training, your food preferences, and how your body responds, and within fairly wide bands the total calorie number matters far more than how you slice it. That said, a handful of splits dominate everyday use. A balanced 30/40/30 split — 30% protein, 40% carbs, 30% fat — is the default many dietitians recommend for general health and matches the upper end of the U.S. Institute of Medicine's Acceptable Macronutrient Distribution Ranges (AMDR), which allow 10–35% of calories from protein, 45–65% from carbohydrate, and 20–35% from fat for adults. A high-protein 40/30/30 or even 40/40/20 split is popular for fat-loss phases because protein is the most satiating macro and protects lean mass when calories are reduced. A strict ketogenic split typically runs around 5/25/70 (5% carbs, 25% protein, 70% fat) — the carb floor is deliberately low to keep blood ketones elevated, and protein is moderated to limit gluconeogenesis. A low-carb-but-not-keto split sits around 20/40/40, and endurance athletes training over an hour a day routinely run 20/55/25 or higher carb shares to keep muscle glycogen topped up between sessions. None of these splits are diets in themselves; they are calorie containers that you fill with food.
Protein is where this calculator's numbers carry the most weight, because the protein figure is the one where 'enough' is well defined. The U.S. National Academies' Dietary Reference Intakes set the protein RDA at 0.8 grams per kilogram of body weight per day for healthy sedentary adults — that is a floor designed to prevent deficiency in 97.5% of the population, not an optimum. The peer-reviewed evidence on athletic and physique-driven protein intake, summarised in the joint position stand of the Academy of Nutrition and Dietetics, Dietitians of Canada, and the American College of Sports Medicine (2016) and in Phillips & Van Loon's widely cited 2011 review in the Journal of Sports Sciences, points to 1.2–2.0 g/kg/day for active adults, with 1.6–2.2 g/kg/day producing the largest gains in lean mass when paired with resistance training. Above roughly 2.2 g/kg/day the marginal benefit flattens. If the percentage split you pick on this calculator returns a protein number well below 0.8 g/kg of your body weight, that is a signal to raise the protein share or raise total calories.
Fat and carbohydrate are less prescriptive. The IOM AMDR for fat is 20–35% of calories, with a recommendation that saturated fat stay under 10% and trans fats be avoided entirely; the WHO went further in 2018 and called for the global elimination of industrially produced trans fats from the food supply by 2023, a campaign that has since reached more than 60 countries. Within your fat allowance, the composition matters as much as the total — emphasise unsaturated fats from olive oil, nuts, avocados, and fatty fish, keep saturated fats moderate, and avoid the partially hydrogenated oils that still appear in some baked and fried goods outside regulated markets. Carbohydrate has the widest AMDR (45–65%) and is the macro most often demonised in popular diet writing, usually unfairly. The dietary fibre that the IOM recommends adults get — 25 g/day for women, 38 g/day for men, dropping to 21 g and 30 g respectively after age 50 — is counted as carbohydrate on a food label and contributes to your carb grams here, but it is digested very differently from sugar. A 250-gram carb day built from vegetables, beans, oats, and fruit looks nothing like a 250-gram carb day built from soft drinks and white bread, even though the calculator returns the same gram total.
The calculator below is a planning tool, not a meal plan. Use it to translate a calorie target into a gram target, then build the day from whole foods that hit those numbers in the proportions that work for your training, your schedule, and your appetite.
What is macros calculator?
A macros calculator splits a daily calorie target into grams of the three energy-yielding macronutrients — protein, carbohydrate, and fat — using the Atwater general factors of 4 kcal per gram of protein, 4 kcal per gram of carbohydrate, and 9 kcal per gram of fat. The Atwater factors were derived experimentally by Wilbur Atwater at the USDA between 1885 and 1900 and are the basis on which every nutrition label, food-composition database, and national dietary guideline expresses food energy. The calculator takes three inputs that must sum to 100 — the percentage of calories from each macro — and produces six outputs: the grams of each macro and the calories each one contributes. There is no biologically correct macro split. The U.S. Institute of Medicine's Acceptable Macronutrient Distribution Ranges allow protein from 10–35%, carbohydrate from 45–65%, and fat from 20–35% of calories for healthy adults, and within those ranges the choice of split is driven by goals (fat loss, muscle gain, endurance performance), preferences, and tolerance. Common picks include a balanced 30/40/30, a high-protein 40/30/30 for cutting phases, a strict ketogenic 5/25/70, and an endurance-oriented 20/55/25. The minimum protein floor the RDA recognises is 0.8 g per kilogram of body weight per day; athletes and people training for hypertrophy routinely run 1.6–2.2 g/kg, supported by the joint position stand of the Academy of Nutrition and Dietetics, Dietitians of Canada, and the American College of Sports Medicine (2016) and by peer-reviewed reviews including Phillips & Van Loon (2011). The calculator returns gram targets but does not prescribe food quality — within your carb allowance, fibre, sugar, and starch are not interchangeable; within your fat allowance, unsaturated, saturated, and trans fats carry very different health implications.
How to use this calculator.
- Set your target daily calories. If you do not already know this number, run our TDEE calculator first to estimate maintenance calories, then subtract 300–500 for fat loss or add 250–500 for a lean bulk.
- Enter the protein percentage. For most adults aim for at least enough protein to clear 0.8 g per kilogram of body weight; if you train with weights or are in a fat-loss phase, 1.6–2.2 g/kg is the evidence-based sweet spot, which usually means a protein share of 25–40%.
- Enter the carbohydrate percentage. Endurance athletes and high-volume trainees tend to run 45–65%; balanced eaters typically pick 35–45%; low-carb plans run 10–25%; strict ketogenic plans run roughly 5%.
- Enter the fat percentage. The IOM AMDR is 20–35% for most adults; ketogenic eaters take fat as the bulk of calories (often 65–75%). Whatever you pick, the three percentages must sum to exactly 100 or the calculator will refuse to compute and tell you what the sum currently is.
- Read the gram targets in the results panel. Protein and carb grams use 4 kcal/g; fat grams use 9 kcal/g — that is why a 30% fat slice translates to fewer grams than a 30% carb slice of the same calorie total.
- Use the calorie breakdown to sanity-check the split on a real plate. If 30% protein on a 2,000 kcal day comes out to 150 g, ask whether you actually eat 150 g of protein from food (about 600 g of cooked chicken breast, or six large eggs plus 200 g of Greek yoghurt plus a 150 g chicken thigh) before committing to the plan.
The formula.
The arithmetic is straightforward. For each macro, the calculator first converts the percentage into a fraction (divide by 100), multiplies by your target daily calories to get the calories allocated to that macro, then divides by the macro's caloric density to get grams. Protein and carbohydrate both yield about 4 kcal per gram, so grams = (calories × percent ÷ 100) ÷ 4. Fat yields about 9 kcal per gram, so fat grams = (calories × percent ÷ 100) ÷ 9. These 4/4/9 values are the Atwater general factors, derived by Wilbur Atwater at the USDA from bomb-calorimetry measurements corrected for digestibility and faecal-urinary losses, and they are the values used on every FDA Nutrition Facts label and in the USDA FoodData Central database. The calculator rounds gram outputs to the nearest whole number using standard half-up rounding, which means the three gram totals will not always reconstitute the exact calorie total to the gram — for example a 2,000 kcal day at 30/40/30 yields 150 g protein × 4 = 600 kcal, 200 g carbs × 4 = 800 kcal, 67 g fat × 9 = 603 kcal, summing to 2,003 kcal rather than 2,000. The mismatch is the rounding, not an arithmetic error; the unrounded calorie outputs the calculator also returns add up to the target exactly. The validator enforces two rules before computing anything: every percentage must be 0 or greater (the calculator refuses negative shares), and the three percentages must sum to exactly 100. If the sum is 99 or 101, the calculator does not silently renormalise — it surfaces an error naming the actual sum, because hidden renormalisation hides the user's mistake and changes the split in ways most people do not expect.
A worked example.
Take a 2,000 kcal/day maintenance target with a balanced 30/40/30 split. Protein calories = 2,000 × 0.30 = 600 kcal, divided by 4 kcal/g = 150 g of protein per day. Carb calories = 2,000 × 0.40 = 800 kcal, divided by 4 kcal/g = 200 g of carbs per day. Fat calories = 2,000 × 0.30 = 600 kcal, divided by 9 kcal/g ≈ 66.67 g, which the calculator rounds to 67 g of fat per day. On a real plate, 150 g of protein is roughly 600 g of cooked lean meat, or 200 g of meat plus three eggs plus 300 g of Greek yoghurt plus a scoop of whey. The 200 g of carbs could be 80 g of oats at breakfast, a large sweet potato with lunch, a banana, and a cup of cooked rice with dinner — and still leave room for some vegetables. The 67 g of fat slots in from the cooking oils (a tablespoon of olive oil is about 14 g of fat), the egg yolks, the natural fat in the meat, and a handful of nuts or some avocado. The breakdown is also a useful protein-floor check: for a 75 kg adult, 150 g of protein is 2.0 g/kg, which sits inside the 1.6–2.2 g/kg range that the ACSM/AND/DC 2016 position stand identifies as supportive of muscle protein synthesis for active adults. If the same person weighed 95 kg, 150 g of protein would be only 1.58 g/kg — still above the 0.8 g/kg RDA floor, but at the bottom of the athletic range — and they might want to raise the protein share to 35% (175 g, or 1.84 g/kg) and trim carbs or fat accordingly.
Frequently asked questions.
What macro split is best for weight loss?
How much protein do I actually need per day?
What are the Atwater factors and why are they 4, 4, and 9?
Should I follow keto, low-carb, or balanced macros?
Is fibre counted as carbs in this calculator?
What are healthy fats versus trans fats?
Why do my macro grams not exactly match my calorie target?
Do percentages have to sum to exactly 100?
How does this calculator compare to setting macros by grams per kilogram?
What macro split do endurance athletes use?
References& sources.
- [1]Atwater WO & Bryant AP — The Availability and Fuel Value of Food Materials. 12th Annual Report of the Storrs Agricultural Experiment Station, pages 73–110 (1900). The foundational bomb-calorimetry and digestibility experiments behind the 4-4-9 kcal/g general factors.
- [2]Institute of Medicine — Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids (Macronutrients). National Academies Press, 2005. Establishes the Acceptable Macronutrient Distribution Ranges (protein 10–35%, carbohydrate 45–65%, fat 20–35%) and the 0.8 g/kg/day adult protein RDA used in this calculator's content.
- [3]Thomas DT, Erdman KA, Burke LM — American College of Sports Medicine, Academy of Nutrition and Dietetics, Dietitians of Canada Joint Position Stand: Nutrition and Athletic Performance. Medicine & Science in Sports & Exercise 48(3):543–568 (2016). The current consensus document on protein (1.2–2.0 g/kg/day) and carbohydrate (5–12 g/kg/day) targets for athletes.
- [4]Phillips SM & Van Loon LJC — Dietary protein for athletes: from requirements to optimum adaptation. Journal of Sports Sciences 29(sup1):S29–S38 (2011). Peer-reviewed review establishing the 1.6–2.2 g/kg/day protein band for athletes maximising training adaptation.
- [5]USDA FoodData Central — Conversion factors and the modified Atwater system used in U.S. food composition tables and FDA Nutrition Facts labels.
- [6]World Health Organization — REPLACE: An action package to eliminate industrial trans fats from the global food supply by 2023. WHO, 2018. The basis for treating industrial trans fats as a category to be eliminated rather than minimised within a fat macro target.
- [7]FDA — Final Determination Regarding Partially Hydrogenated Oils (Removing Trans Fat). U.S. Food and Drug Administration, 2018. Documents the removal of industrial trans fats from the GRAS list in the U.S. food supply.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled