Profit Margin Calculator

Free tool · Profit margin

Profit margin calculator

Find your profit margin and markup, or the selling price you need for a margin you want.

  • Free
  • No sign-up
  • Works on mobile
  • Instant results
  • Any currency
  • Runs in your browser
Where the selling price goesExample: cost $60, price $100Cost $60Profit $40Selling price $100MARGIN (profit / price)40%MARKUP (profit / cost)66.7%YOUR PROFIT

Free tool

Use the Profit Margin Calculator

Enter your numbers and the results update as you type. Everything runs in your browser.

Find Margin And Markup

$
$

Profit—
Profit Margin—
Markup—

Find The Price For A Target Margin

$
%

Selling Price You Need—
Profit—
Markup—

How it works

Three steps to your number

1

Enter cost and price

Add what the product costs you and what you sell it for.

2

Read margin and markup

See your profit, profit margin and markup straight away.

3

Price for a target margin

Use the second block to find the selling price that gives the margin you want.

The formulas

  • Profit = selling price − cost.
  • Profit margin = profit ÷ selling price × 100.
  • Markup = profit ÷ cost × 100.
  • Selling price for a target margin = cost ÷ (1 − target margin ÷ 100).

About this tool

Profit margin and markup explained

Profit margin is the part of the selling price that you keep as profit. Markup is the profit as a share of the cost. Both describe the same profit, but they use different bases, so they give different percentages. A cost of 60 and a price of 100 gives a 40% margin and a 66.67% markup.

This profit margin calculator has two blocks. The first takes cost and selling price and returns profit, margin and markup. The second works the other way: enter your cost and the margin you want, and it returns the selling price you need.

Margin matters for ads because it sets how much you can spend to win an order. Add shipping, fees and other costs to the cost field to get closer to your real margin, then take that number to the Break-Even ROAS Calculator to see the ROAS your campaigns must beat.

Worked example

A product costs $60 and sells for $100. For a 50% margin on the same cost, the price has to be $120. Here are both results.

MeasureResult
Profit at a $100 price$40.00
Profit margin40.00%
Markup66.67%
Price needed for a 50% margin$120.00
Profit at that price$60.00

When to use it

Four times margin guides your price

Pricing a new product

Start from your cost and the margin you need, and let the calculator give the price.

Checking an existing price

Enter cost and price to see whether the margin is high enough to pay for ads and still earn profit.

Planning a discount

See how much margin is left at a lower price before you run a sale.

Comparing products

Calculate margin for each product so you know which ones can carry paid ads.

Common mistakes

  • Mixing up margin and markup.
  • Leaving shipping, fees and packaging out of the cost.
  • Pricing for a margin by adding the margin percent to the cost.
  • Ignoring returns when you work out profit.
  • Using a margin that cannot pay for ads.

More free tools

Keep going with your ad numbers

Break-Even ROAS Calculator

Find the minimum ROAS your ads need before they start losing money.

Open tool →

ROAS Calculator

Get ROAS, net profit and ROI from your ad revenue and ad spend.

Open tool →

Percentage And Discount Calculator

Percent of a number, percentage change and discounted prices.

Open tool →

Ad Metrics Calculator

CPM, CPC, CTR, conversion rate and CPA from your campaign numbers.

Open tool →

All free tools

See every calculator and generator in one place.

Open tool →

Need more than a calculator?

Let our team run it for you

The tools tell you the numbers. If you would rather hand over the campaigns, these are the services behind them.

Facebook Ads Agency

We plan, launch and optimise Facebook and Instagram ad campaigns that are built around your margins.

Learn more →

Ecommerce Services

Store setup, product pages and marketplace support to turn clicks into orders.

Learn more →

Digital Marketing Solutions

Ads, SEO, social media and video working together under one plan.

Learn more →

FAQ

Frequently asked questions

Have a different question? Email info@the-xperts.com.

What is the difference between margin and markup?

Margin is profit divided by the selling price, and markup is profit divided by the cost. For a cost of 60 and a price of 100, the profit is 40, the margin is 40% and the markup is 66.67%.

Why can the target margin not be 100%?

A 100% margin would mean the cost is zero, or the price is infinitely high. The price formula divides by one minus the margin, so it breaks at 100%.

Is this gross margin or net margin?

It uses only the cost you enter. If you enter product cost only, you get gross margin. Add shipping, fees and other costs to the cost field to get closer to your real margin.

How do I use this for ads?

Your margin sets how much you can spend on ads per order. Take your margin result to the Break-Even ROAS Calculator to see the ROAS you need.

How do I calculate profit margin?

Subtract cost from price, divide by price, then multiply by 100. A product that costs 60 and sells for 100 has a 40% margin.

How do I price a product for a 50% margin?

Divide the cost by 0.5. A product that costs 60 needs a selling price of 120 to reach a 50% margin.

Is the Profit Margin Calculator free?

Yes. It is free, needs no sign-up, and runs in your browser, so the numbers you enter stay on your device.

Ready to grow online?

Tell us about your business. We will reply with a free strategy suggestion.

Book your free strategy call

Email us your goals.

Prefer chat? Message us on WhatsApp or email info@the-xperts.com. No spam, no obligation.