Calculate gross profit margin, markup, revenue, or cost. Solve for any variable given the others.
Calculate your profit margin, selling price, or required markup with our free margin calculator. Switch between margin-based and markup-based modes depending on how you price your products.
Margin % = (Selling Price − Cost) ÷ Selling Price × 100. This differs from markup, which is (Selling Price − Cost) ÷ Cost × 100, since margin is based on selling price while markup is based on cost.
Because margin divides profit by the (larger) selling price, while markup divides profit by the (smaller) cost.
Margin is generally more useful for understanding overall business profitability, while markup is often easier for quickly setting a price.
This varies widely by industry, retail often runs 20-50%, while services or software can run much higher.
Yes, this calculator includes both margin and markup modes on the same page.