How this calculation works
Selling price = cost × (1 + markup %). Gross margin = profit ÷ selling price × 100.
Example
A 25% markup on $100 cost gives a $125 selling price; that is a 20% gross margin.
When to use it
Set a selling price from your cost and target markup before preparing a quote or invoice.