Profit Margin Calculator Guide: Formula & Worked Example
Short answer
Profit, margin and markup from cost and price. In the fixed example below, gross margin is 40%. Your answer depends on the inputs and assumptions you choose.
Formula
Result = Profit Margin Calculator calculation using cost, selling price
The inputs are cost, selling price. Use the input scale shown beside each field and keep time periods and units consistent. Only round the final result for display.
Worked example
- Cost
- 60
- Selling price
- 100
- Gross margin: 40%
- Profit: 40.00
- Markup: 66.67%
Understanding the result
Profit, margin and markup from cost and price. Start with the base example, then replace each value with the figure that matches your situation.
Cost
The example uses 60 for cost. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.
Selling price
The example uses 100 for selling price. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.
What the comparison means
The comparison changes only cost, keeping every other example input fixed. This isolates that input's effect on the primary result. It does not predict future outcomes.
Rates, fees, eligibility, local tax rules and provider rounding can change the final amount. Reference tax and exchange-rate data may be outdated; verify the official source before deciding.
Comparison
| Scenario | Input | Result |
|---|---|---|
| Lower input | Cost: 48 | Gross margin: 52% |
| Base example | Cost: 60 | Gross margin: 40% |
| Higher input | Cost: 72 | Gross margin: 28% |
Common mistakes
- Using the wrong units for cost.
- Comparing results while changing more than one input at a time.
- Rates, fees, eligibility, local tax rules and provider rounding can change the final amount. Reference tax and exchange-rate data may be outdated; verify the official source before deciding.
Checklist
- Confirm cost.
- Confirm selling price.
- Check the result against your source or provider.
Calculators Percentage Editorial Team
Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.
Last reviewed:
Rates, fees, eligibility, local tax rules and provider rounding can change the final amount. Reference tax and exchange-rate data may be outdated; verify the official source before deciding.
