Serving Size Calculator Formula
Understand the math behind the serving size calculator. Each variable explained with a worked example.
Formulas Used
Your Calories
your_calories = label_calories * ratioYour Protein
your_protein = label_protein * ratioServing Ratio
serving_ratio = ratioVariables
| Variable | Description | Default |
|---|---|---|
label_serving_g | Label Serving Size(g) | 30 |
your_serving_g | Your Serving Size(g) | 55 |
label_calories | Calories Per Label Serving(kcal) | 140 |
label_protein | Protein Per Label Serving(g) | 3 |
ratio | Derived value= your_serving_g / label_serving_g | calculated |
How It Works
How to Calculate Nutrients for Any Serving Size
Divide your actual serving by the label serving to get a ratio, then multiply each nutrient by that ratio.
Formula
Ratio = Your Serving / Label Serving
Your Nutrient = Label Nutrient x Ratio
Worked Example
Cereal label says 30g serving has 140 calories and 3g protein. You eat 55g.
label_serving_g = 30your_serving_g = 55label_calories = 140label_protein = 3
- 01Ratio = 55 / 30 = 1.83
- 02Your calories = 140 x 1.83 = 257 kcal
- 03Your protein = 3 x 1.83 = 5.5 g
Ready to run the numbers?
Open Serving Size Calculator