Nutrition Disclaimer: These calculations provide general guidelines only. Individual nutritional needs vary based on health conditions, activity levels, and goals. Consult a registered dietitian or healthcare provider for personalized nutrition advice, especially if you have dietary restrictions or health concerns.
Advertisement
About This Tool
Calculates macronutrient targets based on your daily calorie needs using the Atwater system—the standard energy conversion factors established by chemist Wilbur Atwater in the 1890s and still used worldwide: protein provides 4 kcal/g, carbohydrates 4 kcal/g, and fat 9 kcal/g. The tool supports five diet patterns—Balanced, Low Carb, High Protein, Keto, and Custom—each with scientifically validated macro ratios.
Protein builds and repairs muscle tissue and supports immune function. Carbohydrates are the body's primary energy source, fueling the brain and high-intensity exercise. Fats are essential for hormone production, vitamin absorption (A, D, E, K), and cell membrane integrity. Getting the right balance of all three is crucial for health, performance, and body composition goals. Results are displayed as daily gram targets with a visual pie chart breakdown.
Note: results are estimates; consult a registered dietitian for personalized advice. All calculations happen locally—your health data stays private.
Understanding Macronutrients
Protein is composed of amino acids—20 in total, of which 9 are 'essential' because the body cannot synthesize them and must obtain them from food. Complete protein sources (meat, fish, eggs, dairy, soy) contain all 9 essential amino acids. The RDA for protein is 0.8 g/kg/day for sedentary adults, but research consistently shows athletes and active individuals benefit from 1.2–2.0 g/kg/day. Distributing protein across 3–4 meals (25–40 g per meal) optimizes muscle protein synthesis.
Carbohydrates are classified by their glycemic index (GI)—how quickly they raise blood sugar. Low-GI foods (whole grains, legumes, most vegetables) provide sustained energy, while high-GI foods (white bread, sugar, processed cereals) cause rapid spikes. Dietary fiber, a type of carbohydrate, supports digestive health—the recommended intake is 25–30 g/day.
Fats include saturated (butter, coconut oil), monounsaturated (olive oil, avocado), and polyunsaturated types (fish oil, flaxseed). Omega-3 and omega-6 are essential fatty acids the body cannot produce. The WHO recommends limiting saturated fat to less than 10% of total calories and eliminating industrial trans fats entirely. Fat is calorie-dense at 9 kcal/g but critical for absorbing fat-soluble vitamins (A, D, E, K) and producing hormones like testosterone and estrogen.
How to Use
Enter your daily calorie target, or use our Calorie Calculator link to determine your needs first.
Select a diet type: Balanced, Low Carb, High Protein, Keto, or Custom to set your own protein/carb/fat ratios.
View your daily macro targets in grams and calories with a visual pie chart breakdown. Share or copy your results.
Methodology
This calculator converts calorie percentages to gram targets using the Atwater system: protein provides 4 kcal/g, carbohydrates provide 4 kcal/g, and fat provides 9 kcal/g. The formula is: grams = (Daily Calories × Percentage) ÷ Calories per gram. For example, with 2,000 kcal and 30% protein: (2,000 × 0.30) ÷ 4 = 150 g protein per day.
Each macronutrient also has a Thermic Effect of Food (TEF)—the energy required to digest it. Protein has the highest TEF at 20–30% of its calories, meaning your body uses 20–30 calories to process every 100 calories of protein consumed. Carbohydrates have a TEF of 5–10%, and fat only 0–3%. This is one reason high-protein diets can support weight management.
Preset ratios are based on evidence-backed dietary approaches. The WHO recommends 45–65% carbohydrates, 10–35% protein, and 20–35% fat for general health. The tool's Custom mode allows you to set any ratio that sums to 100%, enabling specialized plans like carb cycling or sport-specific periodization. All three macros must be present in the diet—eliminating any one entirely can cause deficiencies in essential amino acids, fatty acids, or glucose availability.
Balanced diets (40/30/30 carbs/protein/fat) align with WHO guidelines and suit most people for general health. Low-carb (25/40/35) reduces insulin spikes and may improve blood sugar management—research shows benefits for type 2 diabetes and metabolic syndrome. High-protein (30/40/30) supports muscle building, recovery, and satiety—the International Society of Sports Nutrition recommends 1.4–2.0 g/kg/day for active individuals.
Keto (5/25/70) restricts carbohydrates to induce ketosis, where the body burns fat for fuel instead of glucose. This approach has evidence for epilepsy management and short-term weight loss, but long-term adherence can be challenging and may not suit everyone.
Individual needs vary significantly. Endurance athletes may need 55–65% carbohydrates to fuel glycogen stores, while strength athletes prioritize protein. Sedentary individuals generally need less total protein but should still meet the RDA of 0.8 g/kg/day. These presets are starting points—monitor your energy levels, body composition, and performance, then adjust ratios based on results. Consult a registered dietitian for medical conditions like kidney disease, diabetes, or eating disorders.
Endurance Athlete: A marathon runner on 3,000 kcal/day with a 55/25/20 split gets 413 g carbs, 188 g protein, and 67 g fat—high carbs fuel glycogen for long-distance performance.
Strength Trainer: A bodybuilder on 2,500 kcal/day with a 30/40/30 split gets 188 g carbs, 250 g protein, and 83 g fat—elevated protein supports muscle repair and growth between training sessions.
Weight Loss Goal: A person on 1,800 kcal/day using the Balanced preset (40/30/30) gets 180 g carbs, 135 g protein, and 60 g fat—a moderate approach that provides sustained energy while maintaining adequate protein to preserve lean mass during a calorie deficit.
Tips for Hitting Your Macro Targets
Distribute protein evenly across meals—25–40 g per meal maximizes muscle protein synthesis. A morning meal with eggs or Greek yogurt, lunch with chicken or legumes, and dinner with fish or tofu creates an effective protein rhythm.
Prioritize whole foods over processed options. A chicken breast with rice and vegetables delivers the same macros as a protein bar with candy coating, but with vastly more vitamins, minerals, and fiber.
Don't eliminate any macronutrient entirely. Even on a keto diet, the 5% carbohydrate allocation provides essential fiber and micronutrients from vegetables. Extremely low fat intake (below 15% of calories) can impair hormone production and vitamin absorption.
Adjust ratios gradually—change by 5% increments every 1–2 weeks and monitor how you feel. Sudden dramatic shifts can cause digestive discomfort, energy crashes, and poor adherence.
Use the pie chart visualization to quickly verify your ratios sum to 100%. In Custom mode, if they don't sum correctly, the tool will alert you before calculating results.
As an Amazon Associate I earn from qualifying purchases.
Frequently Asked Questions
What are macros and why do they matter?
Macros (macronutrients) are protein, carbohydrates, and fat - the three main nutrients your body needs in large amounts for energy and function. Protein builds muscle (4 cal/g), carbs provide energy (4 cal/g), and fat supports hormones and nutrient absorption (9 cal/g). Tracking macros helps optimize body composition, energy levels, and athletic performance beyond just counting calories.
Which diet type should I choose?
Choose based on your goals: Balanced (40/30/30) works for general health and maintenance. Low Carb (25/40/35) helps with fat loss while maintaining muscle. High Protein (30/40/30) is ideal for building muscle or preserving it during weight loss. Keto (5/25/70) puts your body in ketosis for specific metabolic benefits. If unsure, start with Balanced and adjust based on how you feel and your results.
How much protein do I really need?
General guidelines suggest 0.8g per kg of body weight for sedentary adults, but active individuals and those building muscle need more: 1.6-2.2g per kg. For a 70kg person, that's 112-154g daily. This calculator uses percentage-based ratios, so your protein amount depends on your total calories and chosen diet type. Higher calorie diets will yield more protein at the same percentage.
Can I adjust the macro ratios?
Yes! Select 'Custom' from the diet type dropdown to set your own protein, carb, and fat percentages. The percentages must add up to 100%. This is useful if you have specific dietary requirements, are following a coach's recommendations, or want to fine-tune based on your body's response. The calculator will show you the gram amounts for your custom ratios.
Should I change my macros on rest days vs. training days?
Many athletes and fitness enthusiasts cycle their macros based on activity. On training days, higher carbs fuel workouts and replenish glycogen stores. On rest days, slightly lower carbs and higher fat can support recovery while maintaining a calorie target. However, for most people a consistent daily macro split works well. Carb cycling is an advanced strategy best suited for those with specific performance or body composition goals.
Is it bad to eat too much fat or too few carbs?
Both extremes can cause issues. Dietary fat is essential for hormone production, brain function, and absorbing vitamins A, D, E, and K, so dropping below 20% of calories from fat is generally not recommended. Carbohydrates are the body's preferred energy source, and very low carb intake (below 50g/day outside of medically supervised keto) can cause fatigue and reduced exercise performance. A balanced approach tailored to your goals and health needs is safest.
My Favorites
Drag to reorder
No favorites yet
Tap the ☆ on any tool page to bookmark it for quick access.