How the calculation works
Selling price = Product cost ÷ (1 − Target margin decimal)
Worked example
With a $60 cost and 40% target margin, estimated selling price is $60 ÷ 0.60 = $100.
E-commerce Tool
Estimate a selling price from product cost and target profit margin.
Free to use. No account required. Calculator inputs are processed in your browser.
Change the inputs to recalculate instantly.
Estimated selling price
$100
Estimated profit per sale
$40
Selling price = Product cost ÷ (1 − Target margin decimal)
Worked example
With a $60 cost and 40% target margin, estimated selling price is $60 ÷ 0.60 = $100.
Adding 40% to cost creates a 40% markup, not a 40% margin. Margin is measured against the final selling price.
Include any variable costs you want the target margin to cover. Taxes and marketplace rules may require separate treatment.
No. The formula becomes undefined at 100% because no finite selling price can leave the entire selling price as profit while cost is above zero.
Profit Margin Calculator
Calculate gross profit amount and profit margin percentage from revenue and cost.
Break-even ROAS Calculator
Estimate the ROAS required for ad revenue to cover cost of goods before other overhead.
ROAS Calculator
Calculate return on ad spend from advertising cost and attributed revenue.