Calculate protein, carb, fat, and alcohol grams from calories, or estimate BMR, maintenance calories, and weight goal needs plus fiber and water targets.

Percentage of Calories Calculator

Enter calories and macros, or leave one percentage blank to auto-fill the remainder.

Percent to Grams
Grams to Percent
Calorie Target
Total: 100%

Percentage of Calories Formula

The percentage of calories calculator uses calorie-per-gram values to convert between macro percentages, calories, and grams. Protein and carbohydrate use 4 calories per gram. Fat uses 9 calories per gram. Alcohol uses 7 calories per gram.

Macro Calories = Total Calories * Macro Percent / 100
Macro Grams = Macro Calories / Calories Per Gram
Macro Percent = Macro Calories / Total Calories * 100
Total Macro Calories = Protein_g*4 + Carbs_g*4 + Fat_g*9 + Alcohol_g*7
Net Carbs = Total Carbs - Fiber
BMR_male = 10*kg + 6.25*cm - 5*age + 5
BMR_female = 10*kg + 6.25*cm - 5*age - 161
BMR_Katch = 370 + 21.6*Lean Body Mass_kg
Target Calories = BMR * Activity Factor * (1 + Goal Adjustment)
  • Total Calories: Your calorie budget, usually in kcal per day.
  • Macro Percent: The percent of calories assigned to protein, carbohydrate, fat, or alcohol.
  • Macro Calories: Calories supplied by one macro.
  • Macro Grams: The gram amount for one macro.
  • Calories Per Gram: 4 for protein, 4 for carbohydrate, 9 for fat, and 7 for alcohol.
  • Net Carbs: Total carbohydrate grams minus fiber grams.
  • BMR: Basal metabolic rate, or estimated calories burned at rest.
  • kg: Body weight in kilograms.
  • cm: Height in centimeters.
  • Lean Body Mass: Body weight minus estimated body fat weight.
  • Activity Factor: A multiplier for daily movement and exercise.
  • Goal Adjustment: A calorie increase or decrease for weight gain or weight loss.

Percent to Grams starts with total calories and macro percentages. It converts each percent into calories, then converts those calories into grams.

Grams to Percent starts with macro grams. It converts grams into calories, then divides each macro calorie amount by either the listed macro calories or your known total calories.

Calorie Target estimates BMR, applies an activity factor, adjusts for your goal, then converts your selected macro split into grams.

If you leave exactly one macro percentage blank in a percentage-based mode, the calculator fills the remaining percentage needed to make the total equal 100%.

Calorie Values and Common Macro Splits

Use these values to check why the same calorie percentage produces different gram amounts for fat than it does for protein or carbohydrate.

Nutrient Calories per gram Used for
Protein 4 kcal/g Protein calorie and gram targets
Carbohydrate 4 kcal/g Total carb or net carb calculations
Fat 9 kcal/g Fat calorie and gram targets
Alcohol 7 kcal/g Alcohol calorie estimates when included
Split Protein Carbs Fat Alcohol
Balanced 30% 40% 30% 0%
Higher carb 25% 50% 25% 0%
Lower carb 30% 20% 50% 0%
Keto style 25% 5% 70% 0%
Includes alcohol 20% 50% 25% 5%

Examples

Example 1: Convert calorie percentages to grams

You have a 2,000 kcal target and use a 30% protein, 40% carbohydrate, 30% fat, and 0% alcohol split.

  • Protein calories = 2,000 × 30% = 600 kcal. Protein grams = 600 ÷ 4 = 150 g.
  • Carb calories = 2,000 × 40% = 800 kcal. Carb grams = 800 ÷ 4 = 200 g.
  • Fat calories = 2,000 × 30% = 600 kcal. Fat grams = 600 ÷ 9 = 66.7 g.

Example 2: Convert grams to percentages

You enter 120 g protein, 200 g carbs, 67 g fat, and 0 g alcohol. You do not enter a known total calorie value.

  • Protein calories = 120 × 4 = 480 kcal.
  • Carb calories = 200 × 4 = 800 kcal.
  • Fat calories = 67 × 9 = 603 kcal.
  • Total macro calories = 480 + 800 + 603 = 1,883 kcal.
  • Protein = 480 ÷ 1,883 × 100 = 25.5%.
  • Carbs = 800 ÷ 1,883 × 100 = 42.5%.
  • Fat = 603 ÷ 1,883 × 100 = 32.0%.

FAQ

Why do fat grams look lower than carb or protein grams?

Fat has more calories per gram. One gram of fat has 9 calories, while protein and carbohydrate each have 4 calories per gram. For the same calorie percentage, fat will produce fewer grams.

Should you use total carbs or net carbs?

Use total carbs if you want your percentages to match standard food label carbohydrate totals. Use net carbs if you are tracking digestible carbohydrates and subtracting fiber. Net carbs are calculated as total carbs minus fiber.

Why do macro calories not always match total calories?

Food labels use rounding, and some calories may come from items you did not enter. If you enter a known total calorie value in grams-to-percent mode, the calculator uses that number as the denominator and shows untracked or rounding calories separately.