Pricing Calculator Formula
Understand the math behind the pricing calculator. Each variable explained with a worked example.
Formulas Used
Selling Price
selling_price = cost * (1 + markup_pct / 100)Profit Per Unit
profit = cost * markup_pct / 100Resulting Margin
margin_pct = (1 + markup_pct / 100) > 0 ? (markup_pct / 100) / (1 + markup_pct / 100) * 100 : 0Variables
| Variable | Description | Default |
|---|---|---|
cost | Cost(USD) | 75 |
markup_pct | Desired Markup(%) | 50 |
How It Works
How to Calculate Selling Price
Formula
Selling Price = Cost x (1 + Markup% / 100) Resulting Margin = Markup% / (100 + Markup%)
Setting the right price is a balance between covering costs, making a profit, and remaining competitive. This calculator helps you find your selling price and see both markup and margin.
Worked Example
A product costs $75 and you want a 50% markup.
cost = 75markup_pct = 50
- 01Selling price = $75 x (1 + 50/100) = $75 x 1.50 = $112.50
- 02Profit per unit = $112.50 - $75 = $37.50
- 03Resulting margin = $37.50 / $112.50 x 100 = 33.33%
Ready to run the numbers?
Open Pricing Calculator