How to Use
- Enter cost
Input the cost of your product or service.
- Enter selling price or margin
Input either the selling price or your desired margin percentage.
- View results
See profit margin, markup percentage, and profit amount.
What is profit margin?
Profit margin (gross margin) is the share of the selling price (revenue) that remains as profit after subtracting cost, expressed as a percentage. Earning the same $100 means very different things depending on the price you sold at, so margin — rather than the absolute profit figure — is the standard for comparing profitability.
Why it matters
- Pricing: Setting a target margin lets you price consistently even when costs change.
- Comparing profitability: It puts products, stores, and time periods of different sizes on the same yardstick.
- Profit-and-loss management: If margin falls below your fixed-cost ratio, you lose money on every sale, so it helps decide whether a business is worth continuing.
By definition margin can never exceed 100%, and it approaches 100% as cost nears zero. The often-confused markup divides the same profit by cost instead of by selling price, so it always comes out higher than margin.
The formula
This calculator derives three values from the selling price (revenue) and the cost.
Net profit = Revenue − CostMargin (%) = (Revenue − Cost) / Revenue × 100Markup (%) = (Revenue − Cost) / Cost × 100
Example: at a selling price of $100 and a cost of $60, net profit is 100 − 60 = $40, the margin is 40 / 100 × 100 = 40%, and the markup is 40 / 60 × 100 ≈ 66.7%. If revenue is 0, the margin is treated as 0.