Health

Macro Calculator

Live

Estimate adult daily calories and a 30/40/30 protein, carbohydrate, and fat split from body and activity inputs.

About Macro Calculator

Build a transparent daily nutrition starting estimate from adult age, formula sex category, weight, height, usual activity level, and weight-direction goal. The dashboard separates resting energy from activity-adjusted maintenance, applies a fixed deficit or surplus when selected, and converts a clearly labeled 30% protein, 40% carbohydrate, and 30% fat split into grams. This population-based estimate is not individualized nutrition or medical advice and is not intended for minors, pregnancy, breastfeeding, or clinical conditions.

Set up Macro Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Choose the sex category required by the selected estimation formula.

Enter age in completed years for the metabolic-rate estimate.

Enter body weight in kilograms for the metabolic-rate estimate.

Enter height in centimeters for the formula.

Choose the activity level that best reflects your usual week, not one unusually active day.

Choose whether the calorie and macro target should support loss, maintenance, or gain.

Macro Calculator: target calories

Choose the values that apply, then calculate macros.

Calculation method

Estimate resting energy with Mifflin-St Jeor, multiply by an activity factor, apply the selected fixed goal adjustment, then convert a 30/40/30 calorie split into grams.

How it works

Resting energy uses the Mifflin-St Jeor equation: 10 × weight kg + 6.25 × height cm − 5 × age, plus 5 for the male formula category or minus 161 for the female category. The result is multiplied by the chosen activity factor. Lose subtracts 500 kcal/day, maintain makes no adjustment, and gain adds 300 kcal/day. Calories are then allocated 30% protein, 40% carbohydrate, and 30% fat, using 4 kcal/g for protein and carbohydrate and 9 kcal/g for fat.

Practical guide

Estimate daily protein, carbohydrate, and fat targets from a calorie target and selected split.

Macro Calculator worked example

The page’s example models turning a daily calorie estimate into gram targets. Change one assumption at a time so the effect on target calories, protein g and carbs g remains easy to explain.

Treat the displayed target calories, protein g and carbs g as the result of the example inputs, not as a default recommendation for a different situation.

Assumptions

  • The entered sex, age and weight (kg) describe the same scenario and use the units shown beside each field.
  • The calculation applies the stated method consistently and rounds only for display unless the tool says otherwise.

Limitations

  • Resting energy uses the Mifflin-St Jeor equation: 10 × weight kg + 6.25 × height cm − 5 × age, plus 5 for the male formula category or minus 161 for the female category. The result is multiplied by the chosen activity factor. Lose subtracts 500 kcal/day, maintain makes no adjustment, and gain adds 300 kcal/day. Calories are then allocated 30% protein, 40% carbohydrate, and 30% fat, using 4 kcal/g for protein and carbohydrate and 9 kcal/g for fat.
  • The result is an educational estimate and does not replace an official disclosure or qualified professional review.

Common mistakes

  • using percentages that do not total 100 or forgetting calories per gram.
  • Changing sex without checking the other assumptions can make the comparison misleading.
When to use Macro Calculator
Approach Best for Trade-off
Macro Calculator A transparent calculation that reports target calories, protein g and carbs g. Accuracy depends on the entered assumptions and the documented method.
a registered dietitian’s plan tailored to medical and performance needs Situations that need different inputs, verification, or broader context. May take longer, cost more, or produce a result that is not directly comparable.

Examples

Macro Calculator: Adult estimate

Example input
{
    "sex": "male",
    "age": 30,
    "weight_kg": 70,
    "height_cm": 175,
    "activity": "moderate",
    "goal": "maintain"
}
Expected result
{
    "calories": 2556,
    "protein_g": 191.7,
    "carbs_g": 255.6,
    "fat_g": 85.2
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. A new predictive equation for resting energy expenditure in healthy individuals
  2. NIH Body Weight Planner

Frequently asked questions

What does the formula sex category affect?

Mifflin-St Jeor uses different constants for its male and female equation categories. Choose the category applicable to the estimate you intend to use; ask a qualified clinician if neither is appropriate for you.

Where do the macro gram targets come from?

The calculator assigns 30% of target calories to protein, 40% to carbohydrate, and 30% to fat, then divides by 4, 4, and 9 kcal per gram respectively. This is one fixed planning split, not a universal prescription.

Why can actual calorie needs differ?

Predictive equations and activity categories estimate population averages. Body composition, movement, training, health conditions, medications, measurement error, and metabolic adaptation can change actual needs.

Who should not rely on this calculator alone?

It is not intended for minors, pregnancy, breastfeeding, eating-disorder care, or clinical nutrition needs. Seek individualized guidance from a qualified health professional.