CalculateItNow home

Capital gains tax in Massachusetts

Massachusetts tax on a $100,000 long-term gain
$5,000

An effective 5%, on top of $15,000 of federal tax

Effective state rate
5%
Federal tax on the same gain
$15,000
Total, federal and state
$20,000
Rank among the 51 jurisdictions
36 of 51, cheapest first

The rule in Massachusetts

Massachusetts taxes a capital gain as ordinary income, at the same rates as wages — an effective 5% on the example below.

  • Long-term gain is taxed at the ordinary 5% rate; short-term gain has its own 8.5% rate, and both pick up the 4% surtax above $1,107,750 of income.
  • Collectibles and pre-1996 instalment sales are taxed at 12% in Massachusetts, which this does not model.

Tax year 2026, from Massachusetts DOR — Massachusetts tax rates.

Work out the tax on your own gain

Prefilled for Massachusetts. Change what you paid, what you sold for and your other income — the federal band a gain lands in depends on everything underneath it, which is why the income field matters.

$
$
$
Try an example
Massachusetts figures are for tax year 2026, from Massachusetts DOR — Massachusetts tax rates: https://www.mass.gov/info-details/massachusetts-tax-rates
Long-term gain is taxed at the ordinary 5% rate; short-term gain has its own 8.5% rate, and both pick up the 4% surtax above $1,107,750 of income.
Collectibles and pre-1996 instalment sales are taxed at 12% in Massachusetts, which this does not model.
This covers a straightforward sale of stock, funds, crypto or property. It does not model the $250,000/$500,000 exclusion on a main home, depreciation recapture on a rental (taxed at up to 25%), collectibles (28%), qualified small business stock, wash sales, or a 1031 exchange.
Your other income was reduced by the 2026 standard deduction of $16,100 to reach taxable income. Switch to "taxable income" under More options if you have already done that.
Total tax on the gain
$20,000.00
You keep
$80,000.00
Capital gain
$100,000.00
Federal capital gains tax
$15,000.00
Federal rate on the last dollar
15%
Net investment income tax
$0.00
State tax on the gain
$5,000.00
Effective rate on the gain
20%
Assumptions
  • One sale of a straightforward capital asset — shares, funds, crypto or investment property — by an individual US resident.
  • The gain is stacked on your other taxable income, which is what decides the federal band.
  • No main-home exclusion, depreciation recapture, collectibles rate, qualified small business stock, opportunity zone or 1031 exchange.
  • State tax uses that state's rule for a gain allocated to it; a gain sourced to another state, or a part-year move, is not modelled.
  • No local income tax: county in Maryland and Indiana, municipal in Ohio and Pennsylvania, city in New York.
Tax as the gain grows — federal, the 3.8% surtax and Massachusetts
$0$20k$40k041666.66666666666483333.33333333333125000166666.66666666666200000Capital gain
Total tax
How this gain is taxed, band by band
BandRateGain in this bandTax
0% band (to $49,450 of taxable income)0%$0$0
15% band (to $545,500)15%$100,000$15,000
20% band (above $545,500)20%$0$0
Massachusetts tax on the gain5%$100,000$5,000
Selling now against holding past a year
Holding periodTotal taxYou keep
Sold within a year — short-term$32,064$67,936
Held more than a year — long-term$20,000$80,000

You have held this more than a year, so the long-term rates apply. The other row is what the same sale would have cost inside a year.

What a long-term gain costs in Massachusetts

A single filer with $100,000 of other income, selling an asset held more than a year, in the 2026 tax year. Federal tax is the 0/15/20% schedule; the surtax column is the 3.8% net investment income tax.

GainFederal3.8% surtaxMassachusettsTotal taxYou keep
$10,000$1,500$500$2,000$8,000
$50,000$7,500$2,500$10,000$40,000
$100,000$15,000$5,000$20,000$80,000
$250,000$37,500$5,700$12,500$55,700$194,300
$500,000$76,920$15,200$25,000$117,120$382,880
$1,000,000$176,920$34,200$50,000$261,120$738,880

How Massachusetts compares

State tax on the same $100,000 gain. Massachusetts ranks 36 of 51 jurisdictions, cheapest first.

StateState tax on $100,000
Georgia$4,990
Alabama$5,000
Massachusetts$5,000
Maryland$5,192
Idaho$5,300

Frequently asked questions

Does Massachusetts tax capital gains?

Massachusetts taxes a capital gain as ordinary income, at the same rates as wages — an effective 5% on the example below.

How much is capital gains tax in Massachusetts?

On a $100,000 long-term gain for someone earning $100,000, Massachusetts takes $5,000 — an effective 5%. Federal tax adds $15,000, for $20,000 in all.

Is short-term capital gain taxed differently in Massachusetts?

Yes. Massachusetts taxes short-term gains on their own schedule, higher than the rate on long-term gains.

How long do I have to hold something for the lower rate?

More than one year, federally. The holding period starts the day after you acquire the asset, so something bought on 10 March is long-term only if sold on 11 March the following year or later. Inside a year the gain is ordinary income at your income tax bracket, which for most people is 22% or 24% rather than 15%.

Do I pay Massachusetts tax on a gain if I moved away before selling?

Generally you are taxed by the state you were resident in when the gain was realised, and some states also tax gains sourced to property inside them however long you have been gone. A part-year move usually means allocating the gain between the two states. This page assumes a full-year Massachusetts resident.

Related

Put this calculator on your own site

A working capital gains calculator prefilled for Massachusetts, free for any site, with no ads and no sign-up. It stays current as the rates here are updated.

Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.

Massachusetts Capital Gains Tax Calculator by CalculateItNow

The page's own title. The clearest description of what the link leads to.

The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.

Capital gains tax in Massachusetts: Massachusetts taxes a capital gain as ordinary income, at the same rates as wages — an effective 5% on the example below. Source: https://www.calculateitnow.dev/massachusetts-capital-gains-tax