Home › Free tools › Profit margin calculator
Free business calculator · Margin and markup

Profit margin calculator – margin, markup and selling price

Enter any two of cost, selling price, margin or markup and get the rest instantly. Find the right price for a target margin, add fees and tax, and see why 50% markup is not 50% margin.

Margin ↔ markupPrice for a target marginFees, VAT and quantity

Fees are things like payment processing (e.g. 2.9% + 0.30), marketplace or app store commission. Enter prices without VAT / sales tax.

Margin vs markup – the difference

Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. They use the same profit but a different base, so they are never the same number. Buy for $40 and sell for $60: the profit is $20, the markup is 50% (20 ÷ 40) but the margin is only 33.3% (20 ÷ 60).

Formulas

WhatFormula
ProfitPrice − Cost − Fees
Profit marginProfit ÷ Price × 100
Markup(Price − Cost) ÷ Cost × 100
Price for a target marginCost ÷ (1 − margin)
Price from markupCost × (1 + markup)

Markup to margin cheat sheet

MarkupMargin
25%20%
33.3%25%
50%33.3%
66.7%40%
100%50%
150%60%
200%66.7%

Don’t forget the fees

Card payments, marketplaces and app stores take a share of every sale – for example a percentage plus a fixed amount per payment, or 15–30% on app stores. Enter them in “Fees per sale” to see your real margin. Running a discount? Check what it does to your profit with our Discount Calculator.

Frequently asked questions

How do I calculate profit margin?

Subtract the cost from the selling price to get the profit, divide by the selling price and multiply by 100. Cost 40, price 65: 25 ÷ 65 = 38.5%.

What price do I need for a 40% margin?

Divide the cost by 0.6 (1 − 0.40). A product costing 40 needs a price of 66.67.

Is 50% markup the same as 50% margin?

No. A 50% markup gives a 33.3% margin. To reach a 50% margin you need a 100% markup.

What is a good profit margin?

It depends on the industry. Grocery and retail often have single-digit net margins, while software and digital products can have gross margins above 70%.

Does this include tax?

Enter prices without VAT or sales tax. The calculator also shows the price with 20% VAT for reference.

Need a website or app built?

We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.

Techpass Master Technologies · Websites, Android apps and digital marketing

WhatsApp us📞 Call now