Macro Calculator — Your Daily Protein, Carbs & Fat
Macronutrients — protein, carbohydrates, and fat — are the three nutrients that determine not just how many calories you consume, but how your body uses them. Getting the ratio right for your goal is what separates people who lose fat while keeping muscle from those who lose both, and people who build muscle efficiently from those who just add body fat. This calculator uses the Mifflin-St Jeor equation — the most widely validated formula for estimating metabolic rate in clinical nutrition research — combined with your activity level, goal, and preferred diet type to give you personalised daily gram targets for each macro.
What Are Macros and Why Do They Matter?
Macronutrients — protein, carbohydrates, and fat — are the three categories of nutrients the body requires in large quantities for energy and biological function. Each macro provides calories and performs distinct physiological roles that no other macro can fully substitute for. Protein provides 4 calories per gram and is the primary material for building, repairing, and maintaining muscle tissue, as well as producing enzymes, hormones, and immune cells. Carbohydrates also provide 4 calories per gram and are the body’s preferred, fastest-access energy source — particularly for the brain, which uses approximately 120 grams of glucose per day, and for high-intensity exercise where fat oxidation is too slow to meet energy demand. Fat provides 9 calories per gram — more than twice the energy density of the other two — and is essential for fat-soluble vitamin absorption (A, D, E, K), hormone production, and cell membrane integrity. The ratio of these three macros in your daily diet, alongside total calorie intake, determines not just whether you gain or lose weight, but whether that weight change comes from fat, muscle, or a mix of both.
The Mifflin-St Jeor Equation: The Formula Behind This Calculator
This calculator uses the Mifflin-St Jeor equation to calculate your Basal Metabolic Rate (BMR) — the number of calories your body burns at complete rest just to maintain basic biological functions. The formula, published by Mifflin et al. in the Journal of the American Dietetic Association in 1990, is considered the most accurate widely accessible BMR formula for most adults based on independent validation studies. The equations are as follows:
For males: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) + 5. For females: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) − 161. Your BMR is then multiplied by an activity factor — ranging from 1.2 (sedentary) to 1.9 (extremely active) — to produce your Total Daily Energy Expenditure (TDEE), which represents the actual calories you burn on a typical day including all movement. Your calorie target is then adjusted up (for muscle gain) or down (for fat loss) from your TDEE, and this adjusted figure is divided among protein, carbohydrates, and fat according to the ratios of your chosen diet preset.
Protein: How Much Do You Actually Need?
Protein requirements are one of the most actively researched areas of nutrition science, and the consensus has shifted substantially in recent decades away from the old RDA of 0.8g per kg of body weight. The 0.8g/kg figure was set as a minimum to prevent deficiency in sedentary adults — not as a target for health optimisation or body composition. For people who exercise regularly, the International Society of Sports Nutrition (ISSN) position stand (Stokes et al., 2018) recommends 1.4 to 2.0g per kg of body weight per day to support muscle protein synthesis and recovery. For people in a calorie deficit trying to preserve muscle while losing fat, the recommendation is higher still — 1.8 to 2.7g/kg — because protein turnover increases during caloric restriction and more dietary protein is needed to prevent the body from breaking down muscle tissue for fuel. This calculator sets protein at 0.8g/lb (approximately 1.76g/kg) for fat loss, 0.7g/lb for maintenance, and 0.9g/lb for muscle gain as starting targets, with ratios adjusted by diet preset for specialised approaches like keto.
Carbohydrates: How Much and What Kind?
The Acceptable Macronutrient Distribution Range (AMDR) set by the Institute of Medicine recommends 45 to 65% of total calories from carbohydrates for healthy adults. However, optimal carbohydrate intake varies significantly with goal and diet approach. High carbohydrate intakes (50 to 65% of calories) are appropriate for endurance athletes who need maximum glycogen availability, while moderate intakes (30 to 45%) are more appropriate for general health and most recreational exercisers. Low-carbohydrate approaches (below 26%) are effective for weight loss and blood sugar management in multiple RCTs, and the ketogenic approach (below 10%, or typically 20 to 50 grams per day regardless of calorie intake) induces nutritional ketosis where fat becomes the primary fuel source. Within any carbohydrate intake level, the quality of carbohydrates matters significantly for health outcomes — the same number of grams from vegetables, legumes, and whole grains produces better metabolic outcomes than the same grams from refined grains, sugar, and ultra-processed foods due to fibre content, glycaemic response, and micronutrient density.
Dietary Fat: Why You Cannot and Should Not Eliminate It
Dietary fat is the most calorie-dense macronutrient and the one most commonly restricted in dieting — but fat is essential for biological function in ways that cannot be substituted. Fat-soluble vitamins A, D, E, and K require dietary fat for intestinal absorption; without adequate fat, these vitamins pass through the gut unabsorbed regardless of intake. Sex hormone production — testosterone, estrogen, and progesterone — requires cholesterol, which is synthesised from dietary fat; very low-fat diets are associated with hormonal disruption and reduced testosterone in men. Cell membranes throughout the body are composed of phospholipids derived from dietary fat, and the omega-3 fatty acids EPA and DHA (found in oily fish) are directly incorporated into brain cell membranes and inflammatory signalling pathways. The recommended intake of 20 to 35% of total calories from fat (IOM AMDR) ensures adequate hormone production, vitamin absorption, and cell membrane maintenance while leaving room for protein and carbohydrates to meet energy and tissue-building needs. Within the fat allocation, the emphasis on unsaturated fats (olive oil, avocado, oily fish, nuts) over saturated fats from red and processed meat reflects consistent cardiovascular outcome data.
The 6 Diet Presets Explained
This calculator offers six scientifically grounded diet presets, each representing a distinct macronutrient distribution with a specific evidence base. The Balanced preset (30% protein / 40% carbs / 30% fat) aligns with IOM AMDR guidelines and represents the most broadly applicable starting point for healthy adults regardless of goal. The High Protein preset (40% protein / 30% carbs / 30% fat) is supported by research on fat loss with muscle preservation — the ISSN recommends elevated protein during caloric restriction — and is optimal for people who resistance train and want to minimise muscle loss during a cut. The Low Carb preset (35% protein / 20% carbs / 45% fat) reflects clinically studied low-carbohydrate protocols showing benefit for blood sugar management, insulin resistance, and weight loss without requiring ketosis. The Ketogenic preset (30% protein / 5% carbs / 65% fat) limits carbohydrates to approximately 5% of calories — typically 20 to 50 grams per day — to induce ketosis, where fat becomes the primary fuel. The Mediterranean preset (25% protein / 45% carbs / 30% fat with emphasis on monounsaturated fats) reflects the PREDIMED trial evidence for cardiovascular protection from olive oil, oily fish, nuts, and whole plant foods. The Paleo preset (35% protein / 25% carbs / 40% fat) eliminates grains, legumes, and dairy, emphasising meat, fish, eggs, vegetables, fruits, and nuts — a dietary pattern associated with improved insulin sensitivity and inflammation markers in several short-term trials.
Macro Calculator for Weight Loss: What Actually Matters
For fat loss, total calorie deficit is the primary driver — macros determine what type of tissue you lose alongside the fat. Without adequate protein, a calorie deficit causes both fat and muscle loss, which reduces metabolic rate and makes maintaining the lower weight harder. This is the central practical argument for tracking protein specifically rather than just counting calories. A 2016 JAMA meta-analysis of 53 randomised trials found that higher-protein diets produced modestly but significantly greater fat loss compared to standard-protein diets at matched calorie levels, with the difference attributed to greater lean mass preservation. For most people pursuing fat loss, hitting the protein target is the most important single number — if protein is met, the remaining calories can be split between carbohydrates and fat based on personal preference and adherence without meaningfully affecting outcomes. The standard fat loss deficit of 500 calories below TDEE produces a theoretical loss rate of approximately 1 lb per week, which research consistently identifies as the optimal rate for preserving muscle mass alongside fat reduction.
Macro Calculator for Muscle Gain: The Protein and Surplus Equation
Building muscle requires two inputs simultaneously: adequate protein for muscle protein synthesis, and a calorie surplus to provide the energy needed for anabolic processes and recovery. Research from the ISSN (2018) confirms that protein intakes of 1.6 to 2.2g/kg of body weight maximise muscle protein synthesis rates in most people performing resistance training, with diminishing returns above approximately 2.2g/kg. The calorie surplus needed for lean muscle gain is smaller than most people expect — research suggests that a surplus of 200 to 500 calories above TDEE per day produces muscle gain with minimal excess fat accumulation in people who are resistance training consistently. Larger surpluses produce faster total weight gain but with proportionally more fat, not more muscle, since the rate of muscle protein synthesis is limited by training stimulus, hormonal environment, and recovery capacity rather than by calorie availability above a certain point. This calculator sets a 300 calorie surplus for the muscle gain goal, which research supports as an effective lean-gain approach for most natural trainees.
How to Use Your Macro Numbers Day to Day
Macro tracking is most practically managed through a food logging app (Cronometer, MyFitnessPal, or MacroFactor are commonly used) that allows you to input foods and see running macro totals throughout the day. Several practical principles make daily tracking more sustainable: prioritise hitting your protein target first at each meal, since it is the most impactful and the hardest to make up later in the day; aim for within plus or minus 5 grams of protein and plus or minus 10 to 15 grams of carbohydrates and fat rather than exact numbers — consistency over weeks matters far more than perfection on any single day; use the per-meal targets in your results as a rough template rather than a rigid rule, adjusting based on your actual meal timing and appetite; and do not adjust your targets more often than every 3 to 4 weeks, since weight fluctuates daily due to water retention, glycogen, and gut content — only sustained trends over weeks indicate whether your calorie target needs changing.
Macro Tracking vs Calorie Counting: Which Is Better?
Macro tracking is, in effect, a more detailed version of calorie counting — by tracking grams of protein, carbohydrates, and fat, you automatically track calories (protein and carbs at 4 calories per gram, fat at 9 calories per gram). The advantage of tracking macros over counting only calories is that you get information about diet quality alongside energy balance: two diets with identical calorie totals but different protein and fat distributions produce different body composition outcomes when combined with resistance training. A 2014 JAMA meta-analysis (Johnston et al.) found broadly similar weight loss outcomes across varied macronutrient distributions when total calories were matched, which has been interpreted to suggest macros matter less than calories. However, this finding applied to total scale weight — not to lean mass retention, metabolic rate preservation, or exercise performance, which vary significantly with protein intake. For most people starting out, tracking only protein — hitting a daily target in grams — is more practically impactful than tracking all three macros, and a good stepping stone before moving to full macro tracking if desired.
How Accurate Is This Calculator?
All BMR and TDEE calculators produce estimates rather than measurements, because actual metabolic rate varies between individuals of identical age, sex, height, and weight due to differences in lean muscle mass, thyroid function, gut microbiome, and adaptive thermogenesis. The Mifflin-St Jeor equation predicts BMR within approximately 10% accuracy for most people, which means your actual TDEE may be up to 200 to 300 calories higher or lower than the calculated figure. The most reliable way to calibrate the calculator to your individual metabolism is to track your actual food intake alongside your weight for 2 to 3 weeks: if your weight is stable while eating at the calculated maintenance level, the estimate is accurate; if you are gaining weight, your actual TDEE is lower than calculated and you should reduce your target by 100 to 200 calories; if you are losing weight at maintenance, your actual TDEE is higher and you can increase slightly. This empirical adjustment process is more accurate than any formula because it accounts for your individual metabolic rate rather than applying population averages.
Macros for Special Populations: Older Adults, Women, and People with Health Conditions
Several populations have specific macro considerations that modify standard recommendations. Older adults (above 60) experience an age-related decline in muscle protein synthesis efficiency called anabolic resistance, meaning they require higher protein intake — approximately 1.6 to 2.0g/kg rather than the standard 1.2 to 1.6g/kg — to achieve the same muscle protein synthesis response as younger adults. Women have the same protein requirements as men by body weight, but hormonal fluctuations during the menstrual cycle affect nutrient partitioning — higher carbohydrate availability in the second half of the cycle (luteal phase) can support better performance and recovery. People with type 2 diabetes or insulin resistance may see greater benefit from a lower-carbohydrate distribution than the Balanced preset, since reducing carbohydrate intake directly reduces postprandial blood glucose spikes and insulin demand. People with kidney disease should not follow high-protein diets without medical supervision, as elevated dietary protein increases the filtration burden on the kidneys. People who are pregnant or breastfeeding require increased protein and calorie intake beyond maintenance — these populations should work with a registered dietitian rather than using general calculators as their primary guidance.
The Ketogenic Diet Macro Approach: What Happens in Ketosis
Ketosis is a metabolic state in which the liver produces ketone bodies (beta-hydroxybutyrate, acetoacetate, and acetone) from fat, which then serve as the primary fuel for the brain and body in the absence of sufficient dietary carbohydrates. Nutritional ketosis is typically achieved when carbohydrate intake falls below 50 grams per day — represented in this calculator as the Keto preset at approximately 5% of calories from carbohydrates. In ketosis, the brain shifts from glucose to ketones as its primary fuel source, which takes 2 to 4 days of strict carbohydrate restriction to establish and is associated with an initial period of fatigue, headache, and reduced performance (often called keto flu) as the transition occurs. Once established, ketosis produces stable energy without the blood glucose fluctuations associated with carbohydrate feeding, and many people report reduced appetite. Multiple meta-analyses confirm that ketogenic diets produce greater short-term weight loss than standard diets at matched calorie levels, primarily through water loss (glycogen depletion releases bound water) and potentially through appetite reduction. Long-term (beyond 6 to 12 months) outcomes are comparable to other dietary approaches when calories are matched, and the ketogenic diet is not appropriate for people with type 1 diabetes, pancreatitis, or those taking SGLT2 inhibitors.
The Mediterranean Diet Macro Approach: Why Olive Oil Is Not Just Fat
The Mediterranean diet is the most consistently studied dietary pattern for longevity and cardiovascular outcomes, supported by the PREDIMED trial — a large Spanish randomised controlled trial that found a Mediterranean diet supplemented with olive oil or nuts reduced major cardiovascular events by approximately 30% compared to a low-fat control diet. Its macro distribution is characterised not just by specific protein-carbohydrate-fat percentages but by the source and quality of each macro: fat is predominantly monounsaturated from extra-virgin olive oil and omega-3 rich from oily fish and nuts; carbohydrates come from whole grains, legumes, and vegetables rather than refined grains and sugar; and protein is primarily from fish, legumes, and moderate amounts of poultry and dairy rather than red and processed meat. The Mediterranean preset in this calculator (25% protein / 45% carbs / 30% fat) represents the approximate macronutrient distribution of traditional Mediterranean dietary patterns, though the quality and source of each macro is as important as the percentage — the same numbers filled with ultra-processed versions of each macronutrient do not produce the same outcomes.
Adjusting Your Macros Over Time: When and How to Recalculate
Your macro targets need to be recalculated periodically because your weight, body composition, and activity level change — and because your body adapts to sustained calorie restriction through adaptive thermogenesis. For fat loss, recalculate every 4 to 8 weeks or after each 5 to 10 lb weight loss to account for the reduced calorie expenditure that comes with lower body weight. For muscle gain, recalculate every 8 to 12 weeks as body weight increases. The most common reason macro targets stop producing results is not that the formula is wrong but that the targets were not actually being hit consistently — food logging research consistently shows that people underestimate their calorie intake by 20 to 40% when estimating without weighing food, and overestimate their activity level by similar margins. Using a kitchen scale for solid foods and measuring cups for liquids for at least 2 to 4 weeks establishes portion size accuracy that significantly improves the effectiveness of any macro approach.
Frequently Asked Questions
⚕️ Medical Disclaimer: This calculator provides estimates based on population-level formulas and is for educational and informational purposes only. Individual metabolic rate varies — use your results as a starting point and adjust based on your actual weight trend over 2 to 3 weeks. People with diabetes, kidney disease, eating disorders, or who are pregnant or breastfeeding should consult a registered dietitian or healthcare provider before making significant dietary changes. Do not use this calculator as medical nutrition therapy.