Profit Margin Calculator
Use this free profit margin calculator to instantly find your gross profit, gross margin, net profit, net margin, and markup. Enter your revenue, cost of goods sold, and operating expenses to see exactly how profitable your business really is.
Get the Free Small Business Finance Toolkit
The same templates our Ex-PwC CFOs use with 100+ clients: a 13-Week Cash Flow Forecast and a 12-Month Budget (Excel). Enter your email and download instantly.
How to Use This Profit Margin Calculator
- Enter your Revenue — your total sales for the period (month, quarter, or year).
- Enter your COGS — the direct cost of producing what you sold (materials, direct labor, manufacturing, or the wholesale cost of goods).
- Enter your Operating Expenses — everything else it takes to run the business: rent, salaries, marketing, software, insurance.
- Read your results — gross margin, net margin, gross profit, net profit, and markup update instantly.
What Is Profit Margin?
Profit margin is the percentage of your revenue that you actually keep as profit after costs. It is one of the most important numbers in any business, because it tells you how efficiently you turn sales into money in the bank. A business can have high revenue and still lose money if its margins are too thin.
There are two margins every small business owner should know. Gross margin measures profitability after the direct cost of your product or service (COGS) — it shows whether your core offering is priced and produced profitably. Net profit margin measures what is left after all expenses, including operating costs, and reflects the true health of the whole business. A healthy gross margin with a poor net margin usually points to bloated overhead, while a weak gross margin signals a pricing or cost problem at the product level.
Profit Margin Formula
Gross Margin % = (Revenue − COGS) ÷ Revenue × 100Net Profit Margin % = (Revenue − COGS − Operating Expenses) ÷ Revenue × 100Markup % = (Revenue − COGS) ÷ COGS × 100
Note the difference between margin and markup — they use the same gross profit but a different denominator. Margin divides by revenue; markup divides by cost. A 50% markup is only a 33% margin. Confusing the two is one of the most common (and expensive) pricing mistakes small businesses make.
Example Calculation
Suppose a small product business has $100,000 in revenue, $60,000 in COGS, and $25,000 in operating expenses:
- Gross profit = $100,000 − $60,000 = $40,000
- Gross margin = $40,000 ÷ $100,000 × 100 = 40%
- Net profit = $100,000 − $60,000 − $25,000 = $15,000
- Net margin = $15,000 ÷ $100,000 × 100 = 15%
- Markup = $40,000 ÷ $60,000 × 100 = 66.7%
So even though this business marks its products up by 66.7%, it keeps just 15 cents of every revenue dollar as profit once overhead is included.
Gross Profit Formula (and How to Figure Gross Profit)
Gross Profit ($) = Revenue − Cost of Goods SoldGross Profit Percentage = Gross Profit ÷ Revenue × 100
Gross profit is the dollar amount left after direct costs; gross margin (or gross profit percentage) expresses the same thing as a percentage of revenue. To figure gross profit, take everything you sold in the period and subtract only the costs directly tied to producing or delivering it — materials, direct labor, freight-in, payment processing on sales. Rent, admin salaries, and marketing stay out of this number; they belong in operating expenses and affect net profit instead. If someone asks for your "GP" or "GP%", these two formulas are what they mean.
Profit Percentage vs Profit Margin — Are They the Same?
Usually, yes: when people say "profit percentage" they almost always mean profit margin — profit divided by revenue. The trap is when someone quietly calculates profit divided by cost, which is markup. On a product that costs $60 and sells for $100, profit margin is 40% but markup is 66.7% — same $40 of profit, very different percentages. Before comparing your "profit percentage" against a benchmark or a competitor's claim, confirm which denominator is being used. This calculator shows all three (gross margin, net margin, and markup) side by side so there is no ambiguity.
Margin Equations — Quick Reference
- Gross profit: Revenue − COGS
- Gross margin %: (Revenue − COGS) ÷ Revenue × 100
- Net profit: Revenue − COGS − Operating Expenses
- Net profit margin %: Net Profit ÷ Revenue × 100
- Markup %: (Revenue − COGS) ÷ COGS × 100
- Price from target margin: Price = COGS ÷ (1 − target margin) — e.g., a $60 cost priced for a 40% margin is $60 ÷ 0.60 = $100
That last equation is the one most small businesses need and few use: it converts a target margin into the price you must charge. Pricing by "cost plus a bit" is how healthy-looking sales end up producing thin profits.
Common Mistakes to Avoid
- Confusing margin with markup. A 40% markup is not a 40% margin. Always be clear which one your pricing is based on.
- Leaving costs out of COGS. Forgetting shipping, payment processing fees, or direct labor inflates your gross margin and hides real problems.
- Ignoring operating expenses. A great gross margin means little if overhead eats all of it. Watch net margin, not just gross.
- Using revenue instead of profit to judge health. Growing revenue with shrinking margins is a warning sign, not a win.
- Not tracking margin over time. A single snapshot hides trends. Margins that slowly erode are how profitable businesses quietly become unprofitable.
Profit Margin for Small Business & Startups
For most small businesses, margin is the difference between a business that funds its own growth and one that constantly runs short of cash. Knowing your numbers lets you price with confidence, decide which products or services to push, and spot cost creep before it becomes a crisis. Many of the businesses we work with are surprised to learn their "best-selling" product is actually their least profitable once true costs are loaded in.
This is exactly where a fractional CFO or experienced bookkeeper earns their keep: building a clean chart of accounts so your COGS and operating expenses are categorized correctly, then turning your margins into pricing and cost decisions that actually move profit. A calculator gives you the number — the strategy is what changes it.
Need help interpreting these numbers?
Our Ex-PwC Chartered Accountants help US startups and small businesses turn calculations like this into real financial strategy — pricing, cash flow, fundraising, and growth decisions.
Book a Free 30-Min Call →