As per the Income ax Act, STCL can be set off against both STCG and long-term capital gains (LTCG) within the same financial year. If the STCL is not fully utilised, it can be carried forward for up to 8 years and can be used to set off future STCG and LTCG. This provides investors a cushion against future gains and reduces the overall tax liability.