Mon, Nov 30, 2026 · US edition
BizOwnerEdge
This weekLATEST
Home/Free tools/Profit Margin and Markup Calculator

Profit Margin and Markup Calculator

Margin and markup are often mixed up. This calculator shows both and tells you what to charge to hit the profit margin you want.

Work out your margin and markup, or the price you need for a target margin. Free, private and instant: nothing you type leaves your browser.

Profit margin calculator: free online calculator illustration

Embed this calculator on your website (free)

Run a blog, a real estate or insurance site, or a local business page? Paste this code into any HTML block. The calculator stays free, has no ads and updates itself when we update it.

How the Profit Margin and Markup Calculator works

Profit = price minus cost. Margin = profit / price. Markup = profit / cost. Price for a target margin = cost / (1 minus margin).

Worked example

Here is what the calculator shows with its starting numbers. Change any value above to see your own result.

InputValue
Your cost per unit$40
Your selling price$65
Target profit margin (optional)40 %

Profit margin: 38.5%

ResultValue
Profit per unit$25.00
Markup on cost62.5%
Price needed for a 40% margin$66.67

Margin is profit as a share of the selling price. Markup is profit as a share of cost, so markup is always the bigger number.

Worked example: markup mistaken for margin

Say you buy a product for $40 and sell it for $65. It is tempting to call that a 62.5% margin, but 62.5% is the markup. The calculator shows the true profit margin is 38.5%, and a price of $66.67 is needed to reach a 40% margin. These are the numbers the calculator above shows with its starting values.

If 40% is your goal, a price of $67 gets you there. Tracking margin rather than markup in your monthly numbers keeps the mix-up from coming back.

What each input means

  • Your cost per unit: What one unit costs you to buy or make, including shipping to you.
  • Your selling price: The price the customer pays.
  • Target profit margin (optional): Leave it blank, or enter the margin you want to see the price that reaches it.

How to use the Profit Margin and Markup Calculator step by step

  1. Enter your cost per unit.
  2. Enter your selling price.
  3. Enter target profit margin (optional).
  4. Read the headline result first, then the detail lines under it to see what drives the number.
  5. Change one input at a time to see which assumption matters most, and write down the result you plan to act on.

Things to know before you decide

  • Margin is profit divided by price. Markup is profit divided by cost.
  • Do not forget costs like payment fees, shipping and returns.
  • Check your margins by product, not just overall.

When to use this calculator

Use it when pricing products or comparing suppliers.

Gross, operating and net margin

Gross margin shows what is left after the direct cost of the product or service. Operating margin subtracts overhead such as rent, salaries and software. Net margin subtracts everything, including interest and taxes. A business can have a healthy gross margin and still lose money if overhead is too high, so look at all three.

Margin is not the same as markup

A 50% markup on a $10 cost gives a $15 price, which is a 33% margin. Confusing the two is one of the most common pricing mistakes: owners who aim for a 50% margin but add a 50% markup end up short. See profit margin vs markup and the markup calculator.

Using margin to make decisions

  • Compare margins by product or service line. Cut or reprice the ones that drag down the average.
  • Check margin after discounts, card processing fees and shipping, not just list price.
  • Track margin monthly. Rising supplier costs can erode it quietly.
  • Use your margin to set marketing limits: the most you can spend to win a sale is your gross profit per sale.

What is a good margin?

It depends heavily on the industry. Grocery stores often run thin net margins, while software and consulting can run far higher. Compare yourself with businesses like yours, and with your own trend over time.

A quick example

A shop sells a candle for $28. The wax, wick, jar and label cost $9, so gross profit is $19 and gross margin is about 68%. After a $2 share of rent and wages per candle, $1.10 in card fees and $3 for shipping supplies absorbed, the operating profit per candle is about $12.90, or 46%. Seeing both numbers shows where the money goes.

Frequently asked questions

Why is markup higher than margin?
Markup divides by cost, which is smaller than price.
What is a good margin?
It varies widely by industry.
Should I include shipping in cost?
Include all costs to deliver the product.
What is the difference between gross margin and net margin?
Gross margin subtracts only direct costs of goods or services. Net margin subtracts all expenses, including overhead, interest and taxes.
How do I raise my profit margin?
Raise prices where value supports it, lower direct costs, reduce discounts and cut overhead that does not drive sales.
Is a 20% profit margin good?
It depends on the industry. A 20% net margin is strong for many retailers and restaurants, while service and software businesses often run higher.
How often should I check my profit margin?
Monthly, after closing your books, so rising costs or heavy discounting show up quickly.

Related calculators

Related guides

Please note: This tool gives estimates for education only and is not legal, tax, accounting or financial advice. Your actual numbers will differ.

← All free calculators

Cata, author and researcher at BizOwnerEdge
Built and checked by Cata · Finance and Banking graduate (European university)
Every calculator on BizOwnerEdge uses published sources and shows a worked example, and is reviewed again when prices or rules change. This is general educational information, not advice. For decisions about your own situation, talk to a licensed professional. About Cata · How I research · Report an error

More on this topic

Keep BizOwnerEdge one tap away

Running the books, the payroll or the next promotion? Bookmark BizOwnerEdge, add it to your home screen, or send a guide to a fellow owner.

Independent. We do not sell software, filings or business services, and no vendor pays to be named in our guides.
Sourced. Tax, payroll and licensing figures come from the IRS, the SBA and the Department of Labor, each with the date we checked it. See our editorial policy.
Private tools. Tax, pricing and payroll calculators run in your browser. We never see your revenue, your payroll or your customer list.
Transparent ads. Ads are labeled and kept apart from our recommendations, and no advertiser approves what we write about their market. How we make money.