1. Home
  2. Calculators
  3. Profit Margin Calculator

Profit Margin Calculator

Price products and services with confidence: see profit, margin and markup, or the price you need for a target margin.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Profit Margin Calculator

  1. Enter cost and selling price (or a target margin).
  2. Read profit, margin and markup.
  3. Adjust until the numbers work.

Features

  • Margin vs. markup
  • Price from target margin
  • Formulas shown

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Profit Margin Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Results are estimates for planning. For important financial or health decisions, confirm the numbers with your lender, tax office or doctor.

Guide

Pricing with margin and markup without mixing them up

“We add 30% to cost” and “we work on a 30% margin” sound like the same policy, but they produce different prices and very different profits. Confusing margin and markup is one of the most common pricing mistakes in small businesses, and it consistently underprices products. This calculator shows both measures side by side and works in any direction.

Margin versus markup

Take a product that costs 40 and sells for 60. The profit is 20.

  • Margin = profit ÷ price = 20 ÷ 60 = 33.3%
  • Markup = profit ÷ cost = 20 ÷ 40 = 50%

The same profit gives two different percentages. Retail and accounting usually talk in margin; many tradespeople and wholesalers price with markup. Handy equivalents:

Markup Margin
25% 20%
50% 33.3%
100% 50%
150% 60%
200% 66.7%

Three ways to use the calculator

Choose what you already know:

  1. Cost and price: you have a price and want to know the margin and markup. Useful for checking existing products.
  2. Cost and margin: you know your target margin and need the price: price = cost ÷ (1 − margin). For a 40% margin on a cost of 30, the price is 30 ÷ 0.6 = 50.
  3. Cost and markup: you price with a markup: price = cost × (1 + markup).

Each mode shows the selling price, gross profit per sale, margin and markup, with the formulas written out underneath.

The classic mistake

A shop wants a 40% margin and adds 40% to the cost: 30 × 1.4 = 42. Check that price in “Cost and price” mode and the margin is only 28.6%. To reach 40%, the price has to be 50. Across a product range, that difference can decide whether a business makes money.

What goes into “cost”

The result is only as good as the cost you enter. For a per-sale view, include everything you pay per unit sold:

  • Purchase or production cost.
  • Packaging.
  • Payment processing and marketplace fees.
  • Shipping, if you pay it.

Fixed costs, such as rent, software, salaries and advertising, aren’t per unit. They’re covered by the total gross profit across all sales. The calculator shows gross margin; net profit depends on those overheads too.

Discounts eat margin fast

A 20% discount on a product with a 40% margin doesn’t leave a 20% margin. It leaves 25%: on a price of 50 with a cost of 30, the discounted price of 40 earns 10, a quarter of the sale. Use the Discount Calculator to find a sale price, then check its margin here before launching a promotion.

Who calculates margins

  • Small-business owners and online sellers set prices that cover costs and leave profit.
  • Freelancers check whether a project price covers their time and expenses.
  • Retail buyers compare supplier costs with selling prices.
  • Business students learn the difference between margin and markup.

A complete example: pricing a product

A product costs 40 to make and ship:

  1. Cost and price with a price of 60: gross profit 20, margin 33.3%, markup 50%.
  2. You want a 40% margin instead. Use Cost and margin with 40%: the price must be 66.67.
  3. Check what a 10% sale does: 66.67 becomes 60, and the margin drops back to 33.3%. Every discount comes straight out of profit.

Margin versus markup

Markup Margin
25% 20%
50% 33.3%
100% 50%
200% 66.7%

Mixing the two is a classic pricing mistake: adding a 30% markup gives only a 23% margin.

Tips

  • Include every cost in “cost”: materials, packaging, shipping, payment fees and marketplace commissions.
  • Gross margin doesn’t include rent, salaries and other overheads; those must also be covered by the total profit.
  • Compare your margin with typical margins in your industry before deciding a price is too high or too low.

These figures are for planning, not business advice. Your numbers stay in your browser.

Checked against the current version of the Profit Margin Calculator on .

Frequently asked questions

What's the difference between margin and markup?

Both describe the same profit, measured against different things. Margin divides the profit by the selling price; markup divides it by the cost. A product that costs 40 and sells for 60 has a 20 profit, which is a 33.3% margin but a 50% markup.

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

Choose "Cost and margin" and enter the cost and 40%. The price is cost ÷ (1 − 0.40), so a cost of 30 needs a price of 50. Adding 40% to the cost (42) would only give a 28.6% margin.

Why can't the margin reach 100%?

A 100% margin would mean the cost is zero. As the margin approaches 100%, the required price grows without limit, so the target margin field stops at 99.9%.

Should I include shipping and platform fees in the cost?

For the most useful result, yes. Add every cost you pay per sale, such as the product, packaging, payment and marketplace fees, and shipping if you cover it. Then the margin reflects what you actually keep per sale.

What is the difference between margin and markup?

Margin is profit divided by the selling price. Markup is profit divided by the cost. A 50% markup equals a 33% margin.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.