Macronutrient Calculator: Daily Grams and Calorie Share of Protein, Carbs and Fat
Free online macronutrient calculator. Enter your daily calorie target and pick balanced, high-protein, low-carb, keto or custom ratios to instantly split protein, carbs and fat into grams and calories, visualized on a donut chart. Results update live as you adjust the percentages and can be saved to local history — all computed privately in your browser.
Macronutrient split
Protein 4 kcal/g · Carbs 4 kcal/g · Fat 9 kcal/g
Daily macronutrients
Broken down into grams from your target calories
- Protein125 g25%
- Carbohydrates250 g50%
- Fat55.6 g25%
Total macronutrients: 431 g
How to Use
Macronutrient (Macros) Split Guide
Protein / carbs / fat in grams · four diet styles
The three macronutrients — protein, carbohydrates and fat — are the body’s only energy sources (alcohol supplies energy but is not a nutrient). Protein and carbohydrate provide 4 kcal/g, fat 9 kcal/g. From your daily calorie target, this calculator splits grams for balanced, high-protein, low-carb and ketogenic presets (or a custom split) and shows the shares on a donut chart — practical for meal prep, fat loss and food logging.
01 Comparing the four diet styles
Balanced (25/50/25) fits most dietary guidelines and is good for maintenance. High protein (35/40/25) increases satiety and preserves muscle — ideal when cutting and for strength athletes. Low carb (30/30/40) cuts refined carbs and stabilizes blood sugar for the insulin-sensitive. Ketogenic (25/5/70) pushes carbohydrates very low to induce ketosis and should only be followed under medical or dietetic supervision, not blindly long-term.
Across all styles, protein grams are key: 1.6–2.4 g/kg during fat loss, 1.6–2.2 g/kg for muscle gain. Carbs fuel high-intensity exercise; fat supports hormones — neither should be too low.
- Protein: 4 kcal/g — repairs muscle, increases satiety, supports immunity
- Carbs: 4 kcal/g — primary energy for exercise and the brain
- Fat: 9 kcal/g — hormones, fat-soluble vitamin absorption, cell structure
- Custom percentages need not sum to 100; the tool normalizes them
- Dietary fiber is a carb but is largely unabsorbed; track it separately if you wish
02 Translating grams into meals
Spread protein across 3–4 meals (25–40 g each), place carbs around breakfast and workouts, and distribute fat across meals. Using a food scale and nutrition labels for 1–2 weeks builds portion intuition so you won’t need to weigh every meal forever. For reference: 100 g raw chicken breast ≈ 23 g protein; one egg ≈ 6 g protein; 100 g cooked rice ≈ 28 g carbs.
Inputs
- calorie targetYour daily calorie intake to split into macros.
- diet styleBalanced / high-protein / low-carb / keto presets.
- custom P / C / FOverride percentages for protein, carbs and fat; always editable and applied live (they must sum to 100%).
Output
- donut chartVisualises the protein/carb/fat share of calories.
- gramsDaily grams of protein, carbohydrate and fat for the target.
Actions
- CalculateGrams of protein/carbs/fat update live as you type; this button saves the result to the history drawer.
- ResetRestores the default inputs.
- Prioritize whole foods: lean meat, fish, eggs, legumes, whole grains, nuts and vegetables
- Keto is not for everyone; get a check-up and professional guidance before starting
- Carbs are not the enemy — added sugar and refined grains are what to control
- Make nuts, olive oil and avocados the majority of your fat intake
- People who train hard should not drop carbs too low or performance will suffer
The three macronutrients are protein, carbohydrates and fat. Enter your daily calorie target and choose balanced, high-protein, low-carb, ketogenic or custom ratios to instantly split each into daily grams, calories and percentage, using 4 kcal/g for protein and carbs and 9 kcal/g for fat, with a visual donut chart.
What each macronutrient does
Protein repairs and builds muscle and promotes satiety; carbs fuel high-intensity exercise and the brain; fat supports hormones, absorption of fat-soluble vitamins and fullness. All three matter — "low carb" is not "zero carb," and fat loss comes down to a total calorie deficit rather than cutting an entire nutrient.
Four preset diets
Balanced (25/50/25) suits most people; high protein (35/40/25) suits muscle gain and fat loss; low carb (30/30/40) suits carb-controlled diets; keto (25/5/70) is very low carb to induce ketosis and suits specific people, though not everyone. You can also set all three percentages yourself.
How the grams are computed
A macro’s calories = total target calories × its percentage; grams = macro calories ÷ calories per gram. For example, at 2000 kcal and 25% protein, protein calories = 500 kcal and grams = 500 ÷ 4 = 125 g. The three percentages should sum to 100%; if they do not, the tool normalizes them proportionally.
Protein intake reference
Sedentary adults need about 0.8 g/kg body weight daily; during fat loss or regular strength training 1.6–2.4 g/kg is recommended; endurance athletes about 1.2–1.6 g/kg. A 70 kg lifter might aim for 112–168 g of protein spread across meals. Adjust for your training goal and individual response.
FAQ
QHow many grams of protein per day?
About 0.8 g/kg for sedentary adults and 1.6–2.4 g/kg during fat loss or strength training. A 70 kg lifter might aim for 112–168 g daily.
QWhat is the macro split for a ketogenic diet?
A typical keto diet is about 20–25% protein, 5–10% carbs and 70–75% fat; this tool uses a 25/5/70 preset. Very low carbs induce ketosis, but keto is not for everyone — seek professional guidance first.
QDo the percentages have to sum to exactly 100?
Aim for 100%. If they do not, the tool normalizes them proportionally and shows a warning.
QShould I eat as few carbs as possible?
No. Carbs fuel intense exercise and the brain; long-term very-low-carb eating can hurt performance and mood. The key is a calorie deficit and limiting added sugar and refined grains, not eliminating carbs.
QDo I have to weigh every meal?
Weighing and logging for 1–2 weeks builds portion intuition; afterward you can estimate by eye. Example: 100 g raw rice makes about 280 g cooked (≈75 g carbs); 100 g raw chicken breast ≈ 23 g protein.