Money-saving & comparison

Price Per Everything

Compare products by price per gram, use, serving, hour or year of life.

Shown in results only; no conversion is performed.

Products (required)

Quantity is in the chosen basis (e.g. 500 for 500 g, 30 for 30 uses). Waste % reduces the usable quantity.

Products
#ProductPriceQuantityUnit labelWaste %
1
2
3
4

Try an example: Coffee: small vs. large bag · Shoes: cost per wear

How it works

Enter two or more products with their price and quantity (grams, uses, servings, hours or years). Price Per Everything normalises them to the same basis, accounts for waste, and ranks them from cheapest to most expensive per unit.

  • Usable quantity = quantity × (1 − waste %).
  • Price per unit = price ÷ usable quantity, unrounded internally; displayed with 4 significant digits.
  • Products are ranked by price per unit; ties keep input order.

For scripts and AI agents

  • JSON API: POST https://pricepereverything.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://pricepereverything.usefulweb.site/mcp · tool name price_per_everything
Example request
curl -s -X POST https://pricepereverything.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"basis":"unit","currency":"EUR","products":[{"name":"Coffee 250 g","price":4.99,"quantity":250,"unit":"g"},{"name":"Coffee 1 kg","price":15.49,"quantity":1000,"unit":"g","wastePercent":10}]}'
Feedback