Finance CalculatorsA little help for every day

Search by name or task, such as JSON or percentage.

Finance Calculators

Profit Margin Calculator: Margin, Markup and Target Price

Calculate gross profit, gross and net margin and markup from cost and selling price, and find the price or maximum cost needed for a target margin.

View all tools
ResultUpdates as you type
Gross profit£40.00
Gross margin40%
Markup66.67%
Net profit£40.00
Net margin40%
Price for target margin£100.00
Maximum cost at this price£60.00
Markup for target margin66.67%

Margin = profit ÷ selling price. Markup = profit ÷ cost. Net margin = (price − cost − other costs) ÷ price.

How to use Profit Margin Calculator: Margin, Markup and Target Price

Enter the cost and selling price to see profit, margin and markup. Add other costs for net profit and net margin, and set a target margin to get the selling price and maximum cost that achieve it.

  1. Enter cost and priceType the purchase or production cost and the selling price, excluding VAT if you are VAT-registered.
  2. Add other costsInclude fees, shipping, overheads or tax per item to see net profit and net margin.
  3. Set a target marginEnter a margin below 100% to get the price you need and the maximum cost at today's price.

Margin and markup are not the same

Margin is profit as a share of the selling price; markup is profit as a share of cost. An item that costs £60 and sells for £100 makes £40 profit, a 40% margin and a 66.67% markup. A common pricing mistake is adding 40% to cost and expecting a 40% margin: £60 × 1.4 = £84, which is only a 28.57% margin. To convert between them, markup = margin ÷ (1 − margin) and margin = markup ÷ (1 + markup). The calculator shows both figures side by side so the difference is always clear.

Pricing for a target margin

To hit a target margin, divide cost by 1 minus the margin. For a 50% margin on a £25 item the price is £25 ÷ 0.5 = £50, a 100% markup. The calculator also shows the maximum cost at your current price: selling at £40 with a 50% target, the cost must be no more than £20. Add £6 of other costs per item to that £25 cost and £40 price and the gross margin is 37.5% but the net margin only 22.5%. A warning appears if either profit figure is negative, and markup shows a dash when the cost is 0.

Accuracy and data handling

Money results depend on the inputs and rounding method and are not financial, tax or investment advice. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

What is the difference between margin and markup?

Margin is profit divided by selling price. Markup is profit divided by cost. With a £60 cost and £100 price, the margin is 40% and the markup 66.67%, even though the profit is the same £40.

How do I calculate a price for a target margin?

Divide the cost by one minus the target margin as a decimal. A 25% target margin on a £60 cost means £60 ÷ 0.75 = £80. Enter the target and the calculator shows the price straight away.

Does this include tax and overheads?

Enter fees, shipping, overheads or tax per item in Other costs to see net profit and net margin alongside the gross figures. Use the same cost definition when comparing products.

Should the selling price include VAT?

If you are VAT-registered, use prices excluding VAT, because the VAT you collect is passed to HMRC and is not profit. If you are not registered, use the price the customer pays.

More Finance Calculators

Related tools