Skip to calculator
Updated for 2026 IRS Tax Brackets

Massachusetts Stock Capital Gains Tax Calculator

Massachusetts taxes long-term gains at 5% and short-term gains at 8.5%, plus a 4% surtax on income above $1,107,750. The calculator below is preset to Massachusetts and adds 2026 federal capital gains tax with bracket stacking and the 3.8% Net Investment Income Tax. You can switch states at any time.

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 →