Skip to calculator
Updated for 2026 IRS Tax Brackets

Stock Capital Gains Tax Calculator (2026 & 2027)

See exactly what you'll owe when you sell a stock: federal capital gains tax with true bracket stacking, the 3.8% Net Investment Income Tax, and your state's tax across all 50 states + DC. Results update as you type.

50 states + DC

Compare Capital Gains Taxes by State

A 2026 & 2027 calculator for every state, preset to its rules. The figure is the top state rate on long-term gains.

Sortable rate table →