Macro Calculator

Turn your daily calories into grams of protein, carbohydrate and fat, with presets for fat loss, muscle gain, low carb and keto.

How this works

Grams are calculated from your calories and the chosen split: protein and carbohydrate provide 4 calories per gram, fat provides 9.

Presets: Balanced 30/40/30, Fat loss 40/30/30, Muscle gain 30/45/25, Low carb 30/20/50 and Keto 25/5/70 (protein/carbs/fat). For general health, the Acceptable Macronutrient Distribution Ranges (10–35% protein, 45–65% carbs, 20–35% fat) are the usual guideline. Muscle gain sits within them; the other presets shift toward more protein or fewer carbs for a specific goal, so choose them deliberately.

Results are estimates for general information only and are not medical advice. Talk to your doctor or a registered dietitian before making major changes to your diet or exercise, especially if you are pregnant or have a health condition.

How do you calculate your macros?

Macros are the three nutrients that supply calories: protein, carbohydrate and fat. Calculating them takes two steps. Start with a daily calorie number, then split it into percentages and convert each share into grams.

The conversion is simple. Protein and carbohydrate each provide 4 calories per gram, and fat provides 9. So if 30% of a 2,000-calorie day comes from protein, that is 600 calories, or 150 grams.

Don’t have a calorie number yet? Run the calorie calculator first. Its result pre-fills this tool, so you can go straight to choosing a split.

The five presets, side by side

Here is what each preset looks like on a 2,000-calorie day. Your own grams will scale up or down with your calories.

Preset (protein/carbs/fat)ProteinCarbsFat
Balanced 30/40/30150 g200 g67 g
Fat loss 40/30/30200 g150 g67 g
Muscle gain 30/45/25150 g225 g56 g
Low carb 30/20/50150 g100 g111 g
Keto 25/5/70125 g25 g156 g

For context, the National Academies set Acceptable Macronutrient Distribution Ranges (AMDR) of 10–35% protein, 45–65% carbs and 20–35% fat. Splits inside those ranges suit most people.

Most presets step outside them on purpose. Even Balanced sits a little under the 45% carb floor. Fat loss pushes protein higher to help protect muscle while calories are lower, and low carb and keto trade carbs for fat by design. These can work well for many people, but they are a deliberate choice rather than the default. If you have diabetes, kidney disease or another health condition, talk to your doctor before trying keto or a very high-protein split.

Choosing a split that fits you

  • Not sure where to start: Balanced is a flexible middle ground that is easy to hit with ordinary meals.
  • Cutting body fat: Fat loss keeps you fuller, because protein is the most filling macro.
  • Training hard to add muscle: Muscle gain gives you extra carbs to fuel lifting sessions.
  • Prefer fewer starches: Low carb is a gentler option than keto that still allows fruit, beans and some grains.
  • Following a ketogenic diet: Keto keeps carbs low enough (about 25 g here) that most people reach ketosis. The keto calculator goes deeper on net carbs.

The best split is the one you can stick to for months. If keto leaves you miserable, a balanced plan you follow every day will beat it.

Hitting your numbers day to day

You don’t need to be exact. Landing within about 10 grams of your protein and carb targets, and 5 grams of fat, is close enough.

  1. Build each meal around a protein source first, such as chicken, fish, eggs, Greek yogurt, tofu or lentils.
  2. Add carbs based on your training, with more around workouts and less on rest days.
  3. Let fat fill the gap through cooking oil, nuts, avocado and dairy.
  4. Track for one or two weeks to learn what your portions look like, then ease off.

For ready-made ideas, the muscle-building meal plans include 25 high-protein recipes, and the 16 low-carb dinner recipes suit the low-carb and keto presets.

Frequently asked questions

What is the best macro ratio for weight loss?

Your total calories matter most for weight loss. Within that, a higher protein share like the 40/30/30 preset helps you stay full and keep muscle. Any split you can follow consistently will work.

How much protein should I eat in grams?

Percentages give a quick answer, but body weight gives a more personal one. The protein calculator sets a target in grams per kilogram based on your activity and goals, so you can check it against your macro result.

Do I need to count fiber in my carbs?

Fiber is part of your carbohydrate total, so it counts toward your carb grams. On keto, many people track net carbs (total carbs minus fiber) instead.

Should my macros change on rest days?

Keeping them the same is simplest and works well for most people. Some lifters cut carbs on rest days and raise them on training days, an approach the carb cycling calculator can plan for you.