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.
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.
- Enter cost and priceType the purchase or production cost and the selling price, excluding VAT if you are VAT-registered.
- Add other costsInclude fees, shipping, overheads or tax per item to see net profit and net margin.
- 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.
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 toolsAdd or remove VAT at 20%, 5% or any rate and see net, VAT and gross.
Check IBANs from 89 countries and see the bank code and account number
Totals, VAT and discount for invoice line items, with mixed rates.
PayPal fees, amount received and the amount to charge for a target.
Stripe fees, net amount and the price to charge for a target payout.
How long to reach a savings goal, or the monthly amount you need.