Sales Profit Margin Calculator

Sales Profit Margin Calculator

Turn revenue and cost of goods sold into gross profit, gross margin percent, and markup percent, see clearly why margin and markup are not the same number, add operating expenses for a net margin, and reverse the math to find the selling price that hits any target margin.

💰How Do You Want to Enter Sales?

🎯Real Industry Margin Presets

📝Sales & Cost Inputs

Money received from the sale before any costs.

Direct cost to make or buy what you sold.

Price charged to the customer for one unit.

Your direct cost to supply one unit.

Number of units in this sales batch.

Rent, wages, ads and overhead for a net margin.

The margin you want; we solve the price to reach it.

Controls dollars and percents on every card.

Gross Profit $0 revenue minus COGS
Gross Margin 0% profit as a share of revenue
Markup 0% profit as a share of COGS
Price for Target Margin $0 to hit your target margin

🔢Formula Snapshot

R − CGross profit $
(R−C)/RMargin %
(R−C)/CMarkup %
C/(1−m)Price for margin

📊Margin vs Markup at a Glance

ConceptFormulaBase It Is Measured AgainstExample on R=100, C=60
Gross profitRevenue − COGSDollars, not a percent100 − 60 = $40
Gross margin(R − C) / R × 100Percent of selling price40 / 100 = 40%
Markup(R − C) / C × 100Percent of cost40 / 60 = 66.67%
Net margin(R − C − OpEx) / R × 100Percent of revenueafter overhead
Price for marginC / (1 − m/100)Dollars from cost60 / 0.55 = $109.09

📋Typical Gross Margins by Industry

IndustryTypical Gross MarginEquivalent MarkupNote
Software / SaaS75% to 85%300% to 567%Low unit cost to serve
Professional services50% to 70%100% to 233%Labor is the main cost
Jewelry & luxury50% to 65%100% to 186%Brand and design premium
Restaurants (food)60% to 70%150% to 233%Food cost near 30%
Apparel & retail40% to 60%67% to 150%Keystone is 50% margin
Grocery20% to 30%25% to 43%High volume, thin margin
Consumer electronics8% to 20%9% to 25%Very competitive pricing

🏷Target-Margin Pricing on a $60 Cost

Target MarginDivisor (1 − m)Required PriceGross ProfitEquivalent Markup
10%0.90$66.67$6.6711.1%
20%0.80$75.00$15.0025.0%
30%0.70$85.71$25.7142.9%
40%0.60$100.00$40.0066.7%
45%0.55$109.09$49.0981.8%
50%0.50$120.00$60.00100.0%
60%0.40$150.00$90.00150.0%
70%0.30$200.00$140.00233.3%

🗃Markup to Margin Conversion Grid

Markup %Equivalent Margin %Cost ExampleSelling PriceGross Profit $Profit per $100 Sales
10%9.09%$60.00$66.00$6.00$9.09
20%16.67%$60.00$72.00$12.00$16.67
25%20.00%$60.00$75.00$15.00$20.00
33.33%25.00%$60.00$80.00$20.00$25.00
50%33.33%$60.00$90.00$30.00$33.33
66.67%40.00%$60.00$100.00$40.00$40.00
100%50.00%$60.00$120.00$60.00$50.00
150%60.00%$60.00$150.00$90.00$60.00
200%66.67%$60.00$180.00$120.00$66.67
300%75.00%$60.00$240.00$180.00$75.00

Formula Breakdown

Gross profit = R − CSubtract cost of goods sold from revenue. With R = 100 and C = 60, gross profit = 100 − 60 = $40.
Gross margin % = (R − C) / R × 100Profit divided by revenue. Here 40 / 100 = 0.40, so the gross margin is 40%. Margin can never exceed 100%.
Markup % = (R − C) / C × 100The same profit divided by cost instead. Here 40 / 60 = 0.6667, so markup is 66.67%. Markup can pass 100%.
Net margin % = (R − C − OpEx) / R × 100Take operating expenses out too. If OpEx is 15 on R = 100, net profit is 25 and net margin is 25%.
Price for target margin = C / (1 − m/100)To reach a 45% margin on a $60 cost: 60 / (1 − 0.45) = 60 / 0.55 = $109.09 selling price.
Margin from markup = markup / (1 + markup)A 66.67% markup converts to 0.6667 / 1.6667 = 40% margin, which is why the two numbers differ.

