How to use this calculator
Use cost and selling price on the same basis, excluding GST. Choose Margin and markup to check an existing price, or Selling price for a target margin to calculate a price. A zero denominator is shown as not defined.
The formula
Gross profit = selling price − cost. Margin % = profit ÷ selling price × 100. Markup % = profit ÷ cost × 100.
Worked example
If an item costs ₹800 and sells for ₹1,000, gross profit is ₹200. Margin is 20% of the selling price; markup is 25% of cost. For a 20% target margin, ₹800 ÷ (1 − 0.20) gives a selling price of ₹1,000.
Check the assumptions
Gross profit excludes rent, salaries, finance costs and other overheads. These figures are not net profit. Enter the cost appropriate to your records; do not subtract recoverable tax twice. Target prices round to paise, so the displayed achieved margin can differ slightly from the target.
Reference: Retail margin and markup guide. Guidance reviewed 09/11/2026.
Use it with your daily billing
Check a proposed retail price here, then maintain the item’s purchase and sale prices in Yojika. Review your item and profit reports alongside expenses and stock.
See features, compare pricing or try Yojika.