Massachusetts Capital Gains Tax Calculator

Estimate federal plus Massachusetts tax on your investment gains

Estimate combined federal and Massachusetts capital gains tax on stock, crypto, and property sales. Long-term gains face federal 0/15/20% rates plus Massachusetts's flat 5%, while short-term gains hit ordinary federal rates plus Massachusetts's higher 8.5% short-term rate, with the 4% millionaire surtax where applicable.

How does Massachusetts tax capital gains?

Massachusetts taxes long-term capital gains at its flat 5% income tax rate. Short-term capital gains — assets held one year or less — are taxed at a higher 8.5% rate. A 4% surtax also applies to total income above 1 million dollars.

Selling stock, crypto, or property in Massachusetts triggers both a federal and a state capital gains tax — and Massachusetts treats short-term gains far more harshly than long-term ones. This calculator combines both layers so you can see your real tax bill and net proceeds.

How it works

First the gain is the sale price minus your cost basis. Then the holding period sets the rates:

gain = sale price - cost basis
Long-term  (held > 1 year):  federal 0/15/20% + MA 5%
Short-term (held <= 1 year): federal ordinary rate + MA 8.5%

Massachusetts applies a flat 5% to long-term gains but a higher 8.5% rate to short-term gains. A 4% Massachusetts surtax is added to gains pushing your total income above 1 million dollars. You supply your federal rate (long-term 0/15/20% or your marginal ordinary rate) so the estimate reflects your bracket.

Example

You buy shares for 10,000 dollars and sell for 25,000 dollars after two years — a 15,000 dollar long-term gain. At a 15% federal rate that is 2,250 dollars federal, plus Massachusetts’s 5% of 750 dollars, for 3,000 dollars total and 12,000 dollars kept. If you had sold within a year, Massachusetts’s 8.5% rate would raise the state portion to about 1,275 dollars.

Notes

This estimate omits the 3.8% net investment income tax unless you include it in your federal rate, and it ignores wash-sale rules, the AMT, and qualified-dividend treatment. Massachusetts loss rules differ from the federal 3,000 dollar offset. Confirm details with the Massachusetts Department of Revenue at mass.gov/dor or a qualified tax adviser.