What happens if I invest less than my total capital gain?

If the entire capital gain is not invested in Capital gain bonds, only the invested portion will be eligible for tax exemption. The remaining uninvested gain will be subject to tax.