How to use the Profit & Loss Calculator
- Enter cost price. Include the purchase price per unit and the quantity.
- Enter selling price. Or switch to ‘Find selling price’ and set a target markup or margin.
- Add other expenses. Shipping, marketplace fees or packaging are spread across all units.
- Read profit, margin and markup. Green means profit, red means loss.
Profit & Loss Calculator formula
Profit = SP − CP Profit % = (SP − CP) ÷ CP × 100
Margin % = (SP − CP) ÷ SP × 100
SP for markup M = CP × (1 + M/100) SP for margin G = CP ÷ (1 − G/100)
Worked example
Margin vs markup — they're not the same
Markup is profit as a percentage of cost; margin is profit as a percentage of selling price. A 50% markup equals a 33.3% margin. Retailers usually talk about margin, while school maths ‘profit %’ is markup. iCalc shows both so you never mix them up.
Frequently asked questions
How do I calculate profit percentage?
Profit % = (Selling price − Cost price) ÷ Cost price × 100.
How is loss percentage calculated?
Loss % = (Cost price − Selling price) ÷ Cost price × 100. The calculator shows it in red when SP is below CP.
What is the difference between margin and markup?
Markup is based on cost and margin is based on the selling price. The same rupee profit gives a higher markup % than margin %.
How do I find the selling price for a 30% margin?
Divide the cost by (1 − 0.30). For a ₹700 cost, SP = ₹1,000. Use ‘Find selling price’ and choose ‘Margin on price’.
Should I include GST in cost price?
If you can claim input tax credit, use the cost before GST. Otherwise include it, because it is a real cost to you.
Last updated 25 October 2026 · Built and maintained by Infodoer. Results are estimates for information only.