Profit Margin Calculator
Enter what one unit costs you and what you sell it for. You get margin and markup side by side, a check of what your percentage really means, the price a target margin needs and how many units cover your fixed costs.
As an Amazon Associate I earn from qualifying purchases. Filing boxes
🏷️ Your cost and price
One unit of what you sell. Every section below starts from these two numbers.
What one unit costs you to buy or make
What the customer pays, before sales tax
🔀 The same % as markup vs margin
Type the percentage you had in mind. See what it does to your price when it is read as a markup on cost and as a margin on price.
| Read as | Price | Profit / unit | Margin | Markup |
|---|---|---|---|---|
| 30% markup | $91.00 | $21.00 | 23.08% | 30% |
| 30% margin | $100.00 | $30.00 | 30% | 42.86% |
📋 Quick conversion table
| Percentage | As a margin → markup | As a markup → margin |
|---|---|---|
| 10% | 11.11% | 9.09% |
| 15% | 17.65% | 13.04% |
| 20% | 25% | 16.67% |
| 25% | 33.33% | 20% |
| 30% | 42.86% | 23.08% |
| 40% | 66.67% | 28.57% |
| 50% | 100% | 33.33% |
| 60% | 150% | 37.5% |
| 75% | 300% | 42.86% |
| 100% | — | 50% |
🎯 Price for a target margin
The margin you want to keep on every unit after paying for it.
⚖️ Break-even units
Uses your cost per unit ($70.00) as the main variable cost. Add anything else every sale costs you, then your fixed costs for the period you care about (a month, a year, a launch).
Rent, salaries, software, ads — paid whatever you sell
Shipping, packaging, commission
Card or marketplace fees, e.g. 2.9
Profit you want on top of break-even
| Price scenario | Price | Variable cost / unit | Contribution / unit | Break-even units | Break-even sales |
|---|---|---|---|---|---|
| Your price | $100.00 | $70.00 | $30.00 | 300 | $30,000 |
| Target 30% margin | $100.00 | $70.00 | $30.00 | 300 | $30,000 |
| 30% markup (the mix-up) | $91.00 | $70.00 | $21.00 | 429 | $39,039 |
📈 Profit at your price by volume
| Units sold | Sales | Profit or loss |
|---|---|---|
| 0 | $0 | 🔻 -$9,000 |
| 150 | $15,000 | 🔻 -$4,500 |
| 300 | $30,000 | ✅ $0 |
| 450 | $45,000 | ✅ $4,500 |
| 600 | $60,000 | ✅ $9,000 |
Free to use. Results are estimates for general information, not professional advice — see our full disclaimer.
Most profit margin calculators take a cost and a price and hand back one percentage. That is where the trouble starts, because many people then use that percentage the wrong way round. A 30% margin and a 30% markup sound alike, but on a cost of 70 one means a price of 100 and the other a price of 91. This calculator shows both readings of the same percentage next to each other, with the money lost per unit when they are mixed up, so you see which number you actually meant.
It then carries your numbers straight on, with nothing to re-type. The cost you entered prices a target margin, and both prices — the right one and the mixed-up one — go into a break-even table. You see in one place how many more units the mistake would make you sell before covering rent, wages and software.
How to use the profit margin calculator
- Enter your cost and selling price for one unit. You get the profit per unit, the margin and the markup straight away.
- Type the percentage you had in mind in the second section — the “30%” a supplier, a boss or a spreadsheet gave you. The table shows the price if it is read as a markup on cost and the price if it is read as a margin on price.
- Set a target margin, or leave it on the same percentage. You get the price you need, the markup to add to cost, and the highest cost that keeps the target at your current price.
- Add your fixed costs for a period, plus any other cost each sale brings (shipping, packaging) and payment fees as a percentage. The break-even table compares your price, the target-margin price and the mix-up price.
- Optionally add a target profit to see how many units it takes to earn it on top of break-even.
The formulas
Everything starts from two numbers: the cost per unit C and the selling price P.
Profit per unit = P − C
Margin = (P − C) ÷ P
Markup = (P − C) ÷ C
Markup from margin m = m ÷ (1 − m)
Margin from markup k = k ÷ (1 + k)
Price for margin m = C ÷ (1 − m)
Price for markup k = C × (1 + k)
Highest cost at P for margin m = P × (1 − m)
Margin and markup are the same profit seen from two sides. Margin asks “how much of each sale do I keep?” Markup asks “how much did I add to what I paid?” Because the price is always bigger than the cost when you make money, margin is always the smaller number. The gap is small at low percentages and grows quickly:
| Percentage | As a margin, the markup is | As a markup, the margin is |
|---|---|---|
| 10% | 11.11% | 9.09% |
| 20% | 25.00% | 16.67% |
| 30% | 42.86% | 23.08% |
| 50% | 100.00% | 33.33% |
| 75% | 300.00% | 42.86% |
| 100% | not possible | 50.00% |
Break-even uses the cost-volume-profit model taught in every managerial accounting course (for example, OpenStax Principles of Accounting, Volume 2, chapter 3). With fixed costs F, other per-unit costs O and fees charged as a share of price f:
Variable cost per unit = C + O + f × P
Contribution per unit = P − variable cost per unit
Break-even units = F ÷ contribution per unit (rounded up)
Units for a profit T = (F + T) ÷ contribution per unit
If the contribution is zero or negative, every sale loses money before fixed costs are even counted, and the calculator says you will never break even at that price.
Worked examples
Example 1: one profit, two percentages
A shop buys a lamp for 70 and sells it for 100. The profit is 30 a lamp. As a margin that is 30 ÷ 100 = 30%. As a markup it is 30 ÷ 70 = 42.86%. Both are correct; they just answer different questions. If the shop’s owner reports “30%” to a partner who thinks in markup, the partner will picture a price of 91.
Example 2: the same 30% gives two prices
The owner wants a 30% margin on the next lamp, which also costs 70.
| Read as | Price | Profit per unit | Real margin |
|---|---|---|---|
| 30% markup | 91.00 | 21.00 | 23.08% |
| 30% margin | 100.00 | 30.00 | 30.00% |
Adding 30% to the cost leaves 9 a unit on the table. Over 1,000 lamps that is 9,000 of profit that was planned but never made, and the margin report at the end of the quarter will show 23% instead of 30%.
Example 3: pricing for a target margin
To earn a 40% margin on the 70 lamp, the price must be 70 ÷ 0.6 = 116.67. That is a 66.67% markup. If the market will not accept more than 100, the other lever is cost: at a price of 100 a 40% margin allows a cost of at most 100 × 0.6 = 60, so the shop has to buy the lamp 10 cheaper.
Example 4: break-even, and what the mix-up costs in volume
The shop’s fixed costs are 9,000 a month. At a price of 100, each lamp contributes 30, so it breaks even at 9,000 ÷ 30 = 300 lamps, or 30,000 of sales. At the mixed-up price of 91, each lamp contributes 21, and 9,000 ÷ 21 = 428.6, so it needs 429 lamps — 129 more for the same zero profit.
Fees change the picture too. Add 4 of shipping per lamp and a 2.9% card fee: the variable cost at 100 becomes 70 + 4 + 2.90 = 76.90, the contribution falls to 23.10, and break-even rises to 9,000 ÷ 23.10 = 389.6, so 390 lamps. To earn 6,000 of profit on top with no fees or shipping, the shop would need (9,000 + 6,000) ÷ 30 = 500 lamps.
Common mistakes
- Adding the margin to cost. Multiplying cost by 1.3 gives a 30% markup, not a 30% margin. For a margin, divide by 0.7.
- Comparing a margin with a markup. Industry averages and supplier quotes may use either. Convert one into the other before comparing.
- Forgetting the costs that come with each sale. Card fees, marketplace commission, packaging and free shipping all eat into the contribution. A healthy margin on the product alone can still mean a slow break-even.
- Treating fixed costs as per unit. Rent does not go up with each sale. Keep it in fixed costs and let the break-even spread it across units.
- Rounding break-even down. 428.6 units means you are still short after 428. Always round up.
- Discounting from a thin margin. A 20% sale on a product with a 30% margin wipes out two-thirds of the profit per unit. The discount calculator shows the sale price, and you can enter it here as the selling price to see the new margin and break-even.
Glossary
- Cost per unit — what one unit costs you to buy or make.
- Gross profit per unit — selling price minus cost per unit.
- Margin — gross profit as a share of the selling price. Also called gross margin.
- Markup — gross profit as a share of the cost.
- Keystone pricing — doubling the cost: a 100% markup, which is a 50% margin.
- Fixed costs — costs that stay the same whatever you sell in the period: rent, salaries, subscriptions.
- Variable costs — costs that come with every unit sold: the product itself, shipping, fees.
- Contribution — what each sale leaves after variable costs, available to pay fixed costs and then profit.
- Break-even point — the number of units, or the sales total, at which profit is exactly zero.
To measure the return on money you put into stock, equipment or a whole business over several years, the ROI & CAGR calculator compares results held for different lengths of time. For quick percentage changes, use the percentage calculator. Every figure on this page is an estimate for planning prices, not financial or tax advice — sales tax, returns, discounts and costs that change with volume are not included unless you add them.
Frequently asked questions
What is the difference between margin and markup?
Both describe the same profit per unit, measured against different numbers. Margin divides the profit by the selling price; markup divides it by the cost. An item that costs 70 and sells for 100 makes 30 of profit, which is a 30% margin and a 42.86% markup. Margin is always the smaller of the two when you make a profit.
How do I convert markup to margin?
Divide the markup by one plus the markup. A 25% markup is 0.25 ÷ 1.25 = 20% margin, and a 100% markup is a 50% margin. To go the other way, divide the margin by one minus the margin, so a 40% margin is 0.4 ÷ 0.6 = 66.67% markup.
How do I price a product to get a 30% margin?
Divide the cost by one minus the margin. For a cost of 70 that is 70 ÷ 0.7 = 100. Adding 30% to the cost instead gives 91, which is only a 23.08% margin — the most common pricing mistake, and the one the second section of the calculator is built to catch.
Can a profit margin be more than 100%?
No. Margin is profit as a share of the price, and profit can never be larger than the price unless the item cost less than nothing. Markup has no ceiling — a 300% markup is normal for some products — which is one reason the two get confused.
How do I calculate break-even units?
Divide your fixed costs by the contribution per unit, which is the price minus every cost that comes with each sale. With 9,000 of fixed costs and 30 left over from each sale, you break even at 300 units. Round any fraction up, because you cannot sell part of a unit.
Are these results accurate enough to set my prices?
They are exact for the numbers you enter, but real businesses have discounts, returns, taxes and costs that shift with volume. Treat the results as estimates, not financial or tax advice, and check them against your own accounts before you change prices.
Related tools
- Discount CalculatorFind the final price, the money saved and the true percentage off — including the case where an extra discount stacks on top of a sale price.
- Percentage CalculatorFive common percentage calculations on one page. Results update as you type, and nothing you enter leaves your browser.
- ROI & CAGR CalculatorEnter what you put in, what came out and how long it took — for up to three investments. You get total ROI, the simple yearly average, the compound annualized ROI and CAGR together, with a plain explanation of why they disagree.
- Compound Interest CalculatorSee how a starting balance and regular deposits grow over time, year by year — with interest, contributions and effective annual rate separated out.
- Mortgage CalculatorEnter a price, down payment and rate to see the full monthly payment — not just principal and interest — with the amortization schedule and the date PMI falls away.
- Home Affordability CalculatorEnter what you earn, what you owe and what you have saved. This works backwards to the price a lender is likely to support — and the monthly payment that comes with it.
Last reviewed: