How to use the Profit Margin Calculator
- Selling price / revenue: Enter this value in the units shown; use the same period and currency throughout.
- Associated cost: Enter this value in the units shown; use the same period and currency throughout.
Select your display currency, enter every active input and choose Calculate result. Use Reset to clear the scenario. Download saves a text summary locally; Print can save a PDF through your browser.
Profit Margin Calculator formula
Profit = revenue − cost. Profit margin (%) = profit / revenue × 100.
Variables and units
Revenue and cost must refer to the same unit or period. The margin denominator is positive revenue; associated cost is subtracted to obtain profit.
Use one currency throughout. Display currency changes formatting only; it does not convert amounts.
Practical calculation example
Revenue 1,250 minus cost 900 gives profit 350. Margin = 350 / 1,250 × 100 = 28%.
Amounts use a single chosen currency. The example button loads the same numerical scenario.
Understanding your results
Margin tells you what share of each sales unit remains after the entered cost. A negative result indicates a loss.
Assumptions and rounding
Use matching units and periods. This is not automatically net margin: include only the costs appropriate to your comparison. Revenue must be positive.
JavaScript calculates using floating-point numbers. Money is displayed to two decimals; most ratios and quantities to two decimals. Whole units round upward where stated. Internal calculations retain precision, except GST invoice and split amounts which reconcile to two decimals. Display rounding is not a substitute for legally required invoice or payroll rounding.
Frequently asked questions
Is margin the same as markup?
No. Margin divides profit by revenue; markup divides it by cost.
Can margin be negative?
Yes. If cost exceeds revenue, profit and margin are negative.
Does this margin include overhead and income tax?
Only costs entered in the cost field are included. Unit margin is not automatically company net margin; use gross or net profit tools for their stated cost scopes.
What is the margin when revenue is 1,250 and cost is 900?
Profit is 350. Dividing 350 by 1,250 and multiplying by 100 gives a 28% margin.
Can I calculate margin when revenue is zero?
No finite percentage is defined with a zero revenue denominator. This calculator requires positive revenue.
Explore this calculation further
Related calculators
Disclaimer
Use matching units and periods. This is not automatically net margin: include only the costs appropriate to your comparison. Revenue must be positive.
Use these results as planning estimates, not financial, tax, investment, payroll or legal advice. Check material decisions against your records and qualified advice.