Normalize differently sized packs to one price per 100 comparable units and rank the cheapest against the most expensive.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Each selling price is divided by its quantity and multiplied by 100, then the normalized rows are ranked from lowest to highest. Percentage saving is the gap between the highest and lowest normalized prices divided by the highest price.
3.50 750 ml bottle,5.60 1000 ml bottle
Packs compared: 2 Best pack: 750 ml bottle Best price per100: 0.47 Worst pack: 1000 ml bottle Worst price per100: 0.56 Savings percent: 16.67
Grocery comparisons normalize cereal by grams, cleaning refills by millilitres, and office multi-packs by comparable sheets, batteries, or pens.