Profit Margin Calculator
Turn a cost price and a selling price into profit, margin and markup - three different numbers that are easy to confuse.
Add GST to a price or pull it back out of a GST-inclusive price, with the CGST and SGST split shown separately.
3 inputs · Free, no sign-up ·
Estimates only. Rates, fees and specifications change. Confirm against the official source before you rely on a figure — see our disclaimer.
GST is calculated differently depending on which figure you start from. If you have a price before tax, GST is added on top. If you have a shelf price that already includes tax, the GST has to be extracted from inside it — and taking 18% off a GST-inclusive price is the most common mistake people make, because it gives the wrong answer.
This calculator handles both directions and shows the CGST and SGST split you need for an invoice on a sale within your own state.
Adding GST to a price that excludes it:
GST amount = Amount x Rate / 100
Total = Amount + GST amount
Extracting GST from a price that already includes it:
Base amount = Amount x 100 / (100 + Rate)
GST amount = Amount - Base amount
The second formula is the one people get wrong. On a GST-inclusive price of ₹1,180 at 18%, the GST is not ₹212.40 (18% of 1,180). It is ₹180, because the tax was calculated on the base of ₹1,000, not on the inclusive total.
For a sale within your own state the GST is split evenly into CGST and SGST. For a sale to another state the whole amount is IGST instead — the total is the same either way.
| Symbol | Meaning | Unit |
|---|---|---|
| Amount | The figure you enter, before or including GST | ₹ |
| Rate | The GST percentage for the product | % |
| Base | The taxable value before GST | ₹ |
Adding GST. You sell a phone case for ₹1,000 before tax, at 18%.
GST = 1,000 x 18 / 100 = 180
Total = 1,000 + 180 = 1,180
Extracting GST. The same case is listed at ₹1,180 including tax.
Base = 1,180 x 100 / 118 = 1,000
GST = 1,180 - 1,000 = 180
Both give ₹180 of GST, split as ₹90 CGST and ₹90 SGST on an in-state sale.
Divide by (100 + rate) and multiply by 100. At 18%, divide the inclusive price by 1.18. Subtracting 18% from the inclusive price gives the wrong answer, because the tax was originally calculated on the smaller base figure.
Most accessories - cases, chargers, cables, power banks, keyboards and mice - are taxed at 18%. Rates are tied to HSN codes and do change, so check the current rate for your specific product before invoicing.
For a sale within your own state the tax is split evenly between CGST (central) and SGST (state). For a sale to another state the whole amount is charged as IGST. The total tax is the same in both cases, only the split differs.
Yes. Enter 0 as the rate and the base, GST and total will all reflect a tax-free amount. The calculation handles a zero rate without error in both directions.
Turn a cost price and a selling price into profit, margin and markup - three different numbers that are easy to confuse.
Work out what to charge: enter your costs and the margin or markup you want, and get the price to list, with…
How many units you need to sell to cover your fixed costs - and a clear explanation when a price means you never will.
Work out what you actually keep from an Amazon.in sale after the referral fee, closing fee and shipping.
Work out what a Flipkart sale leaves you after commission, the collection fee, the fixed fee and shipping.
Work out what a Meesho order leaves you once the commission and shipping charge have come off.