VAT, markup and margin calculator
Add or remove VAT, plan your selling price and see how a discount affects your gross trading profit.
Calculation breakdown
Warning: after discount and commission, the remaining net revenue does not cover cost. This sale produces a trading loss.
No registration. Your inputs are calculated in your browser and are not sent to the server.
Markup and margin are different
Markup (%) = (net price − cost) / cost × 100. Margin (%) = (net price − cost) / net price × 100. With a cost of 80 and a net selling price of 100, markup is 25% and margin is 20%.
After commission: profit = discounted net price − cost − commission. Actual markup = profit / cost × 100; actual margin = profit / discounted net price × 100. For target margin, the before-discount-and-commission option retains the original calculation.
For markup: discounted net price = cost × (1 + markup / 100) / (1 − effective commission / 100). The price before discount also compensates for the entered discount, retaining the target effective markup.
In after-commission mode: discounted net price = cost / (1 − margin / 100 − effective commission / 100). For a gross fee basis, effective commission = commission × (1 + VAT / 100). Divide by (1 − discount / 100) to obtain the price before discount.
Net → gross: net × (1 + VAT / 100). Gross → net: gross / (1 + VAT / 100). VAT = gross − net.
Estimate using VAT on the full selling price, excluding special VAT margin schemes. Gross trading profit is not net profit: overheads and taxes are excluded. Choose the VAT rate applicable to your transaction.
Amounts display two decimals. Totals use unrounded values; documents rounded per unit may differ by a few cents.
Source for the 21% and 11% presets: ANAF