Free money tool

Profit margin and markup calculator

Find profit, margin and markup from cost and price, or the price you need for a target margin.

I know…
Profit margin
–
–
Selling price–
Profit per sale–
Margin–
Markup–

How to calculate profit margin and markup

  1. Enter your cost per unit: what it costs to make or buy one item or deliver one service.
  2. Add fees per sale: platform commission, payment processing and shipping. Leaving them out is the most common way margins get overestimated.
  3. Enter a price, or a target margin to get the price you should charge.

Margin = profit ÷ price × 100 · Markup = profit ÷ cost × 100

Margin vs markup

Both describe the same profit, measured against different things. Margin compares profit with the selling price; markup compares it with the cost. Margin can never reach 100%, while markup can be any size. Mixing them up is expensive: adding a 40% markup gives only a 28.6% margin.

MarkupEquals margin
25%20.0%
50%33.3%
100%50.0%
200%66.7%
300%75.0%

Pricing for a target margin

To hit a margin, divide total cost per sale by (1 − margin). With $65 of costs and a 40% target margin, the price is $65 ÷ 0.6 = $108.33. Round to a price that feels natural to buyers, then check the margin again here.

Margins for creators and freelancers

Digital products and services usually have very high gross margins because each extra sale costs almost nothing, so the real costs are your time, tools and marketing. Merch and physical products have much thinner margins once production, shipping and returns are counted. Work out how many sales cover your fixed costs with the break-even calculator, compare digital platforms with the digital product calculator, and check whether ads are profitable with the ROAS calculator.

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of cost. A product that costs $60 and sells for $100 has a 40% margin and a 66.7% markup.

How do I price for a target margin?

Price = cost ÷ (1 − margin). For a 40% margin on a $60 cost, price at $60 ÷ 0.6 = $100.

What is a good profit margin?

It depends on the business. Digital products and services often run 70%+ gross margins; physical products more like 30–60% before overheads.

Should fees count as cost?

Yes. Include platform fees, payment processing and shipping in cost per sale, or your margin will look better than it is.