Capital gain calculation in Zerodha Console

Zerodha Console provides Tax P&L report mentioning LTCG and STCG. It also mentions TOTAL CHARGES and DEBIT/CREDIT. May I know whether Zerodha, while calculating capital gain/loss has taken into account stock-wise expenses like different taxes and brokerages? Or, is it left to the client to modify capital gain by adding these expenses to the purchase cost?
Can I get a clarification on this? Thank you.

Expenses incurred aren’t accounted for when calculating your gain/loss, you will have to account for those yourself.

If you have further queries regarding taxation or need any help filing taxes, you can post them here Ask Me Anything about Taxation on Trading & Investing #TaxSeason2020