Skip to content
Hand-E Solutions, to the home page

Free tool

Discount calculator: work out the sale price

What does an item cost at 15% off? How many percent is $5 off? And how big is the discount in a reduced price? The calculator answers all three. It works out percentage discounts per unit and rounds down to the cent, the way Shopify's checkout does.

By Max Handrik · Updated October 13, 2026

What do you want to work out?

As in your store, for example 49.90

Result

Price after discount
$42.42
You save
$7.48

Rounded down like Shopify's checkout: 15% of this price is exactly $7.485. Shopify takes off $7.48 per unit.

How the calculator works

A discount is a reduction of the price, as a percentage or as a fixed amount. Everything is calculated in whole cents, and percentage discounts the way Shopify's checkout does it.

  • Price after discount: price minus discount. 15% of $49.90 is $7.485 on paper. Shopify cuts it to the cent per unit and takes off $7.48, so the item costs $42.42.
  • Percent off between two prices: original price minus sale price, divided by the original price. From $49.90 to $39.90 is $10.00 less, so 20.04% off.
  • Fixed amount: $5 off $49.90 is 10.02%. The calculator rounds the percentage to two decimals, never the amount.
  • Two discounts in a row don't add up: 10% and then another 10% on $100 leaves $81, which is 19% off, not 20%.
  • Nothing leaves your browser. The calculator runs entirely on this page. Your numbers are neither stored nor sent anywhere.

Creating the discount in Shopify

You create a percentage or fixed amount discount in Shopify under Discounts, as a code or automatic discount. Each discount has one minimum quantity or one minimum purchase amount. Several tiers like “10% off 3 or more, 15% off 5 or more” need a separate discount per tier without an app. What each tier costs and brings in is what the tiered discount calculator shows.

With Hand-E AI Discounts all tiers sit in one discount, and you create it from one sentence. The cart preview in the app calculates exactly like this calculator. A widget shows the discount on the product page.

Common questions

How do I calculate the percent off?
Divide the amount you save by the original price and multiply by 100. If an item drops from $49.90 to $39.90, you save $10.00. 10.00 divided by 49.90 is 0.2004, so 20.04% off.
What is $49.90 with 15% off?
$42.42. 15% of $49.90 is $7.485 on paper. Shopify cuts the discount per unit to the cent and takes off $7.48. A calculator that rounds would show $42.41.
Are 10% and another 10% the same as 20% off?
No, not when the second discount applies to the already reduced price. $100 minus 10% is $90, minus another 10% is $81. That is 19% less, not 20%.
Does the discount calculator store what I enter?
No. It calculates entirely in your browser. There is no account and no sign-in, and nothing you enter is sent anywhere.