Discount & Markup Calculator
Calculate sale price, profit margin, markup, discounts and stacked discounts. Five modes: markup, margin, discount, reverse discount, and stacked (compounded) discounts — with a full breakdown.
Input
Output
| Metric | Value |
|---|---|
| No data yet | |
Guides
The Discount & Markup Calculator is a single tool for the five pricing questions retailers, resellers, and shoppers ask most often. Pick a mode, type in the numbers you know, and it instantly returns the sale price, profit, margin, markup, savings, or original price — plus a full breakdown you can copy or download as CSV.
What it does
Choose one of five calculation modes:
- Markup — enter your cost price and a markup percentage to get the sale price, profit, markup %, and the resulting profit margin.
- Margin — enter cost price and sale price to see your profit margin, markup %, and profit in dollars.
- Discount — enter an original price and a discount percentage to get the final price and how much you save.
- Reverse discount — you know the discounted price and the percentage off; it works backward to the original price and the discount amount.
- Stacked discounts — apply two or three percentages one after another (e.g. "20% off, then an extra 10%") and see the compounded final price, the effective single-discount equivalent, and a step-by-step breakdown.
How to use it
- Select a calculation mode.
- Fill in the fields shown for that mode — the form only asks for what each calculation needs.
- Read the result table. The top row is the headline answer; the rows below give the supporting figures.
- Use Copy or Download to export the breakdown as CSV for a spreadsheet or invoice.
All amounts are shown as plain formatted numbers so they work in any currency — read "$50.00", "€50.00", or "£50.00" as you prefer.
What is the difference between markup and margin?
They measure profit against different bases. Markup % is profit divided by cost — how much you add on top of what you paid. Margin % is profit divided by sale price — the share of the selling price that is profit. A 40% markup on a $50 cost gives a $70 sale price, which is only a 28.57% margin. Margin is always the smaller of the two.
Why don't stacked discounts add up?
Stacking "20% off then 10% off" is not a 30% discount. The second discount applies to the already-reduced price, not the original. 20% then 10% off $100 gives $72 — an effective discount of 28%, not 30%. The calculator shows this effective rate so you can compare stacked offers fairly.
Can I use it to un-discount a price?
Yes — that is the reverse discount mode. If you paid $80 after a 20% discount, it tells you the original price was $100 and you saved $20. Useful for reconstructing list prices from a sale tag.
Privacy
This calculator runs entirely in your browser. Every figure you enter is processed on your own device — nothing is uploaded, logged, or sent to a server, so your pricing and cost data never leave your computer.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/discount-markup-calculator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"calcMode": "markup",
"costPrice": "50",
"markupPercent": "40"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `discount-markup-calculator` tool (Discount & Markup Calculator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.