School Lunch Nutrition Calculator Formula
Understand the math behind the school lunch nutrition calculator. Each variable explained with a worked example.
Formulas Used
Total Lunch Calories
total_cal = sandwich_cal + fruit_servings * 60 + veggie_servings * 25 + dairy_cal + snack_calFruit (target: 1+ serving)
fruit_check = fruit_servingsVeggies (target: 0.75+ serving)
veggie_check = veggie_servingsEstimated Protein
est_protein = round(sandwich_cal * 0.07 + dairy_cal * 0.08 + snack_cal * 0.02)Variables
| Variable | Description | Default |
|---|---|---|
sandwich_cal | Sandwich / Main Item(cal) | 350 |
fruit_servings | Fruit Servings | 1 |
veggie_servings | Vegetable Servings | 0.5 |
dairy_cal | Dairy (milk, yogurt, cheese)(cal) | 100 |
snack_cal | Snack / Treat(cal) | 100 |
How It Works
How to Estimate School Lunch Nutrition
USDA Guidelines for School Meals (K-5)
For Packed Lunches
These guidelines provide a helpful target for home-packed lunches. A balanced lunch includes a protein-rich main item, a grain, at least one fruit serving, a vegetable, and a dairy item.
Calorie Estimates
Worked Example
PB&J sandwich (350 cal), 1 apple, half cup carrot sticks, yogurt (100 cal), granola bar (100 cal).
sandwich_cal = 350fruit_servings = 1veggie_servings = 0.5dairy_cal = 100snack_cal = 100
- 01Sandwich = 350 cal
- 02Fruit = 1 x 60 = 60 cal
- 03Veggies = 0.5 x 25 = 12.5 cal
- 04Dairy = 100 cal
- 05Snack = 100 cal
- 06Total = 350 + 60 + 12.5 + 100 + 100 = 622.5 cal
Ready to run the numbers?
Open School Lunch Nutrition Calculator