Cost Price from Margin Calculator
How to Use This Calculator
- 1
Enter the selling price
Type the product's final selling price in Selling Price ($), before subtracting its cost.
- 2
Enter the gross profit margin
Enter Profit Margin (%) as a percentage of the selling price. A 30% margin means 30% of each sales dollar remains after the product cost used in this calculation.
- 3
Review cost, markup, and break-even units
The calculator reports implied cost price, profit per unit, markup, cost-to-price ratio, and units needed to cover its assumed $1,000 in fixed costs.
Example Calculation
A business sells a product for $100 and targets a 30% profit margin before other operating expenses.
Selling Price ($)
100
Profit Margin (%)
30
Results
Cost Price
$70.00
Profit Amount
$30.00
Markup Percentage
42.86%
Cost-to-Price Ratio
70.00%
Revenue Retained
$30.00
Break-even Units
34
Insights card shows the margin and markup benchmarks and the $1,000 fixed-cost break-even estimate.
Tips
A 40% margin on a $100 price allows a $60 product cost
Change Profit Margin (%) from 30 to 40 while keeping Selling Price ($) at $100. Cost Price falls to $60, profit per unit rises to $40, and break-even volume for $1,000 in fixed costs falls to 25 units.
A $100 price with a $70 cost produces a 42.86% markup
Use a 30% margin to test the distinction between margin and markup. The $30 profit is 30% of the $100 selling price but 42.86% of the $70 cost.
Low margins require more units to cover the same fixed cost
Change Profit Margin (%) to 10 at a $100 selling price. Profit per unit becomes $10, so the calculator's $1,000 fixed-cost estimate requires 100 units instead of 34.
What this calculator estimates
Cost price from margin is the product cost implied by a selling price and a target gross profit margin. The calculator also reports profit per unit, markup, cost as a share of price, and an illustrative unit count for covering $1,000 in fixed costs.
The result is not net profit. It does not subtract every operating expense, tax, or additional variable cost, and its break-even estimate assumes the calculated profit per unit is available to cover fixed costs.
How the calculation works
Cost price = Selling price × (1 − Profit margin / 100)
Profit per unit = Selling price − Cost price
Markup percentage = Profit per unit / Cost price × 100
Cost-to-price ratio = Cost price / Selling price × 100
Break-even units = Ceiling($1,000 / Profit per unit)
For a $100 selling price and a 30% margin, cost price is $100 × (1 − 0.30) = $70. Profit per unit is $100 − $70 = $30. Markup is $30 / $70 × 100 = 42.86%, while the cost-to-price ratio is $70 / $100 × 100 = 70%.
The break-even estimate is ceiling($1,000 / $30) = 34 units. This uses the calculator's fixed $1,000 assumption; enter a different fixed-cost amount in a separate analysis if your actual expenses differ.
How margin changes cost and break-even volume
At the same selling price, a higher target margin implies a lower product cost and more profit per unit. That lowers the number of units needed to cover the calculator's assumed fixed cost.
| Selling price | Margin | Implied cost | Profit per unit | Units to cover $1,000 |
|---|---|---|---|---|
| $100 | 10% | $90 | $10 | 100 |
| $100 | 30% | $70 | $30 | 34 |
| $100 | 40% | $60 | $40 | 25 |
The table assumes no extra variable costs beyond the implied product cost. If shipping, payment processing, commissions, or packaging vary with each sale, subtract those costs before treating the remaining amount as contribution toward fixed expenses.
Use margin and markup for different decisions
Use margin to ask what share of sales revenue remains after product cost. Use markup to ask how much the selling price exceeds that cost. A 30% margin does not mean a 30% markup; when cost is $70 and profit is $30, the markup is 42.86%.
Before changing prices, check the costs included in your target margin and compare the implied price with customer demand and competing offers. The SBA's marketing and sales guidance covers market and customer research, which this calculation cannot replace.
For a direct margin calculation, use the margin calculator or profit margin calculator. For a price based on costs and target profit, use the price calculator; for gross-profit analysis, compare the gross margin calculator.
Frequently Asked Questions
How do you calculate cost price from profit margin?
Multiply the selling price by one minus the margin expressed as a decimal. 1. Convert the margin percentage to a decimal. 2. Subtract it from 1. 3. Multiply the result by the selling price. For a 30% margin, cost price is selling price × (1 − 0.30).
What is the difference between profit margin and markup?
Margin is profit divided by selling price, while markup is profit divided by cost price. The same dollar profit produces different percentages because the denominators differ; use margin when setting profit as a share of revenue and markup when measuring an increase over cost.
Does the cost price include all business expenses?
No; the calculator derives cost as the portion of selling price left after the entered margin and does not itemize operating expenses, taxes, shipping, payment fees, or other variable costs. Confirm which costs your target margin is meant to cover before using the result as a price.
How many units do I need to break even?
This calculator estimates units needed to cover $1,000 in fixed costs by dividing $1,000 by its calculated profit per unit and rounding up. A full business break-even analysis should use contribution margin after variable costs, not gross profit if additional per-unit expenses apply.
How should I set a product's price?
Set a price that covers the relevant product and operating costs while remaining acceptable to customers. The U.S. Small Business Administration's marketing and sales guidance recommends understanding your market and customers; this calculator shows the margin implied by a price and cost, but it does not determine market demand.
