Skip to content
Budget Folders

Profit margin calculator

An item that costs $60 and sells for $100 has a 40% profit margin and a 66.67% markup. Margin is profit divided by price, and markup is profit divided by cost. For a 50% margin, you'd charge $120. Enter any two values below to solve the rest.

Edited by AnilReviewed How we calculateEditorial policy

Your numbers
Start from an example
Your numbers
Your target
More options (1)
Stays in your browser
Profit Margin Calculator
Profit margin
40%
$40.00 profit on a $100.00 sale. Markup on cost is 66.67%.
Where a $100.00 sale goes
  • Cost$60.00
  • Profit$40.00
Profit margin
40%
Profit ÷ price
Markup
66.67%
Profit ÷ cost
Price
$100.00
Cost
$60.00
Profit per sale
$40.00
Price for a 50% margin
$120.00
A 100% markup

What this means

  • Margin and markup aren't the same number. To earn a 50% margin on an item that costs $60.00, you need a 100% markup, for a price of $120.00. Adding 50% to cost gets you $90.00, which is only a 33.33% margin.
  • To reach your 50% target, price at $120.00, which is $20.00 (20%) above $100.00. This assumes you sell the same number at the new price.
  • A 10% discount costs more than it looks. At this margin, you'd need to sell 33.3% more units just to earn the same total profit.

What moves this number

Change in profit margin. Select one to try it.

The markup you need climbs faster than the margin you want
A 50% margin takes a 100% markup. An 80% margin takes 400%.
  • Markup needed
  • If markup equaled margin
0%100%200%300%400%10%20%30%40%50%60%70%75%80%
View as table
Margin you wantMarkup neededIf markup equaled margin
10%11.1%10%
20%25%20%
30%42.9%30%
40%66.7%40%
50%100%50%
60%150%60%
70%233.3%70%
75%300%75%
80%400%80%

Keep going with these numbers

What a discount does to your profit

Extra sales is the rise in units you need to earn the same total profit as before the discount.

DiscountSale priceProfit per saleMarginExtra sales needed
5%$95.00$35.0036.8%14.3%
10%$90.00$30.0033.3%33.3%
15%$85.00$25.0029.4%60%
20%$80.00$20.0025%100%
25%$75.00$15.0020%166.7%
30%$70.00$10.0014.3%300%
40%$60.00$0.000%Never
50%$50.00-$10.00-20%Never

Margin vs. markup conversion

Prices are for your $60.00 cost. Markup is profit divided by cost. Margin is profit divided by price.

MarginMarkup neededPriceProfit per sale
5%5.26%$63.16$3.16
10%11.11%$66.67$6.67
15%17.65%$70.59$10.59
20%25%$75.00$15.00
25%33.33%$80.00$20.00
30%42.86%$85.71$25.71
33.33%50%$90.00$30.00
40%66.67%$100.00$40.00
50%100%$120.00$60.00
60%150%$150.00$90.00
70%233.33%$200.00$140.00
75%300%$240.00$180.00

How do you calculate profit margin?

Subtract cost from price, then divide by price. In the example, $100 − $60 is $40 of profit, and $40 ÷ $100 is 40%.

Margin = (price − cost) ÷ priceMarkup = (price − cost) ÷ cost

In a spreadsheet with cost in A2 and price in B2, margin is =(B2-A2)/B2 and markup is =(B2-A2)/A2. Format both cells as percentages. The calculator above also runs the other way: enter a price and a margin, for example, and it finds the most you can pay for the item. Any two of cost, price, profit, margin, and markup will do, as long as one of them is a dollar amount. Margin and markup alone tell you a ratio but not a price, since a 40% margin fits a $1 item and a $1,000 item equally well.

Markup vs. margin: why they are never the same number

Both use the same $40 of profit but divide it by different amounts, so markup is always the larger number when you make a profit. This is where people lose money. Say you want a 50% margin on the $60 item and you add 50% to cost. You'd charge $90, which is only a 33.33% margin. The right price is $120, so you'd give up $30 on every sale without noticing.

Markup = margin ÷ (1 − margin) Margin = markup ÷ (1 + markup)
Margin to markup conversion, with the price on a $100 cost. Calculated by this site.
MarginMarkup neededPrice on a $100 cost
10%11.11%$111.11
20%25%$125.00
25%33.33%$133.33
30%42.86%$142.86
40%66.67%$166.67
50%100%$200.00
60%150%$250.00
70%233.33%$333.33
75%300%$400.00
80%400%$500.00

