Free tool

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.

What one item or one job costs you, before VAT. Any currency: the results are in the same currency.

Before VAT.

Adds VAT on top of the price, shown separately. For example 5 in the UAE, 15 in Saudi Arabia or 20 in the UK.

How it works

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.

Spot a mistake? Tell us

Questions

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%.

In Tempaxis

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
See invoicing
Free tools

Add this calculator to your website

Copy this code into your page. The calculator runs in a frame with a link to this page; nothing your visitors enter is sent anywhere.

Use and share this page

Free to use. If you quote it in an article, a report or a class, please credit Tempaxis with a link. Copy this line:

Questions? Talk to our team.

In Arabic or English. Ask about projects, billing, people and compliance, or about plans, and we will answer.

Keyboard shortcuts

These keys work on every page. Single-key shortcuts do nothing while you type in a field.

Keyboard shortcuts
/Open search
Ctrl KOpen or close search (⌘ K on a Mac)
?Show this list
g then hGo to the home page
g then tGo to the free tools
↑ ↓In search: move between the box and the results
EnterIn search: open the first result
EscClose search, this list, the menus and the language menu
← →On a row of tabs: the previous or next tab

Turn them off if they get in the way of a screen reader or speech software. Ctrl K keeps working. The choice is kept in this browser only.