Przejdź do treści
Liczbnik
Current for 2026Methodology

Discount & Markup Calculator

The discount and markup calculator lets you instantly compute the sale price after a discount, find the percentage off from two known prices, reverse-calculate the original price, or work out markup and gross margin. Choose the calculation mode, enter the values you know, and get the result in seconds. The calculator uses standard retail and wholesale formulas used on invoices and in profitability analysis.

Na tej stronie

How the discount calculator works

The calculator supports four modes: 1. Sale price: sale_price = original_price x (1 - discount/100). Savings = original_price - sale_price. 2. Discount percentage: discount% = (original_price - sale_price) / original_price x 100. Requires original price > 0. 3. Original price: original_price = sale_price / (1 - discount/100). Requires discount < 100%. 4. Markup and margin: selling_price = cost x (1 + markup/100); margin% = profit / selling_price x 100; profit = selling_price - cost. All results are rounded to 2 decimal places.

Example: item priced at 200, 25% discount

A store offers a TV for 2000 PLN with a 15% discount. Sale price = 2000 x (1 - 0.15) = 1700 PLN; savings = 300 PLN. Markup mode: a wholesaler bought the TV for 1500 PLN and applies a 20% markup — selling price = 1500 x 1.20 = 1800 PLN, gross margin = 300/1800 = 16.67%, profit = 300 PLN.

Frequently asked questions

How do I calculate the price after a discount?

Sale price = Original price x (1 - discount% / 100). Example: original price 200, 15% discount — sale price = 200 x 0.85 = 170. Savings = 30.

How do I calculate the percentage discount from two prices?

Discount% = (Original price - Sale price) / Original price x 100. Example: original 120, sale price 90 — discount = (120-90)/120 x 100 = 25%.

How do I find the original price before a discount?

Original price = Sale price / (1 - discount% / 100). Example: item costs 85 after a 15% discount — original price = 85 / 0.85 = 100. Works for discounts below 100%.

Markup is calculated on cost: markup% = profit / cost x 100. Margin is calculated on selling price: margin% = profit / selling price x 100. Example: cost 100, price 125 — markup 25%, but margin only 20%. Margin is always lower than markup for the same profit amount.

Margin% = markup% / (100 + markup%) x 100. Example: markup 25% — margin = 25/125 x 100 = 20%. Reverse: markup% = margin% / (100 - margin%) x 100. Example: margin 20% — markup = 20/80 x 100 = 25%.

A percentage discount can be applied to either the net or gross price — the result is correct in both cases because the VAT rate does not change the percentage reduction. On invoices, discounts should be applied to the net price; VAT is then calculated on the net price minus the discount.

A discount is a permanent or individual price reduction (e.g. for loyal customers or bulk orders). A promotional price is typically a temporary reduction limited by time or stock availability. The calculator works for both scenarios.

Stacked discounts do not add arithmetically. Two discounts of 20% and 10% do not give 30% — they give 28%. Formula: final price = original price x (1 - r1/100) x (1 - r2/100). Example: 100 x 0.80 x 0.90 = 72 (effective discount 28%, not 30%).

Gross margin (%) = (Selling price - Cost) / Selling price x 100. It shows what percentage of revenue remains after covering the direct cost of goods. A higher margin means more room to cover overheads and generate profit. Margin is preferred in retail analysis; markup is common in wholesale pricing.

The discount and markup calculator is useful for shoppers (how much will I save?), retailers and wholesalers (how to price with a target margin?), accountants (what was the original price?), and economics or business students learning the difference between discounts, markups, and margins.

Results are for informational purposes only and do not constitute commercial or tax advice. The calculator uses simplified arithmetic formulas — it does not account for volume discounts, tiered pricing, or scale effects. Consult an accountant or business adviser for commercial pricing decisions.

  • Profit margin and markup calculator

    Calculate profit margin percentage, markup, and unit profit for any product or service. Free online margin calculator for retailers, e-commerce, and businesses 2026.

  • Break-Even Calculator (BEP)

    Calculate your break-even point (BEP) in units and revenue. Enter fixed costs, selling price and variable cost per unit — get instant results. Free online tool.