💡Pricing & Profit Tips

Never confuse margin with markup: Margin is profit measured against the selling price, while markup is the same profit measured against cost. A 50% markup is only a 33.3% margin. If you quote prices using a markup but report profit as a margin, you will consistently overstate how much you actually keep, so decide which base you are using and label it.
Price backward from the margin you need: Do not guess a markup and hope. Decide the gross margin the business requires to cover overhead, then use price = cost / (1 − margin) to set the exact selling price. To protect a 45% margin on a $60 item you must charge $109.09, not $87, because dividing by 0.55 is not the same as adding 45%.

If you’re seeing those sales numbers rolling in, but you’re still out of money come the end of the month there’s a certain type of financial whiplash going on. And it typically stems from this: mixing up markup and margin. While they might sound like synonymous words in everyday conversation, they aren’t. In accounting, they’re two distinct word with differing consequences for whether or not you make it to the next month.

Enter the handy-dandy calculator above. It takes all that revenue and cost of goods sold and spits out a markup figure (along with the margin percentage) so you’ll know exactly what’s wrong.

Markup and Margin Are Not the Same

Until numbers scream it at you, most of us believe these words is interchangeable. It is simple. What did you spend to acquire or make the thing? Subtract that from what you recieve when you sold the thing. That’s your gross profit. You bought something for $60. You sold it for $100. Your gross profit is $40.

Gross margin uses the $40 to show what percentage of total selling price was made. In our example, it is 40%. So out of each sales dollar, you have forty cents left once you cover the direct cost of making or acquiring an item. That means you know how viable a product are. Dividing by the selling price (the numerator) lets you compare items at different prices fairly.

That’s the issue with markup. Whereas margin calculates that same $40 in profit as a percentage of cost, markup does so as a percentage of revenue. It goes from forty percent to sixty-six point six seven percent. It is the same number of dollars. It is a completely different view of world. What appears as a fifty percent markup is really just a thirty-three point three percent margin.

You’ll always think you’ve got plenty more to spend when you price for markup and assess financial health with margin metrics. That’s the space where cash flow dissapears quietly with everyone smiling at the top line.

That means, too often, we work backwards (from a desired price) instead of forwards (from a cost). We think about how much margin we want, enough to pay our bills and leave some left over, of course! And we solve for it. To do this the tool applies following formula: Cost / (1… TargetMarginPercentage)

So if your cost is sixty dollars and you need a margin of forty-five percent, you don’t just tack on forty-five percent and come up with a price of eighty-seven dollars. That leaves you with smaller actual margin. No, you have to divide sixty by zero point five five to get one hundred and nine dollars and nine cents. It is easy to add, but it is wrong. It is precise when you divides.

It seems obvious when you look at this stuff, but it’s important to draw this distinction between margin and markup in all sorts of businesses. After all, grocery stores have razor-thin margins, they make up for low individual item profits by selling in high volume. On the other hand, software businesses can afford to increase prices by 100%. That sounds pretty aggressive, but check out the reference tables below. They can do this as long as their unit cost were close to nothing after development.

That said, retailers who double the cost price (known as “keystoning”) also gets a nice 50% margin, which is the same result than a 100% markup. Knowing your starting point helps you understand your suppliers without any awkwardness and report to your investors clearly. Knowing your starting point helps you understand your suppliers without any awkwardness and report to your investors clearly.

To drill down further, you can enter operating expenses, too, your advertising spend, wages, and rent, and then look at net margin, meaning gross profit minus those operating expenses. That’s as close to a true measure of profitability as possible. If you leave that field empty, it’s about pure product economics; if you fill it out, it shows you whether business is viable when the lights come on. By presetting the fields with common assumptions (e.g., for an e-commerce store or restaurant) you can play around with the numbers easily, without having to start from zero. It makes the percentages into real price point.

The takeaway? Numbers aren’t for memorization; they’re for comprehension. Your margin tells you which light switch turns off the lights. Your markup enables you to haggle with a supplier who thinks in cost-plus. The calculator joins them both, bridging that gap between your two realities. If you can see clearly exactly how much of every dollar you keep vs how much you send right back out again, then you don’t guess (you manage). That’s priceless knowledge, regardless of whatever one or two percentage points it delivers.

Sales Profit Margin Calculator