01
How realized profit/loss is calculated
Realized profit/loss = total sell proceeds (after fees/tax) β total buy cost (including fee). Buying adds brokerage fees to your outlay, while selling deducts fees and transaction tax from your proceeds. Buying 100 shares at 50,000 and selling at 55,000 looks like a plain 500,000 gain, but after fees and tax the real realized profit is smaller.