Capital gains tax is the tax you pay on profit from selling an investment — and the difference between paying it at the short-term rate versus the long-term rate can be 10 to 20 percentage points on the same gain. That rate difference changes investment holding decisions in meaningful ways: a gain that looks identical in dollar terms can result in wildly different after-tax proceeds depending entirely on whether you held the asset for 12 months and one day versus 11 months. Understanding how capital gains tax is calculated, how the holding period affects your rate, and which strategies legally reduce what you owe is material to every investment decision you make in a taxable account.
Net Investment Income Tax and State Taxes
Federal capital gains tax is only part of the picture. Most states tax capital gains as ordinary income — California at 13.3%, New Jersey at 10.75%, Oregon at 9.9%, New York at 10.9%. A few states have no income tax (Florida, Texas, Washington, Nevada, Wyoming, South Dakota, Alaska) and thus no state capital gains tax. This geographic reality creates meaningful after-tax return differences for investors in high-tax states.
Combined federal and California taxes on a $50,000 long-term capital gain for a taxpayer in the 20% federal long-term rate bracket: 20% federal + 3.8% NIIT + 13.3% California = 37.1% effective tax rate. The same gain in Florida: 20% + 3.8% = 23.8%. The state difference alone costs $6,650 on a $50,000 gain. Over an investing lifetime, residency decisions have compounding tax implications that dwarf most other financial choices.
Capital Gains in Retirement Accounts
Assets held in traditional IRAs and 401(k)s don't generate capital gains events when you buy or sell within the account. All growth accumulates tax-deferred, and you pay ordinary income tax only on withdrawals in retirement. In Roth accounts, qualified withdrawals are completely tax-free — making Roth accounts ideal for holding your highest-growth, highest-gain assets.
The practical asset location strategy: hold tax-inefficient assets (high-dividend stocks, REITs, actively managed funds with high turnover) in tax-sheltered retirement accounts. Hold tax-efficient assets (index ETFs with low turnover, buy-and-hold individual stocks, municipal bonds) in taxable accounts where their low capital gains distributions create minimal annual tax drag. This location strategy can increase after-tax portfolio returns by 0.3 to 0.7% per year without any change in investment selection — purely through tax placement.