Free Online Macro Calculator.
Use this macros calculator to work out how many grams of protein, carbohydrates and fat you should eat each day based on your calorie target and preferred macro split.
Macros Calculator
Enter your daily calories and choose a macro split to see how many grams of protein, carbs and fat you should eat per day.
Calculation basis: Protein and carbs contain 4 calories per gram, and fat contains 9 calories per gram.
Macros Calculator
Use this macros calculator to work out how many grams of protein, carbohydrates and fat you should eat each day based on your calorie target and preferred macro split. Whether you want a balanced diet, a higher-protein plan or a lower-carb approach, this calculator gives you instant daily macro targets in grams.
What is a macros calculator?
A macros calculator helps you convert your daily calorie intake into the three main macronutrients:
- Protein
- Carbohydrates
- Fat
Because each macronutrient contains a different number of calories per gram, the calculator shows how many grams of each you need to match your selected percentage split.
Calories per gram:
- Protein: 4 calories per gram
- Carbohydrates: 4 calories per gram
- Fat: 9 calories per gram
This makes it much easier to plan meals, track nutrition and build a diet that fits your goals.
How to use this macros calculator
Using the calculator is simple:
- Enter your daily calories
- Choose a macro preset or enter your own custom percentages
- Check that your percentages add up to 100%
- View your daily grams of protein, carbs and fat instantly
The results update automatically as you type, so you can test different calorie and macro combinations quickly.
Example macro calculation
Let’s say your calorie goal is 2,000 calories per day and you choose a 30% protein / 40% carbs / 30% fat split.
Step 1: Work out calories from each macro
- Protein: 2,000 × 30% = 600 calories
- Carbs: 2,000 × 40% = 800 calories
- Fat: 2,000 × 30% = 600 calories
Step 2: Convert calories into grams
- Protein: 600 ÷ 4 = 150g
- Carbs: 800 ÷ 4 = 200g
- Fat: 600 ÷ 9 = 66.7g
So your daily macro targets would be:
- Protein: 150g
- Carbs: 200g
- Fat: 66.7g
Common macro splits
There is no single perfect macro ratio for everyone. The right split depends on your preferences, training style and calorie target.
Balanced split
A balanced approach often looks like:
- 30% protein
- 40% carbs
- 30% fat
This is a common starting point for general nutrition.
High-protein split
A higher-protein approach may look like:
- 35% protein
- 35% carbs
- 30% fat
This can suit people who want more protein in their diet.
Low-carb split
A lower-carb setup may look like:
- 35% protein
- 25% carbs
- 40% fat
Some people prefer this to reduce carbohydrate intake.
Keto-style split
A keto-style split often looks like:
- 25% protein
- 5% carbs
- 70% fat
This is much lower in carbohydrates and much higher in fat than a standard balanced diet.
Why macro tracking can be useful
Tracking macros can help you:
- understand where your calories are coming from
- plan meals more accurately
- compare different diet approaches
- keep protein intake consistent
- make calorie targets more practical
For many people, calories matter most overall, but macros can help improve structure and meal planning.
Protein, carbs and fat explained
Protein
Protein supports muscle repair and growth and is found in foods such as meat, fish, eggs, dairy, tofu, beans and lentils.
Carbohydrates
Carbs are a major source of energy and are found in foods such as rice, oats, bread, pasta, fruit, vegetables and beans.
Fat
Fat supports hormone function and helps with nutrient absorption. It is found in foods such as nuts, seeds, oils, avocados, eggs, and dairy products.
Tips for choosing your macro split
When selecting your macro percentages, keep these points in mind:
- your percentages should always total 100%
- changing calories will also change your macro grams
- fat has more calories per gram than protein or carbs
- a simple starting point is often easier to follow than a highly restrictive split
If you are unsure where to begin, a balanced split is usually a practical starting point for general use.
Macros calculator formula
This calculator uses the following formulas:
Protein grams
(Calories × Protein %) ÷ 4
Carb grams
(Calories × Carb %) ÷ 4
Fat grams
(Calories × Fat %) ÷ 9
These formulas convert your selected calorie share for each macronutrient into grams per day.
FAQs about macro calculator
How do I calculate my macros?
You calculate your macros by splitting your daily calorie target into percentages for protein, carbs and fat, then converting each one into grams. Protein and carbs have 4 calories per gram, while fat has 9 calories per gram.
What should my macro percentages be?
There is no universal macro split that works for everyone. A balanced split such as 30% protein, 40% carbs and 30% fat is a common starting point, but you can adjust it based on your preferences.
Do macro percentages need to add up to 100%?
Yes. Your protein, carbohydrate and fat percentages should always total 100%; otherwise, your calculation will not be accurate.
Is this macros calculator free?
Yes. This is a free online macros calculator you can use as often as you like.
Can I use this calculator for meal planning?
Yes. Once you know your daily macro grams, you can divide them among meals and snacks to support meal planning.
Does this calculator tell me how many calories I need?
No. This calculator converts a calorie target into macro grams. If you already know your daily calories, it helps you break that number into protein, carbs and fat.