Leftover Repurpose Portions Calculator Formula
Understand the math behind the leftover repurpose portions calculator. Each variable explained with a worked example.
Formulas Used
Meals from Protein
meals_from_protein = floor(leftover_protein_oz / target_protein_oz)Meals from Grain
meals_from_grain = floor(leftover_grain_cups / target_grain_cups)Maximum Complete Meals
limiting_factor = floor(leftover_protein_oz / target_protein_oz) < floor(leftover_grain_cups / target_grain_cups) ? floor(leftover_protein_oz / target_protein_oz) : floor(leftover_grain_cups / target_grain_cups)Veggies per Repurposed Meal
veggie_per_meal = (floor(leftover_protein_oz / target_protein_oz) < floor(leftover_grain_cups / target_grain_cups) ? floor(leftover_protein_oz / target_protein_oz) : floor(leftover_grain_cups / target_grain_cups)) > 0 ? round(leftover_veggie_cups / (floor(leftover_protein_oz / target_protein_oz) < floor(leftover_grain_cups / target_grain_cups) ? floor(leftover_protein_oz / target_protein_oz) : floor(leftover_grain_cups / target_grain_cups)) * 10) / 10 : 0Variables
| Variable | Description | Default |
|---|---|---|
leftover_protein_oz | Leftover Protein(oz) | 16 |
leftover_grain_cups | Leftover Grain/Starch(cups) | 3 |
leftover_veggie_cups | Leftover Vegetables(cups) | 2 |
target_protein_oz | Protein per New Meal(oz) | 4 |
target_grain_cups | Grain per New Meal(cups) | 0.75 |
How It Works
How to Plan Meals from Leftovers
Formula
Meals from Protein = floor(Leftover oz / Target oz per meal)
Meals from Grain = floor(Leftover cups / Target cups per meal)
Complete Meals = min(Meals from Protein, Meals from Grain)
The limiting ingredient determines how many complete meals you can assemble. Any excess of one component can be used in simpler dishes (grain bowls, salads, wraps).
Repurposing Ideas
Worked Example
16 oz leftover chicken, 3 cups rice, 2 cups mixed veggies.
leftover_protein_oz = 16leftover_grain_cups = 3leftover_veggie_cups = 2target_protein_oz = 4target_grain_cups = 0.75
- 01Meals from protein = floor(16 / 4) = 4
- 02Meals from grain = floor(3 / 0.75) = 4
- 03Complete meals = min(4, 4) = 4 meals
- 04Veggies per meal = 2 / 4 = 0.5 cups each
- 05You can make 4 chicken rice bowls with veggies.
Ready to run the numbers?
Open Leftover Repurpose Portions Calculator