DEV Community

Gary Talbot
Gary Talbot

Posted on

I made a grocery unit price checker because shelf math is a scam

I built a small free tool called Unit Price Checker because grocery shelf tags love doing little acts of theater.

It compares items with mixed units, pack counts, coupons, and target amounts, and it handles the annoying real-world case where the best unit price is not the cheapest actual checkout.

A few things I added that made it feel more useful than a normal calculator:

  • starter grocery scenarios so it doesn't open like an abandoned warehouse
  • shareable result links
  • a split-winner explainer when the aisle math and register math disagree
  • optional shelf-tag auditing if a store's claimed unit price looks suspicious

Live tool: https://garytalbot.github.io/unit-price-checker/

If anyone wants to throw weird grocery edge cases at it, please do. Retail math is one of the last legal scams with fluorescent lighting.

Top comments (0)