What is the Price Calculator?
This Price Calculator works out the selling price you should charge per unit to reach a desired profit margin, starting from your unit cost. It also reports your markup on cost, profit per unit, and the total price and profit across any quantity you sell. It is a universal pricing tool with no currency or country restrictions — enter values in any consistent currency.
How to use it
Enter the unit cost (what it costs you to make or buy one item), the profit margin you want as a percentage of the selling price, and the quantity you expect to sell. The calculator returns the price per unit and rolls it up into totals. Margin must be below 100% because a 100% margin would require an infinite price.
The formula explained
Margin is profit expressed as a fraction of the selling price, so price equals cost divided by (1 − margin). For example, a 40% margin means cost makes up 60% of the price, so $$\text{Price} = \text{Cost} \div 0.60$$ Markup, by contrast, expresses profit as a fraction of cost: $$\text{Markup} = (\text{Price} - \text{Cost}) \div \text{Cost}$$ The two are easy to confuse, which is why this tool shows both.
Worked example
Suppose a product costs $20 and you want a 40% margin selling 10 units. $$\text{Price} = 20 \div (1 - 0.40) = 20 \div 0.60 = \$33.33 \text{ per unit}$$ Profit per unit = $13.33, markup = 66.67%, total price = $333.33 and total profit = $133.33.
Margin to Markup Conversion Table
Margin is measured against the selling price, while markup is measured against cost. The same percentage means different things for each, so use this table to convert between them. The formulas are \(\text{markup} = \frac{m}{1-m}\) and \(\text{price multiplier} = \frac{1}{1-m}\), where \(m\) is the margin as a decimal (for example 0.25 for 25%).
| Profit margin | Equivalent markup on cost | Price multiplier (price ÷ cost) |
|---|---|---|
| 10% | 11.1% | 1.111 |
| 20% | 25% | 1.250 |
| 25% | 33.3% | 1.333 |
| 30% | 42.9% | 1.429 |
| 33.3% (one third) | 50% | 1.500 |
| 40% | 66.7% | 1.667 |
| 50% | 100% | 2.000 |
| 60% | 150% | 2.500 |
| 75% | 300% | 4.000 |
Note: a margin of exactly 1/3 gives a markup of exactly 50%. A rounded 33.3% margin gives about 49.9%. A margin can never reach 100%, because that would require an infinite price. Markup, however, can exceed 100%.
Price Comparison Across Different Margins
This comparison uses a fixed unit cost of $20 and a quantity of 10 units. Each price comes from \(\text{Price} = \frac{20}{1 - m}\). For example, at a 40% margin: \(\frac{20}{1 - 0.40} = \frac{20}{0.60} = 33.33\). Multiplying by 10 units gives a total price of 333.33.
| Margin | Price per unit | Profit per unit | Markup on cost | Total price (10 units) | Total profit (10 units) |
|---|---|---|---|---|---|
| 20% | $25.00 | $5.00 | 25.0% | $250.00 | $50.00 |
| 30% | $28.57 | $8.57 | 42.9% | $285.71 | $85.71 |
| 40% | $33.33 | $13.33 | 66.7% | $333.33 | $133.33 |
| 50% | $40.00 | $20.00 | 100.0% | $400.00 | $200.00 |
| 60% | $50.00 | $30.00 | 150.0% | $500.00 | $300.00 |
Each step up in margin raises the price by a growing amount. Going from 50% to 60% adds $10.00 per unit, while going from 20% to 30% adds only about $3.57. Totals are computed from the unrounded unit price and then rounded.
Pricing Terms Glossary
- Unit cost (C): what it costs you to buy or make one unit. It is the input to the pricing formula \(P = \frac{C}{1 - m}\).
- Selling price (P): the price charged per unit. \(P = \frac{C}{1 - m}\), or equivalently \(P = C \times (1 + \text{markup})\).
- Profit margin (gross margin, m): the share of the selling price that is profit. \(m = \frac{P - C}{P}\), usually shown as a percentage.
- Markup: profit expressed as a percentage of cost. \(\text{markup} = \frac{P - C}{C} = \frac{m}{1 - m}\).
- Profit per unit: the money kept from each unit sold. \(\text{profit} = P - C\).
- Revenue (total price): the amount charged for the whole order. \(\text{total price} = P \times Q\).
- Total profit: profit across all units. \(\text{total profit} = (P - C) \times Q\).
- Quantity (Q): the number of units sold. It scales total price and total profit but does not change the unit price.
These are gross figures. They do not include overhead, taxes, shipping, discounts or payment fees unless you add them to the unit cost.
FAQ
Is margin the same as markup? No. Margin is based on the selling price; markup is based on cost. A 40% margin equals a 66.7% markup.
Why can't I enter a 100% margin? A margin of 100% means cost is 0% of the price, which mathematically requires an infinite selling price, so margins must stay below 100%.
Can I price multiple units? Yes — set the quantity and the calculator shows total revenue and total profit for the whole batch.