Massachusetts Capital Gains Tax Calculator 2026

Calculate your combined federal + MA state capital gains tax on stocks, crypto, real estate, and other investments. Massachusetts taxes capital gains at rates up to 9%.

πŸ“Š Calculate Your Massachusetts Capital Gains Tax

Capital Gain
β€”
Federal Tax
β€”
MA State Tax
β€”
NIIT (3.8%)
β€”
Total Tax
β€”
After-Tax Proceeds
β€”
Effective Fed Rate
β€”
Effective State Rate
β€”
Combined Effective Rate
β€”

πŸ“‹ Massachusetts Capital Gains Tax Overview

9%
State CG Rate
5% + 4% surtax
Rate Structure
20%
Max Federal Rate
3.8%
NIIT Surcharge

5% on income + 4% surtax on income over $1M (total 9% on gains over $1M)

How Capital Gains Tax Works in Massachusetts

When you sell an investment β€” stocks, bonds, cryptocurrency, real estate, or other assets β€” for more than you paid, the profit is a capital gain. In Massachusetts, capital gains are taxed under special rules at rates up to 9%, on top of federal capital gains tax.

Federal Capital Gains Tax Rates (2026)

Short-Term vs. Long-Term Capital Gains

Short-term gains (assets held less than 1 year) are taxed at your ordinary income tax rate β€” which can be as high as 37% federally plus 9% in Massachusetts. Long-term gains (assets held 1+ years) receive preferential federal rates of 0%, 15%, or 20%, but Massachusetts has special rules for capital gains taxation.

5 Strategies to Reduce Capital Gains Tax in Massachusetts

Massachusetts-Specific Capital Gains Rules

5% on income + 4% surtax on income over $1M (total 9% on gains over $1M). Combined with federal rates, investors in Massachusetts could pay up to 32.8% on long-term gains or up to 49.8% on short-term gains. Tax planning is essential for Massachusetts residents with significant investment income.

❓ Frequently Asked Questions

What is the capital gains tax rate in Massachusetts?
Massachusetts taxes capital gains at rates up to 9%. 5% on income + 4% surtax on income over $1M (total 9% on gains over $1M). Combined with federal tax (0-20%) and the potential 3.8% NIIT, your total rate could reach 32.8%.
How do I calculate capital gains tax on stocks in Massachusetts?
Subtract your cost basis (purchase price + fees) from your sale price to determine your gain. If held over 1 year, apply federal long-term rates (0/15/20% based on income) plus Massachusetts's state rate (up to 9%). Our calculator above handles all of this automatically.
Does Massachusetts tax cryptocurrency capital gains?
Yes β€” cryptocurrency is treated as property by the IRS and by Massachusetts. Crypto gains are taxed the same as stocks or other investments β€” at your ordinary income tax rate for short-term gains or preferential federal rates for long-term gains, plus the Massachusetts state rate of up to 9%.
Is there a capital gains exclusion for home sales in Massachusetts?
Yes β€” the federal home sale exclusion allows you to exclude up to $250,000 in gains ($500,000 for married couples filing jointly) if you've lived in the home for at least 2 of the last 5 years. This exclusion applies to both federal and Massachusetts state taxes. Gains above the exclusion limit are taxed at your applicable rates.
What is the Net Investment Income Tax (NIIT)?
The NIIT is a 3.8% federal surtax on investment income (capital gains, dividends, interest, rental income) for individuals with modified AGI above $200,000 (single) or $250,000 (married filing jointly). It applies in all states, including Massachusetts.
How can I reduce my capital gains tax in Massachusetts?
Key strategies include: holding investments for over 1 year (lower federal rate), tax-loss harvesting (offsetting gains with losses), using tax-advantaged accounts (401k, IRA, Roth), donating appreciated assets to charity (avoid gains entirely), and timing your sales to stay in lower tax brackets.

πŸ—ΊοΈ Compare Capital Gains Tax by State