ILInvoiceLuxeAll toolsContact
home Home

← Back to tools

← Tools

Profit Margin Calculator

Find your profit margin, markup and the selling price you need. Enter your cost and either a price or a target, and the numbers update as you type.

Selling price-
Profit-
Profit margin-
Markup-

Formula

Profit = Selling price - Cost
Margin % = Profit / Selling price x 100
Markup % = Profit / Cost x 100
Price from margin = Cost / (1 - Margin %)

Margin vs markup: what is the difference?

Margin is profit as a share of the selling price. Markup is profit as a share of your cost. A product that costs $40 and sells for $100 has a 60% margin but a 150% markup. Mixing the two up is the most common pricing mistake, and it can leave you with far less profit than you planned.

Example

Cost $40, target margin 40%. Selling price = 40 / (1 - 0.40) = $66.67. Profit is $26.67, which is 40% of the price and about 66.7% markup.

Margin and markup for UK pricing

UK sole traders often mix up margin and markup. Margin is profit as a share of the selling price. Markup is profit as a share of cost. The same pound of profit produces a smaller margin percentage than markup percentage, so quoting “30% on top” is not the same as keeping a 30% margin after VAT-exclusive costs.

Work out the cost of materials, software, travel and your own time first. Then set a target margin that still leaves room if a client asks for a small discount. Many service businesses in the UK aim for a healthy margin on labour, while product resellers often run thinner margins and make it up on volume.

Figures stay on your device. Use them as a pricing guide, not as formal accounts advice. For VAT treatment, check HMRC guidance or your accountant.

Frequently asked questions

How do I calculate profit margin?

Subtract your cost from the selling price to get profit, then divide the profit by the selling price and multiply by 100. For example, a $100 price with a $40 cost gives $60 profit and a 60% margin.

What is a good profit margin?

It depends on the industry. Many retailers work with 20-50% gross margin, while software and service businesses often aim higher. Compare against your own sector and your fixed costs.

How do I find the selling price for a target margin?

Divide your cost by (1 minus the margin as a decimal). With a $40 cost and a 40% margin target, the price is $40 / 0.60 = $66.67.

Is margin or markup better for pricing?

Use margin to decide how much of each sale you keep, and markup to apply a mechanical uplift to a cost. They describe the same profit, but margin is the one that tells you what share of your income is profit.

Should VAT be included when calculating profit margin?

No. Calculate margin on prices excluding VAT, because VAT belongs to the tax authority and is not part of your income or profit.

How do I find the cost price from the selling price and margin?

Multiply the selling price by one minus the margin. For a £100 price and a 40% margin, the cost is £100 × 0.60 = £60.

How much does a discount reduce my profit?

More than most people expect. If your margin is 30% and you give 10% off, your margin falls to about 22%, and your profit per sale drops by roughly a third.

Profit margin and markup: the complete pricing guide

Margin and markup are two ways of describing the same profit, and mixing them up is one of the most common pricing mistakes in small businesses. This guide explains both, shows how to price for a target margin, and explains how VAT fits in. Use the profit margin calculator above to check any number as you read.

Margin versus markup in one minute

An item that costs £60 and sells for £100 has a profit of £40. The margin is 40% but the markup is 66.7%. A 40% markup on the same £60 cost would give a £84 price, which is only a 28.6% margin. People who think "I add 40%, so I make 40%" end up with less profit than they planned.

How to price for a target margin

Divide the cost by one minus the margin you want. For a 30% margin on a £45 cost: £45 ÷ (1 − 0.30) = £64.29. Check it: £64.29 − £45 = £19.29, and £19.29 ÷ £64.29 = 30%. Never calculate the price by multiplying the cost by 1.30. That gives a 30% markup (£58.50), which is only a 23% margin.

Rule of thumb: margin is always smaller than markup, and a 50% margin needs a 100% markup (you double the cost).

Gross margin and net margin

Gross margin only subtracts the direct cost of the product or job: materials, stock, subcontractors, card fees. Net margin also subtracts overheads such as software, rent, insurance, marketing and your own time. A job can look healthy at a 60% gross margin and still lose money once overheads are shared out. Use gross margin to price individual items and net margin to judge the whole business.

Margins and VAT

Work out margin on the price excluding VAT. VAT is collected for HMRC, so it is neither income nor profit. If a customer pays £120 including 20% VAT, your price is £100 and your margin is calculated on £100. Putting the VAT-inclusive price into a margin formula makes your profit look better than it is.

What is a good profit margin?

It depends on the sector. Retail and wholesale often run on thin margins, software and professional services on high ones. Instead of chasing an industry average, work backwards: how much profit do you need to pay yourself, cover overheads and build a cushion, and what margin on your expected sales delivers that?

Pricing services and freelance work

For services, your main cost is time. Put a proper value on it using the Hourly Rate Calculator, add direct costs such as stock photos, plug-ins or travel, then apply your target margin. This stops you underpricing small jobs that take longer than expected.

Quick checklist before you set a price

Related tools: Percentage Calculator, Quote Generator and Receipt Generator.

For information only. It is not accounting, tax or financial advice.

Need to send an invoice?

Create a professional PDF invoice in seconds. Free, no signup, works offline.

Create an invoice

More free tools

arrow_back Back to all toolsContact us