Grocery Calculator

A line-item grocery calculator with tax, discount, per-person split and live budget tracking — no signup or saved data.

951.0K uses Updated · 2026-05-13 Runs locally · zero upload
AD

How to Use Grocery Calculator

The Grocery Calculator is a lightweight cart totaler for shopping lists, shared meals and budget checks. Add each line item with quantity and price, then layer in tax, a discount amount, extra adjustments, budget and people count.

  1. Add items — name, quantity and unit price.
  2. Add or remove rows as you shop.
  3. Enter tax rate and any discount.
  4. Set budget and number of people to split.
  5. Read subtotal, tax, total and per-person share in real time.

Formula & Theory — Grocery Calculator

The Grocery Calculator sums line items first, subtracts the entered discount amount, applies tax to the discounted subtotal, then adds any extra adjustment such as delivery fee, bag fee or rounded cash difference.

subtotal = Σ qty_i × price_i
afterDiscount = max(subtotal - discountAmount, 0)
taxAmount = afterDiscount × taxRate / 100
total = afterDiscount + taxAmount + extra
perPerson = total / people

Assumptions and Limits

The calculator treats tax as a single blended rate and does not separate taxable from non-taxable groceries. It also does not store the list after refresh. If your store applies coupons before tax, bottle deposits, loyalty pricing or per-weight pricing, enter those effects as line prices or extra adjustments.

Use Cases for Grocery Calculator

The Grocery Calculator is useful for:

  • Roommate shops — Split one receipt across people before checkout.
  • Party planning — Estimate barbecue, potluck or picnic supplies.
  • Weekly budgets — Watch the remaining amount while adding items.
  • Unit-price comparisons — Enter normalized quantities to compare package sizes.

For a clean comparison, use the same unit for quantity across similar products, such as ounces, grams or packs.

Frequently asked questions about Grocery Calculator

Is sales tax applied before or after discounts?

In most US states tax applies after discounts; the calculator follows that convention.

Can I track per-100g unit prices?

Use the quantity field for grams or ounces and the price field for the per-unit price — the math works the same.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.

Does it save my list?

No — refreshing the page clears the cart. This keeps your shopping data private.