The Macronutrient Calculator estimates the amount of protein, carbohydrates, and fat a user may need each day to support their health and fitness goals. The calculation is based on factors such as age, gender, height, weight, activity level, and desired outcome (maintenance, weight loss, or weight gain).
The results provide a breakdown of daily calorie intake into recommended macronutrient ratios, helping users plan balanced meals tailored to their goals.
The following information will be collected from the user:
- Biological gender
- Age
- Weight
- Height
- Activity level
- Weight goal
Calculations
To determine the amount of macro nutrients required based on the answers of the user, the Basal Metabolic Rate (BMR) and Total Daily Energy Expenditure (TDEE) need to be determined first:
Basal Metabolic Rate (Men)
BMR = 66 + (6.23 * weight (lbs)) + (12.7 * height (inches)) - (6.8 * age (years))Basal Metabolic Rate (Women)
BMR = 665 + (4.35 * weight(lbs)) + (4.7 * height (inches)) - (4.7 * age (years))Total Daily Energy Expenditure
TDEE = BMR * Activity levelThe activity level multiplier is as follows:
| Activity level | Multiplier |
| Sedentary: little or no exercise | 1.2 |
| Lightly active: light exercise/sports; 1-3 days a week | 1.375 |
| Moderately active: moderate exercise/sports; 3-5 days a week | 1.55 |
| Very active: hard exercise/sports; 6-7 days a week | 1.725 |
| Super active: very hard exercise or physically demanding job | 1.9 |
Macronutrient distribution
Based on the weight goal specified by the user, the following table of macronutrient composition will be used to calculate macronutrient needs:
| Weight goal | Carbohydrates (%) | Protein (%) | Fat (%) |
| Weight loss | 40 | 30 | 30 |
| Maintain weight | 45 | 25 | 30 |
| Weight gain | 55 | 20 | 25 |
Macronutrient calculation:
Once the percentage of daily calories from each macronutrient is determined, convert these percentages to grams:
Calories from protein:
Grams of protein = (TDEE * protein percentage) / 4 Calories from carbohydrates:
Grams of carbohydrates = (TDEE * carbohydrate percentage) / 4Calories from fats:
Grams of fats = (TDEE * fat percentage) / 9Default Email Response:
Once the user's macronutrient requirements have been computed and they have submitted their info, an email with the following copy will be sent out (universal to all weight goals):
Macronutrients—protein, carbohydrates, and fats—are essential components of your diet that provide energy and support various bodily functions. The right balance of these nutrients can help you achieve your weight goals, whether it's losing, maintaining, or gaining weight.
Protein is crucial for building and repairing tissues, and it helps keep you feeling full.
Carbohydrates are the body's primary energy source, fueling your daily activities and workouts.
Fats are important for hormone production and nutrient absorption, and they provide a concentrated source of energy.
By adjusting your macronutrient ratio, you can tailor your diet to support your specific weight goals. Whether you're aiming to lose weight, maintain your current weight, or gain weight, understanding and managing your macronutrient intake is key to success.
To edit the copies of each email response, please see our help article on creating a calculator and editing the email templates.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article