How will taxes be calculated if I invest through SIP?

Your SIP investments will be taxed only if you wish to withdraw them. You can incur a short-term or long-term capital gains tax on mutual fund returns depending on when you decide to sell/withdraw your units. The tax will be calculated depending on the type of fund.