How to Set a Price Using Profit Margin
By Prince Yadav, Founder & Lead Developer.
Margin and markup are different
Margin measures profit as a share of selling price. Markup measures profit as a share of cost. The same profit amount therefore produces different percentages under the two definitions.
Use the margin formula
Gross profit is selling price minus cost. Gross margin percentage is gross profit divided by selling price, multiplied by 100. Keep cost and selling price definitions consistent.
Price from a target margin
For a simple one-unit calculation, a target margin can be used to derive a price from cost. This assumes the entered cost includes the costs you intend to cover and that the target margin is defined on the selling price.
Include more than purchase cost
Packaging, payment processing, delivery, returns, platform fees, labor, and overhead may affect the actual economics. A calculator using one cost input will not automatically include expenses you leave out.
Compare margin across products
Products with different prices or volumes can have different profit amounts even when their margins match. Look at unit contribution, sales volume, and the costs that change with each sale.
Validate the price in context
A calculated price is a starting point. Consider demand, competitor offers, taxes, discounts, and customer expectations, then confirm the result against actual business records.
Check margin and markup on the same sale
If an item costs ₹600 and sells for ₹800, gross profit is ₹200. Profit margin is ₹200 ÷ ₹800 × 100 = 25%, because margin uses the selling price as its denominator. Markup is ₹200 ÷ ₹600 × 100 ≈ 33.3%, because markup uses cost. Both calculations describe the same transaction, but they answer different questions.
When setting a target margin, price is not simply cost multiplied by one plus the margin percentage. For a 25% target margin on a ₹600 cost, the price before other expenses is ₹600 ÷ (1 − 0.25) = ₹800. Remember that payment fees, shipping, returns, discounts, taxes, and overhead may reduce the actual profit available.
Define which costs are included before comparing products or periods; gross margin and net profit margin are not interchangeable.
Explore the formula reference
This article is about setting and checking a selling price after identifying the costs that belong in the decision, including fees and other costs that can be missed.
Related Calculators
Try the Calculator
Test the worked-example inputs in Profit Margin Calculator, then change one input to see how the result responds.
Open Profit Margin Calculator