If you run a small business, "how much did we actually make?" is one of those questions that sounds simple until you try to answer it precisely. Revenue coming in feels good, but revenue isn't profit - and knowing your profit margin is what tells you whether your pricing, your costs, and your operations are actually working together. The calculator above does the math instantly; this guide explains what the numbers mean and how to use them.
Last updated: September 13, 2026
What Is Profit Margin?
Profit margin is a percentage that shows how much of your revenue turns into actual profit after costs are subtracted. It's expressed as a percentage rather than a dollar amount because that makes it easy to compare - a $50,000 profit sounds great until you realize it came from $2,000,000 in sales (a thin 2.5% margin), versus the same $50,000 profit from $150,000 in sales (a healthy 33% margin).
There isn't just one "profit margin" - there are three levels, each answering a slightly different question:
- Gross profit margin - how much is left after covering the direct cost of making or buying what you sold.
- Operating profit margin - how much is left after also covering day-to-day operating expenses (rent, salaries, marketing, and so on).
- Net profit margin - what's left after everything, including in a fuller calculation things like interest and taxes.
How to Calculate Profit Margin
At its core, calculating a profit margin is a two-step process: first find the profit (subtract costs from revenue), then divide that profit by revenue and multiply by 100 to get a percentage.
- Add up your total revenue for the period you're measuring (a month, a quarter, a year - just stay consistent).
- Subtract your Cost of Goods Sold (COGS) - the direct cost of producing or purchasing what you sold - to get gross profit.
- Subtract your operating expenses (if you're calculating operating or net margin) to get operating profit.
- Divide the resulting profit figure by revenue, then multiply by 100.
That's exactly what the calculator above does the moment you enter your numbers - no spreadsheet required.
Profit Margin Formula
Here are the exact formulas used by the calculator:
- Gross Profit = Revenue − COGS
- Gross Profit Margin = (Gross Profit ÷ Revenue) × 100
- Operating Profit = Revenue − COGS − Operating Expenses
- Operating Profit Margin = (Operating Profit ÷ Revenue) × 100
If you don't enter operating expenses, the calculator simply treats them as zero - so your operating profit will equal your gross profit until you add them.
Gross Profit Margin vs Net Profit Margin
These two numbers get mixed up constantly, but they answer different questions. Gross profit margin only accounts for the direct cost of the product or service itself - it tells you whether your pricing covers what it actually costs you to deliver. Net profit margin (in a fuller calculation, after every expense, interest payment, and tax) tells you what's genuinely left in the business at the end of the day.
Here's a quick example: a boutique clothing store sells a jacket for $100 that cost $40 to source - a 60% gross margin, which looks fantastic. But once you factor in the store's rent, staff wages, credit card fees, and marketing spend, the operating and net margins might land at just 8-10%. Both numbers are "correct" - they're just answering different questions about the same sale.
Example of Profit Margin Calculation
Let's walk through a realistic small-business example. Say a home-goods online store had a solid month:
- Revenue: $18,000
- Cost of Goods Sold: $7,200 (packaging, shipping, and wholesale product costs)
- Operating Expenses: $5,400 (advertising, software subscriptions, part-time help)
Gross profit = $18,000 − $7,200 = $10,800, a gross margin of 60%.
Operating profit = $18,000 − $7,200 − $5,400 = $5,400, an operating margin of 30%.
That 30% operating margin is the number that tells the owner what's really available to reinvest, save, or pay themselves - not the flashier 60% gross figure.
Why Profit Margin Is Important
Profit margin matters for a lot more than just curiosity:
- Pricing decisions - if your margin is razor-thin, a small cost increase (shipping, materials, wages) can wipe out your profit entirely.
- Comparing performance over time - revenue can grow while margin shrinks if costs are creeping up faster than sales; margin catches that early.
- Benchmarking against your industry - a 10% margin might be excellent in grocery retail and alarmingly low in software.
- Talking to lenders or investors - margin is often one of the first numbers anyone evaluating your business will ask about.
If you're just getting your bookkeeping systems in place, the U.S. Small Business Administration's guide to managing business finances is a solid, free starting point alongside a calculator like this one.
Frequently Asked Questions
What is a good profit margin for a small business?
It depends heavily on the industry. Retail and restaurants often run net margins in the 3-9% range because of high overhead and competition, while service-based businesses (consulting, software, agencies) can often see 15-30% or more since they don't carry heavy product costs. Rather than chasing a universal "good" number, it's usually more useful to compare your own margin against your industry's typical range and against your own past performance.
How do I calculate profit margin percentage?
Take your profit figure (gross, operating, or net) and divide it by your total revenue, then multiply the result by 100. For example, a gross profit of $6,000 on $20,000 in revenue is (6,000 ÷ 20,000) × 100 = 30%. The calculator above does this automatically for gross and operating margin as soon as you enter your numbers.
What's the difference between markup and profit margin?
Markup is calculated on cost, while margin is calculated on revenue - and mixing the two up is one of the most common pricing mistakes. A $50 item marked up 50% sells for $75 (a 33% margin, not 50%), because the profit ($25) is being measured against the $75 selling price, not the $50 cost. If you're setting prices based on markup, it's worth double-checking what your actual profit margin ends up being.
Why is my gross margin high but my net profit low?
This is extremely common and usually points to overhead, not pricing. A high gross margin means your core product or service pricing comfortably covers direct costs - but if operating expenses (rent, salaries, software, marketing) are eating up most of what's left, your net profit will still be thin. It's worth breaking out operating expenses individually to see which ones are taking the biggest bite.
Should I use gross margin or net margin to price my products?
Gross margin is the more direct tool for individual pricing decisions, since it isolates the cost of that specific product or service. Net margin is better for judging the overall health of the business, since it accounts for everything. Most business owners look at both: gross margin to decide "is this item priced right," and net margin to decide "is the business as a whole sustainable."
Does profit margin account for taxes?
In a full accounting sense, net profit margin is typically calculated after taxes and interest are subtracted. This calculator keeps things simple and focuses on revenue, cost of goods sold, and operating expenses - so for a complete after-tax picture, you'd still want to factor in your actual tax obligations (the IRS's small business and self-employed tax center is a useful starting reference) and any interest expenses separately, ideally with input from an accountant.
Can profit margin be negative?
Yes - a negative margin simply means costs exceeded revenue for that period, which happens more often than most people expect, especially for new businesses, seasonal slumps, or a period with an unusually large one-time expense. A single negative month isn't necessarily alarming; a consistent negative trend over several months is the real warning sign worth acting on.
How often should I calculate my profit margin?
Most small businesses benefit from checking margin monthly, since that's frequent enough to catch a cost or pricing problem early without over-reacting to daily noise. Seasonal businesses often also track it quarterly and yearly to compare like periods against each other (this December vs. last December, for example) rather than being misled by short-term swings.
Final Thoughts
None of this has to be complicated. Plug your numbers into the calculator above whenever you close the books for the month, and get in the habit of glancing at the trend line rather than judging any single period in isolation. A margin that dips one month isn't a crisis - a margin that keeps dipping quarter after quarter is the signal worth acting on.
If you want to go deeper on the accounting side, Investopedia's overview of profit margin is a good next read - but for the day-to-day decision of "are we actually making money on this," the numbers above are usually all you need.