BEHIND THE ANSWER
How the calculation works
Gross margin does not subtract all operating expenses. Rent, salaries, interest and tax may still need to be paid. A high gross margin therefore does not necessarily mean a high net profit.
A worked example
Revenue of 1,500 less cost of 900 gives 600 gross profit. The gross margin is 600/1,500 × 100 = 40%.
Using the calculator
- Enter revenue, cost of goods sold. Use the units shown beside each label.
- Choose Calculate to see the result and the substituted steps. Correct any highlighted input error before relying on an answer.
- Read the assumptions below. You can change one input at a time to see how sensitive the result is to that assumption.
Keep the business inputs comparable
| Input choice | Use this basis | Avoid mixing |
|---|---|---|
| Currency | One consistent currency | Converted and unconverted prices |
| Time period | The same week, month or year | Monthly costs with annual revenue |
| Tax basis | Consistently inclusive or exclusive | Tax collected with business earnings |
| Cost definition | A stated, repeatable set of costs | Gross and net measures without labels |
Write down the period and the cost definition beside the answer. This makes a planning number reproducible when you return to it later or discuss it with a colleague. A percentage without a denominator, an amount without a currency or a break-even quantity without a time period can be misunderstood even when the arithmetic is correct.
This model treats the entered amounts as stable. In practice, volume discounts, refunds, spoilage, card fees, exchange rates and changes in capacity can alter the result. Use the calculator to understand a simple case first, then keep the extra assumptions visible in a more complete business forecast.
Why your result may differ
Margin divides by revenue; markup divides by cost. The same transaction can have a 40% margin and a 66.67% markup.
The result reflects the values you enter, rather than a measurement of your circumstances. Check input precision and units before comparing it with a different calculator. A source that uses another definition, reference period or rounding convention may legitimately report a different number. The steps shown above help you identify where the two methods diverge.
Questions, answered.
Can margin be negative?
Yes. If cost exceeds revenue, the transaction has a gross loss.
Is this net margin?
Only if the cost input includes all expenses you intend to subtract. The standard use here is gross margin with cost of goods sold.
Should sales tax be in revenue?
Normally exclude tax collected on behalf of a government, and keep both inputs on a comparable tax basis.
Are my inputs uploaded or saved?
No. The profit margin calculator runs in your browser. Field values are not sent to a calculation API or saved by the site. Avoid placing sensitive data in search terms or messages.
How should I round the result?
Keep full precision while calculating and round only the final value to a level appropriate for your task. Display rounding does not turn an estimate into an exact measurement. Use the formula and assumptions above when checking an answer.
Sources & editorial notes
The references below explain the underlying definitions or subject background. Linking to a source does not imply endorsement or independent validation of this implementation.
Prepared by the Get Free Calculator editorial team. Published November 19, 2026. If an example, formula or assumption needs correction, tell us which input you used and what you expected. Please avoid sending private financial or health information.