A 100% markup sounds huge, but it's a 50% margin. Margin can't reach 100% unless the item costs nothing, while markup has no upper limit. That's why the two numbers drift apart as prices rise.

What price do you need for a target margin?

Divide your cost by one minus the margin you want. A $60 cost and a 50% margin gives $60 ÷ 0.50, or $120.

Price to charge for each cost and margin, before any fees. Calculated by this site.
Cost20% margin30% margin40% margin50% margin60% margin
$5$6.25$7.14$8.33$10.00$12.50
$20$25.00$28.57$33.33$40.00$50.00
$50$62.50$71.43$83.33$100.00$125.00
$100$125.00$142.86$166.67$200.00$250.00
$250$312.50$357.14$416.67$500.00$625.00
$1,000$1,250.00$1,428.57$1,666.67$2,000.00$2,500.00

Fees change the math because they come out of the whole price. On a $100 sale, a 15% marketplace or payment fee takes $15 and cuts your margin from 40% to 25%. To keep 50% after that fee, the price has to be $60 ÷ (1 − 0.50 − 0.15), or $171.43. The 15% here is an example, so use your provider's real rate in the advanced options.

Gross, operating, and net profit margin with an example

These three margins stop at different lines of your income statement. For a business with $500,000 of revenue, the example below ends at a 45% gross margin, a 15% operating margin, and a 10.6% net margin.

Example business, for illustration only.
LineAmountMargin
Revenue$500,000
Cost of goods sold$275,000
Gross profit$225,00045%
Operating expenses$150,000
Operating profit$75,00015%
Interest and taxes$22,000
Net profit$53,00010.6%
  • Gross margin shows whether your product or service makes money before overhead. A weak one usually points to pricing or direct costs.
  • Operating margin adds overhead such as rent, marketing, and office staff. It shows how the business itself runs.
  • Net margin includes interest and taxes. It's what you actually keep, though financing choices can move it. Two businesses with the same operating margin can have very different net margins if one carries more debt.

Sales tax you collect and send to the state isn't income, the IRS says, so leave it out of revenue and out of your price here. Small price moves matter a lot at this level. A 1% price rise with the same units adds $5,000 before tax to this business's $53,000 of net profit.

What a discount really costs your margin

More than most sellers guess, because the whole discount comes out of your profit. At a 40% margin, a 10% discount removes a quarter of your profit per sale, so you need 33.3% more units to come out even.

Extra unit sales needed to earn the same total profit. On 1,000 units, the example above earns $40,000.
Discount30% margin40% margin50% margin
5%20%14.3%11.1%
10%50%33.3%25%
20%200%100%66.7%
30%Never300%150%

At a discount equal to your margin, you earn nothing per sale, and no volume makes up for that. This table assumes a discount doesn't change your cost. Our discount calculator works out the sale price itself.

When a good margin still hides a problem

Margin on one item says nothing about whether the business makes money. It ignores overhead until you add it, and a healthy margin on too few sales still leaves a loss. Use the break-even calculator to see how many sales you need. Also check what counts as cost: shipping, spoilage, returns, and your own labor are easy to leave out, and each one makes a margin look better than it is.

Cost of goods sold has specific rules on a tax return, especially if you carry inventory. IRS Publication 334 explains how to figure it. An accountant or a Small Business Development Center can help you set up your numbers.

Common questions

What is a good profit margin?

There's no single number, and this site doesn't publish benchmarks. A grocer and a software firm have very different cost structures. Compare with your own past results and with data from your industry's trade groups, and check that your margin covers overhead, your pay, and a real profit.

Can margin be more than 100%?

Not for a sale with a cost of zero or more, since profit can't be larger than the price. A negative margin means you sold below cost. Markup can go past 100%, and often does.

How do I convert markup to margin?

Divide the markup by one plus the markup, using decimals. A 25% markup is 0.25 ÷ 1.25, a 20% margin. The table above shows common pairs.

Should I include sales tax in the price?

No. Use the price before tax. Sales tax you collect from buyers and pay over to the state isn't income, so including it overstates both revenue and margin. Our sales tax calculator adds it to a price.

How is profit margin different from return on investment?

Margin compares profit with the selling price on a single sale or a period's revenue. Return on investment compares profit with the money you put in, and it ignores how quickly you get it back. The ROI calculator covers that.

Sources

  1. Publication 334, Tax Guide for Small Business · Internal Revenue Service
  2. Small Business Development Centers · U.S. Small Business Administration

More in Budget & Business