Macro Ratio Calculator

Macro Ratio is evaluated from Daily Calorie Goal, Body Weight and Diet Type. The calculation reports Protein, Fat and Carbs.

Results

Thanks — we’ve logged this for review.

About the Macro Ratio Calculator

Macro Ratio is treated here as a quantitative relation between Daily Calorie Goal, Body Weight, Diet Type and Custom Carb% and Protein, Fat, Carbs and Protein calories.

The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.

Formula basis:
Calories from each macro = Total Calories x Macro%
Grams of Protein or Carbs = Calories / 4
Grams of Fat = Calories / 9
Protein per kg = Protein (g) / Body Weight (kg)

Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.

Formula & How It Works

The calculation applies the following relations exactly as recorded in the metadata:

Calories from each macro = Total Calories x Macro%
Grams of Protein or Carbs = Calories / 4
Grams of Fat = Calories / 9
Protein per kg = Protein (g) / Body Weight (kg)

Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.

Worked Examples

Example 1: Balanced Diet — 2,000 kcal, 75 kg

Inputs

calories: 2000 weight_kg: 75 diet_type: balanced
Protein: 150 g. Fat: 67 g. Carbs: 200 g. Protein calories: 600 kcal. Fat calories: 600 kcal. Carb calories: 800 kcal. Protein per kg body weight: 2 g/kg

With Daily Calorie Goal = 2,000, Body Weight = 75 and Diet Type = balanced as the stated inputs, the result is Protein = 150 g, Fat = 67 g and Carbs = 200 g. Each value corresponds to the declared output fields.

Example 2: High-Protein Muscle Building — 2,800 kcal, 85 kg

Inputs

calories: 2800 weight_kg: 85 diet_type: high_protein
Protein: 280 g. Fat: 93 g. Carbs: 210 g. Protein calories: 1,120 kcal. Fat calories: 840 kcal. Carb calories: 840 kcal. Protein per kg body weight: 3.29 g/kg

With Daily Calorie Goal = 2,800, Body Weight = 85 and Diet Type = high_protein as the stated inputs, the result is Protein = 280 g, Fat = 93 g and Carbs = 210 g. Each value corresponds to the declared output fields.

Example 3: Low-Carb Fat Loss — 1,700 kcal, 80 kg

Inputs

calories: 1700 weight_kg: 80 diet_type: low_carb
Protein: 149 g. Fat: 85 g. Carbs: 85 g. Protein calories: 595 kcal. Fat calories: 765 kcal. Carb calories: 340 kcal. Protein per kg body weight: 1.86 g/kg

With Daily Calorie Goal = 1,700, Body Weight = 80 and Diet Type = low_carb as the stated inputs, the result is Protein = 149 g, Fat = 85 g and Carbs = 85 g. Each value corresponds to the declared output fields.

Example 4: Ketogenic Diet — 2,200 kcal, 90 kg

Inputs

calories: 2200 weight_kg: 90 diet_type: keto
Protein: 138 g. Fat: 171 g. Carbs: 28 g. Protein calories: 550 kcal. Fat calories: 1,540 kcal. Carb calories: 110 kcal. Protein per kg body weight: 1.53 g/kg

With Daily Calorie Goal = 2,200, Body Weight = 90 and Diet Type = keto as the stated inputs, the result is Protein = 138 g, Fat = 171 g and Carbs = 28 g. Each value corresponds to the declared output fields.

Common Use Cases

  • Calculate protein, fat, and carb targets for a given calorie goal
  • Find macros for different diet styles (balanced, keto, high-protein)
  • Track IIFYM (If It Fits Your Macros) targets