Macro Calculator
Available in: English, Español, Deutsch, Français, Ελληνικά, Nederlands, Italiano
More body & nutrition calculators
- BMI CalculatorCalculate your Body Mass Index and check if your weight is in a healthy range.
- Body Fat CalculatorEstimate your body fat percentage using the U.S. Navy method with simple body measurements.
- Calorie CalculatorCalculate your daily calorie needs (TDEE) based on age, gender, weight, height, and activity level.
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.
Understanding Your Results
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.
Practical Examples
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.
Your data is never sent. We collect anonymous usage statistics only. Privacy details