Calculating Capital Gains in 2026
This article provides valuable insights and information.
As we approach 2026, understanding how to calculate capital gains is more important than ever. With market volatility, shifting tax policies, and long-term investment strategies maturing, investors need clarity on how gains are determined, reported, and taxed. Whether you're holding ETFs like VTI or blue-chip stocks like Johnson & Johnson (JNJ), the principles of capital gains calculation remain consistent β but the numbers and tax rates may change.
This guide breaks down how to calculate capital gains in 2026 using real-world examples, specific tax brackets, and data-backed projections based on current legislation and inflation adjustments.
What Are Capital Gains?
A capital gain occurs when you sell an investment for more than its purchase price. The difference between the sale price and the cost basis is your gain. If you sell for less, itβs a capital loss.
There are two types of capital gains:
- Short-term capital gains: For assets held one year or less. These are taxed as ordinary income.
- Long-term capital gains: For assets held more than one year. These benefit from preferential tax rates.
Taxes are only triggered upon realization β that is, when you sell the asset.
2026 Tax Brackets and Capital Gains Rates (Projected)
While exact 2026 tax brackets wonβt be finalized until late 2025, we can project them based on current IRS inflation indexing rules and the Tax Cuts and Jobs Act (TCJA), which expires after 2025. Absent new legislation, tax rates will revert in 2026 to pre-TCJA levels.
Projected 2026 Long-Term Capital Gains Tax Rates (Married Filing Jointly)
| Tax Bracket Threshold | Capital Gains Rate |
|---|---|
| Up to $98,900 | 0% |
| $98,901 β $613,700 | 15% |
| Over $613,700 | 20% |
Note: These thresholds are adjusted for inflation from 2025 estimates and reflect a projected reversion to pre-TCJA brackets.
Projected 2026 Ordinary Income Tax Brackets (Affects Short-Term Gains)
| Tax Rate | Income Threshold (Married Filing Jointly) |
|---|---|
| 10% | Up to $24,800 |
| 12% | $24,801 β $100,800 |
| 22% | $100,801 β $211,400 |
| 24% | $211,401 β $403,550 |
| 32% | $403,551 β $512,450 |
| 35% | $512,451 β $768,700 |
| 37% | Over $768,700 |
Important: Short-term capital gains are added to your ordinary income and taxed at your marginal rate.
Step-by-Step: How to Calculate Capital Gains
Calculating capital gains is straightforward. Follow these steps:
1. Determine the Sale Price
This is the net amount you receive from selling the asset after commissions or fees.
2. Determine the Cost Basis
Your cost basis includes:
- Original purchase price
- Commissions or fees paid at purchase
- Reinvested dividends (if applicable)
- Stock splits or adjustments
3. Subtract Cost Basis from Sale Price
- Capital Gain = Sale Price β Cost Basis
- If negative, itβs a capital loss.
4. Classify as Short-Term or Long-Term
- Short-term: Held 1 year or less
- Long-term: Held more than 1 year
5. Apply the Correct Tax Rate Based on Income
Real-World Examples
Example 1: Long-Term Gain on VOO
Scenario:
In January 2022, you bought 100 shares of VOO (Vanguard S&P 500 ETF) at $380 per share. You sell all 100 shares in March 2026 at $520 per share. Your tax filing status is Married Filing Jointly, with $120,000 in other income.
Calculation:
- Purchase cost: 100 Γ $380 = $38,000
- Commissions: $0 (commission-free trade)
- Reinvested dividends: $3,200 (accumulated over 4 years)
- Adjusted cost basis = $38,000 + $3,200 = $41,200
- Sale proceeds: 100 Γ $520 = $52,000
- Capital gain = $52,000 β $41,200 = $10,800
- Holding period: Over 4 years β long-term gain
Tax Impact:
- Your other income: $120,000
- Total income with gain: $130,800
- Long-term capital gains fall into the 15% bracket (between $98,901 and $613,700)
- Tax due = $10,800 Γ 15% = $1,620
Example 2: Short-Term Gain on Individual Stock (KO)
Scenario:
You bought 200 shares of Coca-Cola (KO) in July 2025 at $60/share. You sell them in February 2026 at $68/share. You earn $45,000 in wages and file as Single.
Calculation:
- Purchase cost: 200 Γ $60 = $12,000
- Commissions: $0
- Cost basis = $12,000
- Sale proceeds: 200 Γ $68 = $13,600
- Capital gain = $13,600 β $12,000 = $1,600
- Holding period: 7 months β short-term gain
Tax Impact:
- Wages: $45,000
- Add short-term gain: $46,600
- Filing as Single β falls into 12% marginal bracket
- Tax due = $1,600 Γ 12% = $192
Example 3: Netting Gains and Losses (SCHD and VTI)
Scenario:
You sell two positions in 2026:
- 50 shares of SCHD bought in 2024 at $45/share, sold at $72/share
- 150 shares of VTI bought in 2025 at $240/share, sold at $220/share
You file as Married Filing Jointly with $95,000 in salary.
Calculations:
SCHD (Long-Term):
- Cost basis: 50 Γ $45 = $2,250
- Sale: 50 Γ $72 = $3,600
- Gain: $3,600 β $2,250 = $1,350
VTI (Short-Term):
- Cost basis: 150 Γ $240 = $36,000
- Sale: 150 Γ $220 = $33,000
- Loss: $33,000 β $36,000 = β$3,000
Net Capital Position:
- Long-term gain: $1,350
- Short-term loss: $3,000
- Net loss: $1,650 (short-term)
Tax Impact:
- You can offset up to $3,000 of ordinary income with capital losses.
- Remaining $1,650 loss carries forward to 2027.
- No tax due on capital gains in 2026 due to offset.
Adjusted Cost Basis: What Counts?
Many investors overlook adjustments to their cost basis. The IRS allows:
| Adjustment Type | Included in Cost Basis? | Example |
|---|---|---|
| Purchase commissions | Yes | $10 fee on $5,000 stock purchase β $5,010 basis |
| Reinvested dividends | Yes | $2.50/share annual dividend reinvested over 5 years β increases basis |
| Stock splits | Yes | 2-for-1 split β double shares, halve price per share |
| Return of capital | Reduces basis | $1/share return of capital β basis drops by $1 |
Example:
You buy 100 shares of JNJ at $150/share. Over 3 years, you reinvest $8.40/share in dividends. You also receive a $1.20/share return of capital in 2025.
- Original cost: $15,000
- Reinvested dividends: 100 Γ $8.40 = $840
- Return of capital: 100 Γ $1.20 = $120 (reduces basis)
- Adjusted cost basis = $15,000 + $840 β $120 = $15,720
Tax-Loss Harvesting in 2026
Tax-loss harvesting involves selling underperforming investments to offset gains. In 2026, with potential market uncertainty, this strategy could save thousands.
Rules:
- Offset short-term gains with short-term losses first
- Offset long-term gains with long-term losses
- Remaining losses can offset up to $3,000 of ordinary income
- Excess losses carry forward indefinitely
Example:
You have:
- $12,000 long-term gain from VOO
- $8,000 long-term loss from a tech stock
- Net long-term gain: $4,000
- Tax at 15%: $600 (vs. $1,800 without harvesting)
2026 Capital Gains Exemptions and Exceptions
1. Primary Residence Exclusion
Up to $250,000 ($500,000 if married) of gain on the sale of a primary home is tax-free if:
- You owned and lived in the home for 2 of the last 5 years
- You havenβt used the exclusion in the past 2 years
2. Gift and Inheritance Basis
- Gifts: Recipient takes donorβs basis (carryover basis)
- Inherited assets: Basis is "stepped up" to fair market value at date of death
Example:
Parent bought KO at $20/share in 1980. Itβs worth $65/share at death. You inherit 100 shares.
- Your basis = $65/share (not $20)
- If you sell at $70, gain is $5/share β $500 total gain
This could save $2,250 in taxes compared to carryover basis.
Impact of Inflation Adjustments in 2026
The IRS adjusts capital gains brackets annually for inflation. For 2026, assuming 3% average inflation from 2024β2025:
| Category | 2024 Threshold | 2026 Projected |
|---|---|---|
| 0% Long-Term Rate (MFJ) | $94,050 | $98,900 |
| 15% Threshold (MFJ) | $583,750 | $613,700 |
| Standard Deduction (MFJ) | $29,200 | $32,200 |
Note: These are estimates. Final numbers depend on CPI-U data.
Capital Gains and Retirement Accounts
Important: Capital gains in tax-advantaged accounts (IRA, 401(k)) are not taxed when realized.
- Traditional IRA/401(k): Taxes deferred until withdrawal (ordinary income rates)
- Roth IRA/401(k): Qualified withdrawals are tax-free
Example:
You hold VTI in a Roth IRA. It grows from $50,000 to $120,000 over 10 years. When you withdraw after age 59Β½, $70,000 gain is tax-free.
This makes Roth accounts ideal for high-growth assets.
Data Table: Capital Gains Tax Impact by Income (2026 Projection)
| Filing Status | Income (Excluding Gain) | Gain Type | Gain Amount | Tax Rate | Tax Due |
|---|---|---|---|---|---|
| Married Joint | $80,000 | Long-term | $10,000 | 0% | $0 |
| Married Joint | $150,000 | Long-term | $20,000 | 15% | $3,000 |
| Married Joint | $600,000 | Long-term | $50,000 | 20% | $10,000 |
| Single | $50,000 | Short-term | $5,000 | 22% | $1,100 |
| Single | $200,000 | Long-term | $30,000 | 15% | $4,500 |
| Head of Household | $90,000 | Long-term | $15,000 | 15% | $2,250 |
Assumes no other capital transactions.
Frequently Asked Questions (FAQ)
Q: Will capital gains tax rates increase in 2026?
A: Yes, likely. The TCJA expires at the end of 2025. Without new law, long-term capital gains rates will revert to pre-2018 levels, and income thresholds will drop. High earners could see rates rise from 20% to 23.8% (including Net Investment Income Tax).
Q: How do I report capital gains?
A: Use Form 8949 to list each transaction and Schedule D to summarize gains/losses. Brokers provide Form 1099-B with cost basis and sale details.
Q: What if I donβt know my cost basis?
A: Contact your broker or check old statements. For pre-2011 stocks, IRS allows reasonable estimates. Missing basis can lead to taxation on full sale amount.
Q: Are dividends part of capital gains?
A: No. Dividends are income, taxed separately. Qualified dividends (held 60+ days) are taxed at long-term capital gains rates. Ordinary dividends are taxed as income.
Q: Can I avoid capital gains tax?
A: Not entirely, but you can reduce it by:
- Holding assets >1 year
- Using tax-loss harvesting
- Investing in tax-advantaged accounts
- Donating appreciated stock to charity
- Using the primary residence exclusion
Q: Do I pay capital gains on mutual fund distributions?
A: Yes. Even if you reinvest, fund-level sales trigger capital gains distributions, reported on Form 1099-DIV. These are taxable in the year received.
Q: How does the Net Investment Income Tax (NIIT) affect 2026 gains?
A: If your modified adjusted gross income exceeds $250,000 (MFJ) or $200,000 (Single), you pay an extra 3.8% NIIT on investment income, including capital gains.
Example:
$100,000 long-term gain, MFJ with $700,000 MAGI β $100,000 Γ 3.8% = $3,800 additional tax.
Summary: Key Takeaways for 2026
- Long-term capital gains are taxed at 0%, 15%, or 20% in 2026, depending on income.
- Short-term gains are taxed as ordinary income β rates up to 37%.
- TCJA expiration will likely increase taxes for high earners.
- Cost basis includes purchase price, fees, and reinvested dividends.
- Tax-loss harvesting can significantly reduce your bill.
- Retirement accounts shield gains from annual taxation.
- Keep detailed records β basis errors are common audit triggers.
As 2026 approaches, review your portfolio with a tax-aware strategy. Whether youβre invested in dividend-heavy ETFs like SCHD, broad-market funds like VTI, or legacy stocks like JNJ and KO, understanding capital gains ensures you keep more of your returns.
Plan wisely β tax season waits for no investor.