Stock Profit Calculator

Buy price, sell price, quantity and charges — get gross profit, net profit after costs, return percentage and per-share numbers in one shot.

Free tool — values never leave your browser. For these numbers computed automatically from your real trades, create a free TradeDiary account.

Gross vs net: the number that actually lands in your account

Gross profit is price difference × quantity. Net profit subtracts everything the trade cost you — brokerage, STT, exchange charges, GST, stamp duty and DP charges:

Net P&L = (Sell − Buy) × Qty − total charges

The "charges as % of gross" figure this calculator shows is worth watching: if charges routinely eat more than 10–15% of your gross profits, you're either trading too small, too often, or with targets too close. Scale that across a year of trades and it's often the difference between a profitable and a break-even year.

Stop calculating trade-by-trade. TradeDiary imports your trades from Zerodha, Groww, Upstox, Dhan & more, and tracks these numbers across your whole history.

Start Free — No Credit Card →

Frequently asked questions

How do I find the total charges for a trade?

Your broker's contract note lists every charge per trade. For a quick estimate with a discount broker: delivery ≈ 0.25% of turnover round-trip; intraday ≈ 0.05% plus ₹40 brokerage. Your journal can read the real numbers from imported files.

Does this calculator handle short trades?

Yes — enter your (higher) sell price and (lower) buy price as usual; profit shows positive when sell exceeds buy. For F&O shorts, remember quantity is lots × lot size.

Is net profit here the same as my taxable profit?

Close but not identical: for capital gains, some charges (STT for instance) are treated differently under Indian tax rules. Use net-of-all-charges for trading decisions and your tax report for filing.