Unit Price Calculator
"$5 for 100g vs $12 for 250g — which is cheaper?" Quick compare for grocery and online shopping. Unit prices computed automatically; the cheapest pick is highlighted.
How to Use
Type the price and amount for each product you want to compare. The name is optional. Click "+ Add" for up to 10 products.
Per-gram / per-ml / per-unit prices appear instantly. kg and L convert automatically. Within the same unit group, the cheapest gets a green "BEST" badge.
A summary card shows phrases like "A is 33% cheaper than B" so you know exactly how much you save.
FAQ
How do you compare different sizes?
The tool divides price by amount to give a per-gram / per-ml / per-unit price. Different units (kg vs g) are auto-converted to the same base.
Can I compare g and ml together?
Sort of — for water-like liquids 1 ml ≈ 1 g, so milk in g vs ml is roughly comparable. For grains and oils, they differ. This tool only highlights "cheapest" within the same unit group.
Are commas in prices OK?
Yes — both "5,000" and "5000" are accepted.
Should I enter the discounted price?
Enter the price you actually pay. For BOGO deals, enter the total amount you actually receive (e.g., a 500ml BOGO becomes "1000ml").
Is anything sent to a server?
No. Calculations stay in your browser; values auto-save to localStorage so they persist between visits (nothing leaves the page).