The Hidden Tax Bill in Your Investment Account
You're up $20,000 in your brokerage account. But when you sell, the IRS is entitled to a portion of that gain. How much depends on two things: how long you held the asset and your total taxable income.
Selling after 364 days instead of 366 can mean the difference between a 22% rate and a 15% rate on a significant gain.
Americans paid $270 billion in capital gains taxes in fiscal year 2022. Source: Congressional Budget Office (2023) — Source
Short-Term vs. Long-Term: The Critical Distinction
Short-term (held one year or less): taxed as ordinary income — same rate as your wages. Long-term (held more than one year): preferential rates of 0%, 15%, or 20%.
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026–$518,900 | Over $518,900 |
| Married Jointly | Up to $94,050 | $94,051–$583,750 | Over $583,750 |
The 0% long-term capital gains rate applies to taxable income below $47,025 for single filers (2024). Source: IRS Rev. Proc. 2023-34 — Source
Tax-Loss Harvesting
Selling positions with unrealized losses before year-end can offset your gains. The rules:
- Losses offset gains of the same type first
- Net losses offset gains of the other type
- Up to $3,000 of net losses can offset ordinary income per year
- Watch the wash sale rule: no "substantially identical" security within 30 days before or after
Tax-loss harvesting can add 0.5%–1.5% in after-tax returns annually for taxable accounts. Source: Vanguard (2022) — Source
See the tax estimator guide, tax planning strategies, and Roth conversion calculator.
Get Started with Avenue to track your cost basis and estimate capital gains tax in real time.