Profit Margin Calculator
This profit margin calculator shows how much of your revenue you keep. Enter revenue, the direct cost of what you sold, and your other expenses, and it splits the result into gross profit and net profit, each with its margin percentage.
Result
—
Formula
Worked example
Here is the calculation step by step, using the default values in the calculator above:
- Revenue: $10,000
- Cost of goods sold: $6,000
- Other expenses: $1,000
- Gross profit: $10,000 - $6,000 = $4,000
- Gross margin: $4,000 / $10,000 x 100 = 40%
- Net profit: $10,000 - $6,000 - $1,000 = $3,000
- Net margin: $3,000 / $10,000 x 100 = 30%
Answer: $3,000.00 net profit
How to use this calculator
- Enter total revenue for the period.
- Enter the direct cost of the goods or services sold.
- Enter other expenses such as rent, marketing and admin.
- Compare gross margin (before overheads) with net margin (after everything).
What the results mean
Gross margin shows whether your pricing covers the direct cost of what you sell. Net margin shows whether the business as a whole makes money after all expenses. A business can have a healthy gross margin and still lose money if overheads are too high — that is why both figures matter, and why margin is more useful than profit alone when comparing businesses of different sizes.
Practical uses
- Pricing a product or service.
- Checking whether a discount is affordable.
- Comparing your margins with a previous period.
- Deciding whether a product line is worth keeping.
Frequently asked questions
How do you calculate profit margin?
Subtract costs from revenue to get profit, then divide profit by revenue and multiply by 100. For $10,000 revenue and $7,000 total costs, profit is $3,000 and net margin is 30%.
What is the difference between gross and net margin?
Gross margin uses only the direct cost of goods sold; net margin uses all expenses. Gross margin shows pricing health, net margin shows overall profitability.
What is a good profit margin?
It varies widely by industry — software margins are far higher than grocery margins. Compare with your own past figures and with typical figures for your industry, not with a single universal number.
Is profit margin the same as markup?
No. Margin is profit divided by selling price; markup is profit divided by cost. A 50% markup gives a 33% margin. See the markup calculator.
Can profit margin be negative?
Yes — if costs are higher than revenue, profit and margin are negative, which means the business loses money on those sales.