Markup divides profit by cost. Margin divides profit by revenue. The same rupee profit can have very different percentages.
Define the amounts before the percentages
Start with a cost and the revenue for the same product or group of sales. Subtract cost from revenue to find gross profit. Only after finding that amount should you decide which percentage you need.
If an item costs ₹100 and sells for ₹150, gross profit is ₹50. Markup is ₹50 divided by ₹100, or 50%. Margin is ₹50 divided by ₹150, or about 33.33%. Neither is a mistake; they use different reference amounts.
A target margin is not a markup instruction
Suppose the cost is ₹100 and you want a 20% margin before any other costs. Adding 20% to cost gives a ₹120 selling price, but profit of ₹20 divided by ₹120 is only 16.67%. A 20% markup did not create a 20% margin.
To solve for a target margin, divide cost by one minus the desired margin expressed as a decimal. With the same ₹100 cost, ₹100 divided by 0.8 gives ₹125 revenue. The ₹25 profit is 20% of ₹125.
Choose a consistent cost basis
For one product, a purchase cost may be enough for a narrow gross-margin check. For a broader business calculation, packaging, payment fees, delivery, returns or other costs may matter. The calculator only includes costs that you enter.
Do not compare revenue for one month with costs for another, or a per-unit cost with total revenue. Consistent units and periods matter more than the number of decimal places in the answer.
Remember what the result does not say
Gross profit does not automatically equal net profit, taxable profit or cash flow. Overheads, timing, accounting adjustments and taxes can change those figures. The tool is a simple relationship between two inputs, not a replacement for accounts.
When revenue falls below cost, the page reports a loss and signed percentages. Treat that as a prompt to examine the inputs rather than a pricing recommendation.
Try the calculation
Open the Profit & Margin Calculator to explore the inputs, formula and assumptions.