The Texation Calculator

Selling investments in Massachusetts: federal and state capital gains

Published · 2 min read

How federal and Massachusetts state taxes apply to capital gains, with a worked example.

Key facts

PlaceMassachusetts
Sales taxState sales tax
Standard rate on file6.25%
Multiply net price by1.0625
Tax share of a gross price5.88%
CurrencyUSD

Federal treatment

Long-term gains on assets held more than a year are taxed at 0%, 15% or 20% federally depending on income, plus a possible 3.8% net investment income tax. Short-term gains are taxed as ordinary income.

Worked example

Here is the calculation with sample figures. Change any number in the Massachusetts Capital Gains Tax Calculator to run your own.

Worked example: Massachusetts Capital Gains Tax Calculator
Purchase price$25,000.00
Sale price$37,500.00
Costs and fees$500.00
Tax rate (%)20%
Taxable gain$12,000.00
Tax$2,400.00
Net amount$34,600.00

State treatment

Most states tax capital gains as regular income. Check whether Massachusetts offers any exclusion; the calculator lets you combine federal and state rates into one figure.

Quick reference at 6.25%

Common amounts in Massachusetts, worked both ways: adding tax to a net price, and extracting it from a price that already includes tax.

AmountTax on net amountGross (net + tax)Net if amount includes tax
$10.00$0.62$10.62$9.41
$50.00$3.12$53.12$47.06
$100.00$6.25$106.25$94.12
$250.00$15.62$265.62$235.29
$500.00$31.25$531.25$470.59
$1,000.00$62.50$1,062.50$941.18
$5,000.00$312.50$5,312.50$4,705.88

How Massachusetts compares

Standard rates on file for other states. A difference of a few points matters most on high-value purchases and on cross-border sales.

PlaceRate on fileCompared with 6.25%
Louisiana5%lower
Maine5.5%lower
Maryland6%lower
Michigan6%lower
Minnesota6.875%higher
Mississippi7%higher

Using the calculator step by step

  1. Open the Massachusetts Capital Gains Tax Calculator.
  2. Type your figures into the numbered lines. Results update as you type.
  3. Check the rate field. It starts at 6.25%; change it if a reduced rate, local surcharge or exemption applies to you.
  4. Read the result on the receipt panel, and use the formula shown under it if you need to explain the figure to a client or colleague.

Key terms

Reduced rate
A lower rate that applies to specific categories, often essentials such as food, medicine or books.
Deduction
An amount subtracted from taxable income. It saves tax equal to the deduction times your marginal rate.
Gross amount
The amount after tax is added, which is usually what a consumer pays.
Marginal rate
The rate applied to the next unit of income. It decides how much of a raise or a deduction you keep.
Taxable income
Income left after allowances and deductions, on which the tax rates are applied.

Common mistakes to avoid

Run your own numbers. The Massachusetts Capital Gains Tax Calculator updates as you type and shows the formula it uses.

Frequently asked questions

What is the federal long-term capital gains rate?

0%, 15% or 20% depending on taxable income, plus possibly 3.8% NIIT.

Does Massachusetts tax capital gains?

Many states do as ordinary income; confirm current Massachusetts rules.

This article is general information for planning, not tax advice. Rates and rules change; confirm with your tax authority or a qualified adviser.

Calculators for this topic

Related reading