An investment can increase substantially in value without creating an immediate federal income tax bill. In a taxable account, gains generally aren’t taxed until the asset is sold. That tax deferral can be valuable, but when and how the gain is eventually realized can have a significant effect on the rate you pay.