Profit is the difference between the amount (taxes and charges) paid and the final amount earned. Similarly, the loss is the summation of the amount (taxes and charges) paid and the final loss amount. So, remember to take into account the Brokerage fees, STT, and other costs while calculating your trading profit or loss.