The tax on index funds is calculated as per the standard short-term and long-term capital gain provisions, based on their holding period.