Profit Margin Calculator
Calculate profit margin percentage and markup for a product or service. Enter the selling price and cost to get profit, margin %, and markup %.
Calculator · Business
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.
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.
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.
Sale price = Original price x (1 - discount% / 100). Example: original price 200, 15% discount — sale price = 200 x 0.85 = 170. Savings = 30.
Discount% = (Original price - Sale price) / Original price x 100. Example: original 120, sale price 90 — discount = (120-90)/120 x 100 = 25%.
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.
Indicative result
Calculate profit margin percentage and markup for a product or service. Enter the selling price and cost to get profit, margin %, and markup %.
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.
Business · 6 min
Everything a VAT invoice in Poland must contain in 2026: mandatory fields, deadlines, correction invoices, and the KSeF e-invoicing system.
· Liczbnik Editorial
Business · 7 min
A practical guide to deductible business expenses in Poland for sole traders (JDG): what qualifies, what doesn't, and how to document your costs correctly.
· Liczbnik Editorial
Business · 7 min
Complete guide to VAT registration in Poland 2026: thresholds, exemptions, the registration process, and what happens after you register.
· Liczbnik Editorial