What is the profit margin formula?
Profit margin is your profit shown as a percentage of revenue. The basic profit margin formula is: Profit Margin = (Net Profit / Revenue) x 100. Revenue is all the money your business takes in from sales before any costs come out. Net profit (also called net income) is what's left after you subtract every cost: making your product or service, your operating expenses, interest, and taxes. So if you bring in $200,000 in revenue and keep $20,000 after all costs, your profit margin is ($20,000 / $200,000) x 100 = 10%. Margin is always a percentage, which lets you compare a small business to a big one and track whether each dollar of sales is getting more or less profitable over time.
Key takeaways
- Profit margin is profit as a percentage of revenue: Profit Margin = (Net Profit / Revenue) x 100.
- There are three core margins (gross, operating, net). Each strips out more cost, so you see production efficiency, day-to-day management, and whether the business works overall.
- Margin and markup are not the same. Markup divides by cost, margin divides by selling price, so markup is always the bigger percentage.
There isn't just one profit margin, though. Depending on which costs you subtract, you get three different numbers, and each one answers a different question about your business.
- Gross Profit Margin = (Revenue - COGS) / Revenue x 100
- Operating Profit Margin = Operating Profit / Revenue x 100
- Net Profit Margin = Net Income / Revenue x 100
The three types of profit margin
Each margin has the same shape, profit divided by revenue, but a different idea of profit. As you go from gross to net, you subtract more costs, so the percentage gets smaller. Reading all three together shows you where money is leaking. According to the Corporate Finance Institute, here's what each one tells you.
Gross profit margin: how efficient production is
Gross profit margin is what's left after only your direct production costs, called cost of goods sold (COGS). COGS covers raw materials, the labor that makes the product, and other costs tied straight to the sale. Gross Profit = Revenue - COGS, and Gross Profit Margin = Gross Profit / Revenue x 100. A healthy gross margin means your core product or service is priced well above what it costs to make. A thin one means pricing or supplier costs need a look before you worry about anything else.
Operating profit margin: how well you run the place
Operating profit margin goes a step further and also takes out operating expenses: rent, salaries for non-production staff, marketing, software, and the rest of the overhead it takes to run the business. Operating Profit = Revenue - COGS - operating expenses, and Operating Profit Margin = Operating Profit / Revenue x 100. This one shows how well you run the whole operation, not just production. It leaves out interest and taxes, so it reflects the part of profit you control day to day.
Net profit margin: whether the business works
Net profit margin is the bottom line. It subtracts everything: COGS, operating expenses, interest on debt, and taxes. Net Profit Margin = Net Income / Revenue x 100. This is the number most owners mean when they say profit margin, because it tells you how many cents of every sales dollar you actually keep. It's the truest test of whether the business works as a whole.
How to calculate profit margin step by step
The cleanest way to see how the three margins connect is to run one set of numbers through all of them. The example below follows the Corporate Finance Institute walk-through: a company with $700,000 in revenue, $200,000 in COGS, and $400,000 in other expenses (operating costs, interest, and taxes combined).
- Find revenue. This is the top line of your income statement. In our example, revenue is $700,000.
- Subtract COGS to get gross profit. $700,000 - $200,000 = $500,000 gross profit. Divide by revenue: $500,000 / $700,000 x 100 = 71.4% gross margin.
- Subtract the rest of the costs to get net profit. Take out the $400,000 in other expenses: $500,000 - $400,000 = $100,000 net profit.
- Divide net profit by revenue and multiply by 100. $100,000 / $700,000 x 100 = 14.3% net margin.
Operating margin would land between those two figures, after operating expenses but before interest and taxes. The table below lays out the full walk-through so you can match each line to your own income statement.
| Line item | Amount | Running margin |
|---|---|---|
| Revenue | $700,000 | 100% |
| less COGS | ($200,000) | |
| = Gross profit | $500,000 | 71.4% gross margin |
| less other expenses | ($400,000) | |
| = Net profit | $100,000 | 14.3% net margin |
Notice how the percentage drops from 71.4% to 14.3% as more costs come out. If gross margin is strong but net margin is weak, your production is fine and the problem is overhead, debt, or taxes. If both are thin, look at pricing and direct costs first. Clean, up-to-date numbers make this easy. Pulling revenue and costs straight from your accounting records beats piecing them together at year end.
Margin vs markup: the most common mistake
Margin and markup describe the same gap between cost and selling price, but they divide it by different numbers. That's why people quote two wildly different percentages for one item. As AccountingTools puts it, markup uses cost as the base, and margin uses the selling price as the base.
- Markup % = (Selling Price - Cost) / Cost x 100
- Margin % = (Selling Price - Cost) / Selling Price x 100
Take an item that costs $80 and sells for $100. The dollar gap is $20 either way. Markup is $20 / $80 = 25%. Margin is $20 / $100 = 20%. Same $20, different percentages, because markup divides by the smaller number (cost) and margin divides by the bigger one (price). Markup is always the higher figure. Mix the two up and you think you're pricing for a 25% cushion when you're really keeping 20%, and that gap can quietly eat into your real profit margin.
Use this table to switch between the two. The math is markup = margin / (1 - margin).
| Margin | Equivalent markup |
|---|---|
| 10% | 11.1% |
| 20% | 25.0% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100.0% |
What is a good profit margin?
There's no single good profit margin, because it depends a lot on your industry. As a rough rule, the Corporate Finance Institute treats a net margin of around 5% as low, 10% as average or healthy, and 20% as strong. Use those as a starting point, not a target, then compare against businesses like yours.
For real per-industry numbers, a widely cited source is the NYU Stern dataset kept by Aswath Damodaran, which publishes average gross, operating, and net margins by sector for thousands of US firms. The big takeaway is how wide the spread is. Capital-light sectors like software and semiconductors tend to post high net margins, while high-volume, low-overhead sectors like auto manufacturing and many retailers run much thinner.
| Sector (US) | Typical net margin tendency |
|---|---|
| Software and semiconductors | Among the highest |
| Pharmaceuticals | Above average |
| Broad market average | Roughly high single digits |
| Auto manufacturing | Very thin |
| Restaurants and grocery retail | Low single digits |
For a small business, the lesson is to compare your margin to your own sector, never to a generic 10%. Low-overhead service work, consulting, and SaaS often run higher net margins because variable costs are small. Restaurants, retail, and food businesses usually run thin, often in the low single digits, because food, labor, and rent eat most of every dollar. A 4% net margin can be great for a restaurant and alarming for a software company.
How to improve your profit margin
Profit margin moves on two levers: earn more per sale, or spend less to deliver it. You rarely need a big move on either. Small, steady changes add up because margin is a percentage. Here are the plays small businesses use.
Earn more per sale
- Price on value, not cost. Charge for the outcome you deliver, not a fixed markup over your costs, especially for services where your expertise is the product.
- Use tiered or recurring pricing. Packages and subscriptions smooth out revenue and raise the average customer's lifetime value.
- Drop your lowest-margin items. Cutting SKUs or services that barely break even frees up time and cash for the ones that actually pay.
Spend less to deliver it
- Negotiate with suppliers. Renegotiating rates or combining vendors lifts gross margin on every unit you sell after that.
- Automate repetitive work. Cutting the manual admin, follow-ups, and handoffs trims the labor cost buried in your operating expenses.
- Tighten operations. Cutting waste, rework, and idle time improves both gross and operating margin without touching your prices.
A lot of margin leaks out through slow billing, untracked project costs, and disconnected tools that each tell a different story. When your projects and customer records share one set of data, as they do in a connected platform like WeldSuite, it's far easier to see which jobs and clients actually make money, and to act before a thin margin turns into a loss. Before you push for more sales, run the numbers above. A higher-margin business often beats a bigger one.
Sources
- Corporate Finance Institute: Profit Margin: Definition, Formula, Types and Examples https://corporatefinanceinstitute.com/resources/accounting/profit-margin/
- AccountingTools: The difference between margin and markup https://www.accountingtools.com/articles/what-is-the-difference-between-margin-and-markup.html
- NYU Stern / Aswath Damodaran: Operating and Net Margins by industry https://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/margin.html
Frequently asked questions
What is the basic profit margin formula?
The basic profit margin formula is Profit Margin = (Net Profit / Revenue) x 100. Net profit is your revenue minus all costs, including production, operating expenses, interest, and taxes. Multiplying by 100 turns the ratio into a percentage, so you can see how many cents of each sales dollar you keep.
What is the difference between gross, operating, and net profit margin?
All three divide profit by revenue but subtract different costs. Gross margin removes only COGS and shows production efficiency. Operating margin also removes operating expenses and shows how well you run the place. Net margin removes everything, including interest and taxes, and shows whether the business works overall.
How is margin different from markup?
Margin and markup measure the same gap between cost and price but use different bases. Markup divides that gap by cost, while margin divides it by selling price. Because cost is the smaller number, markup is always the higher percentage. For example, an $80 item sold at $100 has a 25% markup but a 20% margin.
What is a good profit margin for a small business?
It depends on your industry. As a rough guide, a net margin near 5% is low, 10% is average, and 20% is strong. But restaurants and retail often run in the low single digits, while consulting and SaaS can top 20%. Always benchmark against your own sector, not a generic figure.
How do I improve my profit margin?
Work two levers: earn more per sale, or spend less to deliver it. Raise prices toward the value you provide, add recurring or tiered pricing, and drop low-margin items. On cost, negotiate with suppliers, automate repetitive admin, and cut waste. Because margin is a percentage, small, steady gains add up fast.
See it all work together
WeldSuite brings CRM, helpdesk, accounting, mail, projects and more into one connected platform. Change something once and it shows up everywhere.
Keep reading
Cash Flow Management for Small Businesses: A Practical Guide
A plain guide to cash flow management for small business owners: what it is, why profit isn't the same as cash, the numbers to watch, and seven ways to keep money moving.
FinanceHow to Write an Invoice (With a Free Template)
A step-by-step guide on how to write an invoice that gets you paid. What to include, payment terms explained in plain English, and a free template you can copy.