Profit Margin Calculator
Calculate gross profit margin, net profit margin, or get a full breakdown of both from your revenue, cost of goods, and operating expenses.
Gross margin looks only at revenue and the direct cost of producing what you sold (COGS).
Net margin looks at revenue against ALL expenses, COGS plus operating costs, salaries, rent, taxes, everything.
See gross and net margin side by side by separating your direct costs from your operating expenses.
How to Use the Profit Margin Calculator
Choose your calculation
Pick Gross Margin for a quick check using just revenue and direct costs, Net Margin to account for every expense, or Full Breakdown to see both at once.
Enter your figures
Use numbers from the same period, monthly, quarterly, or annual, so revenue and costs line up correctly.
Click Calculate
Get your profit and margin percentage instantly, along with the formula used to reach it.
Gross Margin vs. Net Margin: What Every Business Owner Should Know
Profit margin tells you what percentage of your revenue actually turns into profit, but "profit" isn't one single number. Depending on which costs you subtract from revenue, you get very different profit margin figures, and each one tells you something different about how the business is really performing. The two most important versions are gross margin and net margin, and confusing them can make a business look far healthier, or far worse, than it actually is.
What Is Gross Profit Margin?
Gross margin measures how much money is left after subtracting only the direct cost of producing what you sold, known as the cost of goods sold (COGS). This includes materials, direct labor, and manufacturing costs, but not rent, marketing, salaries for non-production staff, or other overhead.
Example: A business earns 50,000 in revenue with 30,000 in COGS. Gross profit: 50,000 − 30,000 = 20,000. Gross margin: (20,000 ÷ 50,000) × 100 = 40%.
Gross margin is useful for evaluating how efficiently a product itself is produced and priced, independent of how the rest of the business is run. It's the number to look at when deciding whether a specific product line is fundamentally profitable.
What Is Net Profit Margin?
Net margin goes further, subtracting every single expense the business incurs, COGS plus operating expenses like rent, salaries, marketing, utilities, interest, and taxes. It's the truest measure of what actually lands as profit after everything is paid.
Example: The same business with 50,000 revenue has 30,000 in COGS plus 12,000 in operating expenses, totaling 42,000 in all costs. Net profit: 50,000 − 42,000 = 8,000. Net margin: (8,000 ÷ 50,000) × 100 = 16%.
Notice how dramatically different the two figures are for the exact same business: 40% gross margin versus 16% net margin. Both are accurate, they just measure different things.
Why the Gap Between Them Matters
A large gap between gross margin and net margin usually points to high operating costs relative to revenue, heavy overhead, excessive spending, or an inefficient organization. A business with strong gross margin but weak net margin isn't necessarily in trouble on the product side, but it does mean overhead is eating into what should be profit. Comparing these two figures over time is one of the fastest ways to spot whether a company's costs are growing faster than its revenue.
Typical Margin Benchmarks
Healthy margins vary enormously by industry, so there's no single "good" number. Software and digital services often see gross margins above 70-80%, since there's little direct cost to producing another unit. Retail businesses typically run gross margins between 20-50%, and thin-margin industries like grocery or wholesale distribution can operate on net margins of just 1-3%. What matters most isn't hitting an arbitrary benchmark, but understanding your own margin trend over time and how it compares to direct competitors in the same industry.
How This Differs From Markup
Profit margin is closely related to, but not the same as, markup. Margin is always calculated against revenue (the selling price), while markup is calculated against cost. A business can have a 100% markup on a product but still only see a 50% gross margin, and once operating expenses are factored in, the net margin will be lower still. Anyone setting prices needs to understand both concepts, since pricing decisions based only on markup can quietly erode the net margin that actually matters for the business's bottom line.
Why Use Our Profit Margin Calculator
Instant Results
Get your answer the moment you click Calculate, no waiting or reloading.
Gross and Net, Together
The Full Breakdown mode shows both margins side by side from one set of numbers.
100% Private
Everything runs in your browser. Your numbers are never stored or sent anywhere.
Works on Any Device
Fully responsive design, so it's just as easy to use on mobile as on desktop.
Shows the Formula
Every result includes the exact calculation used, so you can verify or learn from it.
Completely Free
No sign-up and no limits. Use it as often as you need, at no cost.
Frequently Asked Questions
Gross margin only subtracts the direct cost of producing what you sold (COGS). Net margin subtracts every expense the business has, including overhead, salaries, marketing, and taxes.
It varies heavily by industry. Software businesses often see 70-80% gross margins, retail typically runs 20-50%, and thin-margin industries like grocery can operate on 1-3% net margin. Compare against your specific industry rather than a universal benchmark.
No. Margin is profit divided by revenue (selling price). Markup is profit divided by cost. They're related but always produce different percentages for the same transaction.
This usually means your product itself is priced well relative to its direct costs, but your operating expenses, like rent, salaries, or marketing, are eating up a large share of revenue before it becomes actual profit.
Rent, utilities, salaries not tied directly to production, marketing and advertising, software subscriptions, interest on loans, and taxes are all typical operating expenses included in net margin.
No. All calculations happen locally in your browser, and nothing you enter is stored or transmitted.
Need More Free Tools?
Explore our full library of calculators and converters, all free, all instant, no sign-up required.
Browse All Tools