Compare package cost for the amount you will actually use
Hold a fictional consumed quantity fixed and compare total outlay, expected remainder and allocated cost without claiming uncertain leftovers will be used.
A lower purchased unit price does not always mean a lower cost for the food your plan actually uses. Hold the planned used quantity constant and show the full purchase outlay. Future use of a remainder should be an explicit scenario, not automatic savings.
Fix the demand before comparing the packages
Imagine the same fictional food is available in a 400 g pack for USD 4 and a 700 g pack for USD 5.60. Your defined plan uses 300 g, with no existing stock. Ignore fees, taxes and discounts. The small pack's purchased unit price is USD 1 per 100 g; the large pack's is USD 0.80.
If only the planned 300 g is ever used and the rest is discarded in this scenario, the relevant outlay per 100 g used is USD 4 divided by 300 times 100, or about USD 1.33, for the small pack. The large pack gives about USD 1.87 per 100 g used. Its lower shelf unit price does not offset the larger unused amount.
Keep an alternative reuse scenario separate
If all 700 g from the large pack is eventually used, the outlay per 100 g used returns to USD 0.80. That is a different assumption. It cannot be combined with the original 300 g-only plan to claim a saving already realized.
The small pack leaves 100 g after the initial plan, while the large leaves 400 g. Save those quantities as unallocated stock. Do not call them waste before their outcome is known. Likewise, a proportional bookkeeping allocation of USD 2.40 to the large pack's first 300 g is not the cash required at checkout, which remains USD 5.60.
State the scenario with the result
The NIST Unit Pricing Guide compares costs on matching quantity units. Here the used-quantity denominator is an explicit household scenario.
This calculation supplies no safe storage period and no reason to consume unwanted food. Suitability, storage and expected use need their own evidence. Compare food labels through Ingredi AI's official download page, and retain the purchased, allocated and ultimately used quantities as separate fields.