Profit margin calculator
Work out the margin and markup from a cost and a price, or the price that gives the margin or markup you want. Add a VAT rate to see the price with VAT, kept apart from your profit. The result updates as you type.
Work out margin and price
Nothing you enter leaves this page.
Margin
- Selling price (before VAT)
- Cost
- Profit per unit
- Margin
- Markup
- VAT
- Price with VAT
The formulas the margin calculator uses.
Margin and markup describe the same profit in two ways. The calculator uses plain arithmetic, the same for any country and currency.
- Margin
- (Price − cost) ÷ price × 100: the profit as a share of the price.
- Markup
- (Price − cost) ÷ cost × 100: the profit as a share of the cost.
- Price from a target margin
- Cost ÷ (1 − margin ÷ 100). A cost of 70 at a 30% margin: 70 ÷ 0.7 = 100.
- Price from a target markup
- Cost × (1 + markup ÷ 100). A cost of 70 at a 30% markup: 70 × 1.3 = 91.
- Margin and markup
- Markup = margin ÷ (1 − margin), so a 30% margin is a 42.86% markup. Margin = markup ÷ (1 + markup), so a 30% markup is a 23.08% margin.
- VAT
- VAT = price × rate; the price with VAT is the price + VAT. VAT is not part of the profit: a VAT-registered business passes it on to the tax authority.
- Rounding
- Amounts are shown with 2 decimals and percentages with up to 2.
Common questions about margin and markup.
What is the difference between margin and markup?
Margin is profit as a share of the price; markup is profit as a share of the cost. The same profit gives two different percentages: an item that costs 70 and sells for 100 makes 30, which is a 30% margin and a 42.86% markup.
How much do I mark up to get a 30% margin?
Divide the cost by 0.7, which is a markup of 42.86%. A cost of 70 becomes a price of 100. Adding 30% to the cost gives 91, a margin of only 23.08%.
Can a margin be more than 100%?
No. Margin is a share of the price, so it stays under 100% while the cost is above zero. Markup has no upper limit: selling for 300 something that costs 100 is a 200% markup and a 66.67% margin.
Is this gross margin or net margin?
It is the gross margin on a sale: the price less the direct cost of what you sold. Net margin also takes off overheads such as rent, software and the pay of staff who do not deliver the work. To see how many sales cover your overheads, use the break-even calculator.
Should VAT be in the price when I work out margin?
No, if your business is registered for VAT. The VAT you charge goes to the tax authority, so work out the margin on the price and cost before VAT. The calculator adds VAT on top and shows it separately.
How does a discount change the margin?
A discount comes straight off the profit. At a cost of 70 and a price of 100, a 10% discount brings the price to 90 and the margin from 30% down to 22.22%.
Margin per project, from the hours people log.
Tempaxis works out revenue, cost and margin from the hours people log at their cost and bill rates. The profitability report is on every plan; live margin against a target, per project and client, comes with invoicing on the Team plan and above.
- Revenue, cost, margin and margin % per project in the profitability report
- Live margin per project and client, against a target margin
- Job costing for each project
- A service catalogue for your prices
Related free tools.
- Break-even calculatorUnits, sales or billable hours to cover costs
- Billable rate calculatorHourly and day rate from pay, costs and margin
- Quotation generatorQuotations with discount, VAT and terms in English and Arabic
- VAT calculatorAdd or remove VAT at Gulf, UK and EU rates
- All free toolsFree calculators and generators that run in your browser.
Questions? Talk to our team.
In Arabic or English. Ask about projects, billing, people and compliance, or about plans, and we will answer.