365 Bookkeeping and BAS · Free business tool
Profit margin calculator
See what you keep from each sale before overheads. Compare gross margin with markup, then work out a price for your target margin.
Start with one product or service
Enter the selling price and direct cost for the same item, job or service.
For example, materials and direct labour. Include the costs you want to measure against that sale.
Use a consistent GST basis for both figures. For GST-registered businesses, exclude recoverable GST from direct costs and GST collected from selling prices.
What your price delivers
Understand each sale
For every $100.00 in sales, $40.00 remains before overheads and tax.
What price would reach your target margin?
Uses the direct cost above. This target is a gross margin, before overheads and tax.
Selling price for a 40.00% gross margin: $100.00
Target price is rounded up to the next cent so rounding does not reduce the requested margin.
Margin, markup and the formulas
- Gross profit per sale: selling price − direct cost.
- Gross margin: gross profit ÷ selling price × 100.
- Markup: gross profit ÷ direct cost × 100.
- Target selling price: direct cost ÷ (1 − target margin ÷ 100).
A $60 cost sold for $100 gives $40 gross profit, a 40% gross margin and a 66.67% markup. A 40% markup would only give a $84 selling price and a 28.57% gross margin.
Results depend on which costs you include. This is a per-sale pricing tool, not a complete profit-and-loss report. Rent, administration, finance costs and other overheads still need to be covered. A positive gross margin does not guarantee a profitable business.
A zero direct cost means markup cannot be calculated. A target price is not meaningful at zero cost, so the tool asks for a positive cost before displaying it.
Formula references: Business Queensland gross profit and margin and markup pricing.
Free general calculation tool. Results are estimates from your inputs, before overheads and tax. Your figures stay in your browser. Last reviewed 30 September 2026.