# Macro Calculator

> Free macro calculator: turn your daily calories into grams of protein, carbs and fat for balanced, low-carb, high-protein or keto diets.

Interactive calculator: https://calculatorsplatform.com/c/macro/
Category: Health & Fitness Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## What are macros?

Macronutrients — macros for short — are the three nutrients that supply almost all of the energy in food: protein, carbohydrate and fat. Counting macros means aiming for a set number of grams of each per day rather than tracking calories alone. Because the same calories can come from very different foods, a macro target helps you get enough protein to protect muscle, enough carbohydrate to fuel training and enough fat for hormones and the absorption of fat-soluble vitamins.

Alcohol also provides energy (7 kcal per gram) but is not counted as a macro here.

## How the grams are calculated

Each macro's share of calories is converted to grams using the standard Atwater factors — 4 kcal per gram for protein and carbohydrate, 9 kcal per gram for fat:

> grams = daily calories × percentage ÷ kcal per gram

The presets are:

| Diet style | Protein | Carbs | Fat |
|---|---|---|---|
| Balanced | 25% | 50% | 25% |
| Low-carb | 35% | 25% | 40% |
| High-protein | 40% | 35% | 25% |
| Keto | 20% | 5% | 75% |

The balanced preset sits inside the Acceptable Macronutrient Distribution Ranges set by the US National Academies for adults (protein 10–35%, carbohydrate 45–65%, fat 20–35%). The other presets deliberately step outside them, and the calculator points this out. If you don't know your calorie target, choose *Calculate for me*: it uses the Mifflin-St Jeor equation, your activity level and your goal.

## Worked example

With the default 2,000 kcal per day and the balanced split:

- Protein: 2,000 × 25% ÷ 4 = **125 g**
- Carbs: 2,000 × 50% ÷ 4 = **250 g**
- Fat: 2,000 × 25% ÷ 9 = **56 g**

Spread over three meals, that is about 42 g of protein, 83 g of carbohydrate and 19 g of fat per meal, or roughly 667 kcal each. Switching to keto at the same calories gives 100 g protein, 25 g carbohydrate and 167 g fat.

## Choosing a split

There is no single best macro ratio — for weight loss, research consistently shows that total calories and adherence matter more than the exact split. A sensible approach is to set protein first (about 1.2–2.0 g per kg of body weight for active people; see the [protein calculator](https://calculatorsplatform.com/c/protein/)), keep fat at no less than about 20% of calories, and fill the rest with carbohydrate according to your training and preferences.

Ketogenic diets restrict carbohydrate to roughly 20–50 g a day; they can work for some people but are harder to sustain and are not suitable for everyone, including people taking certain diabetes medications. Talk to a doctor or registered dietitian before making major changes.

## Frequently asked questions

### What is the best macro ratio for weight loss?

The one you can stick to while staying in a calorie deficit. Higher protein helps with fullness and muscle retention, so the high-protein preset is a popular choice.

### Why does fat have more calories per gram?

Fat is a denser energy store: it yields about 9 kcal per gram, compared with about 4 kcal for protein and carbohydrate.

### Should I count fiber as a carb?

Food labels in the US include fiber in total carbohydrate; many keto plans count net carbs (total minus fiber) instead. Be consistent with whichever method you choose.

### How many meals should I split my macros into?

Meal frequency matters little for total results. Spreading protein over three or more meals of roughly 20–40 g each is a practical approach for muscle building.

## Sources

- [National Academies — Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids](https://nap.nationalacademies.org/catalog/10490/)
- [USDA — Dietary Guidelines for Americans 2020–2025](https://www.dietaryguidelines.gov/)
- [FAO — Food energy: methods of analysis and conversion factors](https://www.fao.org/4/y5022e/y5022e00.htm)

*Disclaimer: This calculator is for general information only and is not a substitute for professional medical advice, diagnosis or treatment. Formulas give population-based estimates; consult a doctor or registered dietitian about your own health.*

## Related calculators

- [TDEE Calculator](https://calculatorsplatform.com/c/tdee/index.md)
- [Protein Intake Calculator](https://calculatorsplatform.com/c/protein/index.md)
- [Calorie Deficit Calculator](https://calculatorsplatform.com/c/calorie-deficit/index.md)
- [BMR Calculator](https://calculatorsplatform.com/c/bmr/index.md)
- [Lean Body Mass Calculator](https://calculatorsplatform.com/c/lean-body-mass/index.md)
- [Body Fat Calculator](https://calculatorsplatform.com/c/body-fat/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/macro/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
