Macro Calculator
UuttaFind your daily protein, carb and fat targets from your TDEE, goal and diet style.
Your Daily Macro Targets
TDEE (Maintenance)
—
kcal / day
Goal Calories
—
kcal / day
Protein
—
g / day
— % of cals
Fat
—
g / day
— % of cals
Carbs
—
g / day
— % of cals
Macro Split Visualized
Runs entirely in your browser. Nothing is uploaded.
What Is a Macro Calculator?
A macro calculator is a tool that determines your personalized daily targets for the three macronutrients — protein, carbohydrates, and fat — based on your body stats, activity level, and fitness goal. Unlike simple calorie counters, a macro calculator gives you a complete nutritional blueprint: not just how much to eat, but what to eat in terms of macronutrient composition. This approach, often called IIFYM (If It Fits Your Macros) or flexible dieting, has become one of the most widely used evidence-based methods for fat loss and muscle building — it accounts for the quality and function of the calories you consume, not merely the quantity.
Every macro calculator starts by estimating your Total Daily Energy Expenditure (TDEE) — the total calories you burn each day. This UtiloKit macro calculator uses the Mifflin-St Jeor equation, the most clinically validated BMR formula available, then multiplies by an activity factor. Your calorie goal is adjusted up or down based on whether you want to lose fat, maintain weight, or build muscle. Finally, those goal calories are distributed across protein, fat, and carbs using research-backed ratios tailored to your objective. The result is a personalized, actionable macronutrient target you can start tracking today.
How to Use This Macro Calculator
Enter your age, biological sex, height, and current body weight. Choose your preferred unit system (metric or imperial). Select the activity level that best describes your typical week — this is the most impactful input, so be accurate rather than optimistic. Finally, choose your goal: lose weight fast (−500 kcal/day deficit), lose weight steadily (−250 kcal), maintain, gain muscle (+250 kcal), or bulk (+500 kcal). Click Calculate Macros to see your TDEE, goal calories, and exact daily grams of protein, fat, and carbohydrates.
The visual macro split chart shows the percentage breakdown at a glance, making it easy to understand the balance between the three macronutrients. Your inputs are automatically saved in your browser so you can return and recalculate without re-entering everything. As you make progress — losing or gaining weight — come back every 4–6 weeks to update your numbers and keep your targets calibrated to your changing body composition. This iterative approach is far more effective than calculating once and never revisiting your goals.
Understanding Macronutrient Ratios for Different Goals
The ideal macronutrient split varies significantly depending on your goal. For fat loss, elevating protein to 30–35% of calories is critical: it maximizes satiety (keeping hunger at bay during a deficit), preserves lean muscle that would otherwise be metabolized for energy, and has the highest thermic effect of any macronutrient — your body uses about 20–30% of protein calories just to digest it. Fat is typically set at 25–30% to support hormonal health, with carbohydrates filling the remaining 35–45% to fuel workouts and daily activity.
For muscle gain, protein remains the priority at 0.8–1g per pound of body weight, but carbohydrates are elevated (45–55% of total calories) to fuel training sessions and support anabolic signaling via insulin. A calorie surplus of 250–500 kcal above TDEE provides the energy substrate for new tissue synthesis without excessive fat accumulation. For maintenance, a more moderate balanced split — roughly 25% protein, 30% fat, 45% carbs — is sustainable long-term and flexible enough to accommodate different food preferences and lifestyle patterns.
How UtiloKit Compares to IIFYM.com, Cronometer, and MyFitnessPal
Most free macro calculators come with real trade-offs. IIFYM.com (the original flexible dieting calculator) uses the Mifflin-St Jeor formula but buries results behind a lengthy email opt-in flow and surrounds them with ads. Cronometer's macro calculator requires a free account before you can save your targets, and pushes you toward its Gold subscription ($8.99/month) to unlock advanced reports. MyFitnessPal calculates macros during account setup but applies a one-size-fits-all protein target — it doesn't let you choose a macro split or use body-fat percentage. calculator.net's macro page delivers raw numbers with no visual breakdown and uses the older Harris-Benedict formula, which studies show is 5–8% less accurate than Mifflin-St Jeor for most adults.
UtiloKit's macro calculator uses Mifflin-St Jeor by default, runs entirely in your browser (no data ever leaves your device), shows results the instant you click Calculate — no account, no email, no ads. The animated macro split chart, imperial/metric toggle, and locally saved inputs mean it works as fast on a return visit as it did the first time. It's not trying to be a full nutrition app; it's the clean, private tool you use to get accurate starting numbers before you open whatever tracker you prefer.
Common Macro Tracking Mistakes to Avoid
The most common mistake when starting macro tracking is overcomplicating the process. You don't need to hit your macros within 1g precision every day — aiming to be within 5–10g of each target over a weekly average is sufficient for results. Another frequent error is underestimating calorie-dense foods: oils, nuts, and butter are easy to miscalculate and can add hundreds of hidden calories. Use a food scale for the first few weeks to calibrate your eye portions before estimating.
People often abandon macro tracking after a few weeks because they overrestrict or choose an unrealistic calorie deficit. A deficit of 500 kcal/day sounds small but requires real dietary discipline; if adherence fails, a 250 kcal deficit you maintain consistently will produce better results than a 500 kcal deficit you abandon in two weeks. Finally, remember to recalculate your macros as your weight changes — your TDEE at 200 lbs is meaningfully different from your TDEE at 180 lbs, and failing to update your numbers stalls progress. Use this calculator every 4–6 weeks or after every 10 lb change in body weight.
Macronutrient Caloric Density: Where the Numbers Come From
The caloric values assigned to each macronutrient are not arbitrary — they reflect the average chemical energy released when each is oxidized in the body. Carbohydrates provide 4 kcal per gram, as do proteins. Dietary fat provides 9 kcal per gram, more than double the energy density of the other two, which is why fat-heavy foods are calorically concentrated even in small portions. Alcohol provides 7 kcal per gram — it is not a macronutrient in the classical sense because the body cannot store it, but it is metabolically significant: alcohol is oxidized ahead of other fuels, effectively pausing fat oxidation for the duration it remains in the bloodstream. A single gram of alcohol contributes more calories than a gram of carbohydrate or protein, with no nutritional function.
Fiber is technically a carbohydrate but behaves differently. Insoluble fiber passes through the gut largely intact, contributing essentially zero net calories while adding bulk and supporting bowel regularity. Soluble fiber is fermented by gut bacteria into short-chain fatty acids and yields approximately 2 kcal per gram — roughly half the value of digestible carbohydrates. This is why nutrition labels in many countries subtract fiber from total carbohydrates to report 'net carbs': the fiber fraction is not a meaningful energy source for the human body itself, even if it fuels the microbiome. For high-fiber eaters, this distinction can amount to 50–100 kcal of daily difference compared to a naive calculation.
The standard caloric values come from the Atwater system, developed in the 1890s and still used in food labeling worldwide. The Atwater system is an approximation — actual caloric extraction varies with the food matrix: the physical structure of a food affects how efficiently enzymes can access and digest it. A well-studied example is almonds: the intact cell walls in whole almonds reduce digestive efficiency by approximately 30%, meaning you absorb roughly 30% fewer calories from whole almonds than the Atwater calculation predicts. Cooking, processing, and milling break down cell walls and increase caloric bioavailability. This is one reason why whole, minimally processed foods tend to be more filling per calorie than their processed equivalents — the physical structure slows digestion and reduces net energy extraction. The thermic effect of food (TEF) adds another layer: protein has the highest TEF at 20–30%, meaning that for every 120 kcal of protein consumed, 24–36 kcal are spent on digestion alone, leaving roughly 84–96 net kcal available. Carbohydrates cost 5–10% to digest; fat costs 0–3%. Practically, a high-protein diet creates a meaningful metabolic advantage over an isocaloric low-protein diet purely through the energy cost of processing protein itself.
Popular Macro Ratio Approaches: From USDA Guidelines to Ketogenic Diets
The USDA Dietary Guidelines for Americans — the official recommendation for the general population — set a wide macro range: 45–65% of calories from carbohydrates, 10–35% from protein, and 20–35% from fat. These broad bands are deliberately permissive to accommodate diverse eating patterns and cultural food traditions. They reflect population-level health outcomes rather than body composition optimization, which is why athletes and people with specific goals often deviate from them. The Zone diet, developed by biochemist Barry Sears in the 1990s, takes a more prescriptive stance at 40% carbohydrates, 30% protein, and 30% fat. Sears's original rationale centered on controlling eicosanoid hormones — short-lived signaling molecules derived from dietary fat — to reduce systemic inflammation. The clinical evidence for eicosanoid modulation via the Zone ratio is limited, but controlled studies do show the Zone diet produces reasonable satiety and moderate fat loss, likely due to the elevated protein content rather than any unique hormonal mechanism.
The ketogenic diet sits at the extreme end of macro manipulation: typically fewer than 5% of calories from carbohydrates (usually 20–50g of net carbs per day), 20–25% from protein, and 70–75% from fat. At this carbohydrate threshold, liver glycogen is depleted and the liver begins converting fatty acids into ketone bodies (primarily beta-hydroxybutyrate, acetoacetate, and acetone), which become the primary fuel for the brain and most tissues in place of glucose. Achieving nutritional ketosis takes 2–7 days of strict carbohydrate restriction and can be disrupted by consuming even 50g of carbohydrates in a single sitting. The metabolic adaptation period — commonly called the 'keto flu' — involves fatigue, headache, and irritability as the brain transitions from glucose to ketone utilization. Long-term, ketogenic diets show efficacy for fat loss and glycemic control in type 2 diabetes, though adherence is demanding and the macro ratio is difficult to sustain socially.
For muscle building, the most relevant research comes from sports nutrition scientists Stuart Phillips and Luc van Loon, whose work established a protein intake of 1.6–2.2g per kilogram of body weight per day as the effective range for maximizing muscle protein synthesis. For a 75 kg person at the midpoint of 2g/kg, that is 150g of protein daily — providing 600 kcal, or 30% of a 2,000 kcal diet. This naturally produces a high-protein macro split without needing to count percentages: set protein in grams by body weight, fill fat to 20–25% of calories for hormonal support, and let carbohydrates take the remainder to fuel training volume and glycogen replenishment. This body-weight-anchored approach is more scientifically grounded than targeting a fixed percentage split, because protein needs scale with lean mass rather than total caloric intake — a 90 kg lifter in a 2,500 kcal bulk and a 90 kg lifter in a 1,800 kcal cut both need roughly the same absolute grams of protein, even though the percentage differs dramatically between the two contexts.
Carbohydrate Types, Glycemic Index, and Glycemic Load
Carbohydrates are structurally classified by the number of sugar units they contain. Monosaccharides — glucose, fructose, and galactose — are single sugar units absorbed directly into the bloodstream. Disaccharides require one enzymatic step to cleave: sucrose (table sugar) splits into glucose and fructose; lactose (milk sugar) splits into glucose and galactose; maltose (from starch digestion) splits into two glucose molecules. Oligosaccharides (3–9 linked sugar units) and polysaccharides (hundreds to thousands of units) are complex carbohydrates requiring progressively more digestion. Starch, the primary energy-storage carbohydrate in plants, exists in two structural forms: amylose — a long linear chain that digests relatively slowly — and amylopectin — a highly branched structure with more enzyme-accessible surface area that digests rapidly. Foods high in amylopectin (waxy corn starch, most white rice varieties, many breakfast cereals) raise blood glucose faster than amylose-rich foods (most legumes, high-amylose corn).
The glycemic index (GI) quantifies how quickly a specific carbohydrate food raises blood glucose relative to pure glucose (assigned a reference value of 100). White rice has a GI of approximately 72, sweet potato around 63, whole rolled oats around 55, and lentils around 32. However, GI is measured in isolation on a fasted stomach with a fixed 50g carbohydrate portion — conditions that rarely reflect real eating. The more practical metric is glycemic load (GL), calculated as GI multiplied by the actual carbohydrate content per serving, divided by 100. Watermelon illustrates the distinction clearly: its GI is high at 76, suggesting a rapid blood sugar spike, but its glycemic load per cup is only 4 because watermelon is 92% water and contains very little carbohydrate per serving. A food's glycemic impact in practice depends on GL, not GI alone — making GL the superior guide for meal planning.
Fiber-rich carbohydrate sources confer advantages beyond their glycemic properties. Viscous soluble fibers — found in oats (beta-glucan), legumes, and psyllium — form a gel in the small intestine that slows glucose absorption, blunts post-meal insulin response, and prolongs satiety by delaying gastric emptying. Insoluble fibers in whole grains and vegetables increase stool bulk and transit time, supporting gut health independently of caloric effects. Critically, fiber feeds the gut microbiome: when bacteria ferment soluble fiber in the colon, they produce short-chain fatty acids including butyrate, which serves as the primary energy source for colonocytes (the cells lining the large intestine) and has well-documented anti-inflammatory properties. Choosing carbohydrates from whole food sources — vegetables, legumes, intact grains, fruit — rather than refined sources does not change your macro targets, but it substantially changes what those carbohydrate grams do once they are inside the body.
Frequently asked questions
What are macronutrients (macros)?
Macronutrients are the three main nutrients your body uses for energy and function: protein, carbohydrates, and fat. Protein provides 4 calories per gram and is critical for building and repairing muscle. Carbohydrates also provide 4 calories per gram and are your body's preferred fuel source during exercise. Fat provides 9 calories per gram and is essential for hormone production, vitamin absorption, and brain health. Tracking all three gives you far more control over body composition than calorie counting alone.
How does this macro calculator work?
This calculator first estimates your Basal Metabolic Rate (BMR) using the Mifflin-St Jeor equation — the most validated formula for most adults. It then multiplies your BMR by an activity factor to get your Total Daily Energy Expenditure (TDEE). A calorie adjustment is applied for your goal (deficit for fat loss, surplus for muscle gain), and the remaining calories are distributed across protein, fat, and carbohydrates using evidence-based ratios. Everything runs locally in your browser — no data leaves your device.
What is TDEE and why does it matter?
TDEE stands for Total Daily Energy Expenditure — the total calories your body burns in a day including base metabolism, physical activity, and digestion. It is the single most important number for body composition change. Eating at your TDEE maintains weight; eating below it creates fat loss; eating above it enables muscle gain. Accurate TDEE estimation is the foundation of any effective diet plan. This calculator estimates your TDEE first, then adjusts it based on your chosen goal.
How much protein do I need per day?
For active individuals, research consistently supports 0.7–1g of protein per pound of body weight per day (1.6–2.2g per kg). This calculator uses 0.8g per pound as a solid middle-ground target. Higher protein intakes (up to 1g/lb) are beneficial during aggressive calorie deficits to preserve lean muscle mass. Sedentary individuals require less — approximately 0.36g per pound per day. Athletes in strength sports often target the upper end of 1g/lb, especially during cutting phases.
What macro split is best for weight loss?
For fat loss, a higher-protein split helps preserve muscle while in a calorie deficit. A popular and research-backed approach is 30–35% protein, 25–30% fat, and 35–40% carbs. Higher protein increases satiety, boosts metabolism slightly (thermic effect), and protects lean muscle. The most important factor is sustaining a moderate calorie deficit of 250–500 calories below TDEE. MyFitnessPal sets a flat 50/30/20 carb/protein/fat split by default regardless of your goal — this calculator adjusts ratios based on your specific objective.
What macro split is best for muscle gain (bulking)?
For muscle building, prioritize protein at 0.8–1g per pound of body weight, then fuel workouts with adequate carbohydrates (45–55% of total calories). Fat should make up 20–25% of calories. A modest calorie surplus of 250–500 calories above TDEE supports lean muscle gain while minimizing fat accumulation. Training stimulus is equally important as nutrition for muscle growth. Most nutrition apps including MyFitnessPal don't let you select a dedicated 'lean bulk' goal with a fine-tuned surplus — this calculator offers it as a distinct option.
What is the Mifflin-St Jeor equation?
The Mifflin-St Jeor equation is currently the most accurate and widely validated formula for estimating Basal Metabolic Rate (BMR) in the general population. It uses body weight (kg), height (cm), age (years), and biological sex to calculate the calories your body burns at complete rest. Studies show it is accurate within ±10% for most people, outperforming older formulas like Harris-Benedict. Calculator.net's macro and calorie pages use the older Harris-Benedict formula, which research shows is 5–8% less accurate for most adults.
How do I choose the right activity level?
Be honest when selecting your activity multiplier, as it has the largest impact on your TDEE. Sedentary (1.2×) means a desk job with little to no exercise. Lightly active (1.375×) is 1–3 light workout sessions per week. Moderately active (1.55×) is 3–5 moderate sessions per week — the most common for gym-goers. Very active (1.725×) applies to athletes training 6–7 days per week. Extremely active (1.9×) is reserved for manual labor jobs combined with intense daily training. Most people underestimate this and pick 'sedentary' when they should select 'lightly active.'
How often should I recalculate my macros?
Recalculate every 4–6 weeks, or whenever your body weight changes by more than 5–10 lbs (2–4 kg). As you lose or gain weight, your BMR and TDEE shift accordingly. If fat loss stalls for 2–3 weeks despite adherence, a small reduction of 100–150 calories (not a drastic cut) is usually sufficient to restart progress. Track your weight as a weekly average, not a daily number. Your inputs are saved in your browser, so recalculating takes under a minute — just update your current weight and click Calculate.
What is a calorie deficit and how big should mine be?
A calorie deficit means consuming fewer calories than your TDEE. A deficit of 500 calories per day theoretically produces around 1 lb (0.45 kg) of fat loss per week, since a pound of fat contains roughly 3,500 calories. In practice, a 20–25% deficit (250–500 calories) is sustainable and preserves muscle. Deficits exceeding 30% accelerate muscle loss and cause metabolic adaptation. If you're losing more than 1.5 lbs per week, increase calories slightly — you're likely losing muscle alongside fat.
Can I use this calculator for a keto diet?
Yes. While this calculator uses a balanced macro split by default, the TDEE and calorie goal it produces are valid for any dietary approach including ketogenic diets. For keto, manually adjust to roughly 5–10% carbs, 20–25% protein, and 65–75% fat from your goal calorie target. The calculator gives you the calorie foundation; you customize the macro distribution to fit your dietary strategy. Standard keto targets are typically 20–50g net carbs per day — once you have your total calories, you can back-calculate your specific gram targets.
Is tracking macros better than just counting calories?
Tracking macros provides more precise control over body composition than calorie counting alone. You can hit your calorie target while being protein-deficient, causing muscle loss during a cut. Macro tracking ensures you get enough protein to preserve muscle, enough carbs to fuel performance, and enough fat for hormonal health. However, both approaches work — choose the level of precision that you can sustain consistently. If calorie counting causes stress or obsessive behavior, a less granular approach with a high protein focus often produces similar body composition results.
What is the difference between a 40/40/20 and a 30/30/40 macro split?
A 40/40/20 split allocates 40% of calories to carbohydrates, 40% to protein, and 20% to fat — a popular performance-oriented approach favored by athletes and bodybuilders. A 30/30/40 split is more fat-forward, often used in moderate low-carb protocols. Neither is universally optimal; the best split depends on your goal, food preferences, and how well you tolerate carbohydrates. This calculator sets protein first based on body weight, then distributes remaining calories between fat and carbs, which is the recommended approach in sports nutrition literature.
Are my inputs stored or sent anywhere?
No. All calculations happen entirely in your browser using JavaScript — your age, weight, height, and other inputs are never sent to any server. The calculator saves your last inputs in your browser's localStorage for convenience, but that data never leaves your device. This is a meaningful difference from tools like IIFYM.com (which uses your email to deliver results and retargets you with marketing), Cronometer (which stores your nutrition data in cloud accounts), and MyFitnessPal (which aggregates user data as part of its business model). With UtiloKit, your personal stats stay on your device, period.
Related tools
Näytä kaikki työkalutSleep Calculator
Find the best bedtime or wake-up time based on 90-minute sleep cycles to wake up refreshed.
Water Intake Calculator
Calculate your daily water needs from your weight, activity level and climate.
Calories Burned Calculator
Estimate calories burned for 60+ exercises using MET values and your weight and duration.
Running Pace Calculator
Calculate your running pace, finish time and splits for any distance — 5K, 10K, half or full marathon.
TDEE Calculator
Total Daily Energy Expenditure calculator — maintenance calories, cut & bulk targets. Mifflin-St Jeor + Harris-Benedict. 100% private.
Dog Age Calculator
Convert dog years to human years by breed size using the 2020 DNA methylation study. Life stage, remaining lifespan, and age chart.