Skip to main content

Notice Send us your feedback to help us improve this service.

Macro Calculator

Calculate your ideal protein, carb, and fat intake based on calories.

What this calculator does

This tool splits a daily calorie target into grams of protein, carbohydrate and fat. Choose one of three diet styles: balanced, keto or high-protein.

It is handy if you track food in an app or read nutrition labels and want gram targets to aim for. If you do not know your calorie target yet, start with the calorie calculator.

How we work it out

Each diet style uses a fixed split of your calories:

  • Balanced: 30% protein, 40% carbs, 30% fat.
  • Keto: 20% protein, 5% carbs, 75% fat.
  • High-protein: 40% protein, 30% carbs, 30% fat.

We then turn calories into grams. Protein and carbohydrate have 4 calories per gram. Fat has 9. So 600 calories of protein becomes 150 grams. Each result is rounded to the nearest gram.

How the three styles compare with Health Canada's ranges

Health Canada sets healthy ranges for adults, called Acceptable Macronutrient Distribution Ranges. They are 45% to 65% of calories from carbohydrate, 10% to 35% from protein and 20% to 35% from fat.

  • Balanced is close but not fully inside them. Its carbs, at 40%, sit below the range.
  • High-protein goes above the protein range and further below the carb range.
  • Keto is far outside on both carbs and fat. It is a special diet, not an everyday pattern.

This does not mean a style is wrong for you. It means none of them matches the general advice for Canadian adults. You can use the gram numbers as a starting point and adjust them toward those ranges.

Common mistakes

  • Forgetting fibre. Carbs from whole grains, beans, vegetables and fruit come with fibre. Sugar does not. The grams look the same in this tool.
  • Leaving out alcohol. Drinks have calories too, but they fit into none of the three groups here.
  • Chasing exact numbers. Being a few grams off each day is fine. Aim to hit your targets on average over a week.

Before a big change

Keto and very high-protein diets are big changes from how most people eat. If you have diabetes, kidney disease, heart disease or another condition, or you take medicine, talk to your doctor before you try one. If you are pregnant, breastfeeding or under 18, a registered dietitian can set targets that meet your needs.

What this does not include

  • Fibre, vitamins and minerals
  • Meal timing and how you spread food through the day
  • The quality of your food, such as whole grains versus sugar
  • Alcohol, which adds calories outside protein, carbs and fat
  • Your body weight. Protein needs are often set per kilogram, which this tool does not ask for

Common questions

Do macros matter more than calories?

For weight change, total calories matter most. The split still matters for your health and how you feel. Protein and fibre help you feel full, and enough protein helps you keep muscle while you lose weight. Food quality matters too, whatever split you choose.

Is the keto option safe?

Keto at 5% carbs is far below Health Canada's healthy range, and well under the 130 grams of carbohydrate a day it recommends for adults. Some people follow it under medical care. If you have diabetes or kidney problems, or you are pregnant, do not start keto without your doctor.

Which diet style should I choose?

If you have no special reason, the balanced style is the closest of the three to Health Canada's ranges. High-protein can suit people who lift weights or want to feel fuller on fewer calories. Whichever you pick, treat the results as a guide and adjust them to how you feel and perform.

Why is fat in fewer grams than carbs?

Fat holds more energy. Each gram has 9 calories, compared with 4 for protein and carbohydrate. So the same share of calories gives you fewer grams of fat. In the balanced style, protein and fat both get 30% of calories, but fat ends up with fewer than half as many grams.

Can I set my own percentages?

Not in this tool. It offers three fixed splits. You can work out your own by taking a share of your calories and dividing by 4 for protein or carbs, or by 9 for fat. For example, 25% of 2,000 calories from fat is 500 calories, or about 56 grams.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.