BedrockCalculator
Verified Primary-Source MathematicsVerified by Aapt Dubey, MBA (Marketing & Finance) 2 primary sourcesLast updated September 14, 2026

Massachusetts Capital Gains Tax Calculator

Quick Answer: On a $100,000 capital gain, Massachusetts's flat 5.00% state tax adds $5,000.00 to your bill, leaving $95,000.00 after state tax.

Assumptions

Loading
$
$

Preset scenarios

Massachusetts State Capital Gains Tax
$5,000.00

Every period in the schedule below reconciles to the exact penny.

Effective State Rate (%)
5.00%
Top Marginal State Bracket
5.00%
Net Gain Retained After State Tax
$95,000.00

State Capital Gains Tax Progression

Capital GainState Tax DueGain After State Tax
12 periods, peak $200,000

Massachusetts Capital Gains Multi-Tier Schedule

Showing 12 rows.

#Capital GainState Tax DueGain After State Tax
1$16,666.67$833.33$15,833.34
2$33,333.33$1,666.67$31,666.66
3$50,000.00$2,500.00$47,500.00
4$66,666.67$3,333.33$63,333.34
5$83,333.33$4,166.67$79,166.66
6$100,000.00$5,000.00$95,000.00
7$116,666.67$5,833.33$110,833.34
8$133,333.33$6,666.67$126,666.66
9$150,000.00$7,500.00$142,500.00
10$166,666.67$8,333.33$158,333.34
11$183,333.33$9,166.67$174,166.66
12$200,000.00$10,000.00$190,000.00
State Capital Gains Tax Progression: Capital Gain, State Tax Due, Gain After State Tax across 12 periods for this calculator's default example, peaking at $200,000.00.
Drawn from this calculator's own default inputs, where Massachusetts State Capital Gains Tax is $5,000.00. Change the inputs above to see your own figures.
Quick Answer: On a $100,000 capital gain, Massachusetts's flat 5.00% state tax adds $5,000.00 to your bill, leaving $95,000.00 after state tax.

How Massachusetts Treats a Realized Gain

Massachusetts taxes capital gains as ordinary income at a flat statutory individual income tax rate of 5.00%, applying uniformly across all realized investment profits regardless of holding period or total taxable income.

Capital gains from stock sales, business equity, real estate, and digital assets simply get added to gross income and taxed at the state's uniform statutory rate of 5.00%, since Massachusetts runs a flat income tax structure. No preferential rate distinction exists between short-term and long-term gains at the state level.

How This Is Calculated

Massachusetts taxes long-term capital gain at 5%, the same rate as ordinary income, with a second layer that most states have no equivalent of: the 4% surtax on the portion of income above $1,107,750 for 2026, an inflation-adjusted threshold. Below that line the state is effectively flat at 5%; above it, the marginal rate on the gain becomes 9%. A large one-time sale is exactly the kind of event that crosses that line in a single year.

The gain is stacked on top of your other income and walked through the bands from there.

Total State Tax Due=∑k=1MTaxable Gain in Bracketk×Marginal Statutory Ratek\text{Total State Tax Due} = \sum_{k=1}^{M} \text{Taxable Gain in Bracket}_k \times \text{Marginal Statutory Rate}_k
Effective State Tax Rate=Total State Tax DueGross Realized Capital Gain\text{Effective State Tax Rate} = \frac{\text{Total State Tax Due}}{\text{Gross Realized Capital Gain}}

Step by step, with your numbers:

  1. Start with the net gain. Capital losses and loss carryforwards are netted against the gain before anything else happens.
  2. Stack the gain on your other income. Ordinary income fills the lower brackets first and the gain sits on top of it, so the gain is taxed at whatever rates are still open above your salary. The same gain costs a high earner more than it costs a low earner. Enter other income as a taxable-income figure: the calculator does not subtract a standard deduction or personal exemption for you.
  3. Walk the brackets. The slice of the gain that falls in each band is multiplied by that band's rate, and the pieces are added together.
  4. Effective rate. Total Massachusetts tax divided by the whole realized gain. On a graduated schedule this sits below the top marginal rate, because the lower slices were taxed at lower rates.
  5. Net proceeds. Subtract the state tax from the gain to get what you keep before federal tax.

Worked Example

Consider an investor in Massachusetts who realizes $100,000 in capital gains from a single asset sale during the year.

  1. Identify the gain. The full $100,000 capital gain is added to gross income, since Massachusetts taxes capital gains at the same statutory rate as wages and other ordinary income, with no separate preferential rate for long-term holdings.
  2. Apply the flat rate. Massachusetts's statutory individual income tax rate is a uniform 5.00%, applied to the entire gain regardless of the investor's total income or how long the asset was held.
  3. Compute the tax due. $100,000 × 5.00% = $5,000.00, the state tax liability on this sale.
  4. Net proceeds. Subtracting the $5,000.00 state tax from the $100,000 gain leaves the investor with $95,000.00 in state after-tax proceeds, before any federal capital gains tax is applied separately.

Because Massachusetts applies one flat rate to every dollar of gain, the effective state tax rate here equals the statutory rate itself: 5.00%.

The One Edge in the Sweep: $1,107,750

Massachusetts has exactly one threshold, and everything interesting on this page happens at it. Below the surtax line the sweep is a flat 5.00% line; above it the slope changes by 80% in a single dollar.

The threshold walk. The 4% surtax attaches to total taxable income above $1,107,750, and because the gain stacks on other income, a filer with $75,000 of other income reaches it at a gain of $1,032,750. At a gain of $1,032,750 the computed tax is $51,637.50. At a gain of $1,032,850, one hundred dollars later, it is $51,646.50. That hundred dollars of gain cost $9.00 where every hundred before it cost $5.00. Reported marginal rate flips from 5.00% to 9.00% across those hundred dollars while the reported effective rate is still 5.00% on both sides, which is exactly why the effective figure is the wrong one to plan against.

The marginal cost of the next unit. Below the line, each additional $1,000 of gain costs $50.00: the engine returns $5,000.00 at a $100,000 gain and $5,050.00 at $101,000. Above the line it costs $90.00, an 80% increase with no gradation in between. At a $1,200,000 gain the engine returns $66,690.00, an effective 5.56%, and the entire excess over 5.00% is surtax.

The reverse question. With $75,000 of other income, $1,032,750 is the largest gain that can be realised entirely at 5.00%. The engine puts that ceiling's tax at $51,637.50. Every $1,000 of other income reduces that ceiling by exactly $1,000, so a bonus received in the same year as a large disposition shifts the surtax line dollar for dollar. Splitting a $1,200,000 gain across two tax years, $1,032,750 and $167,250, would leave every dollar in the 5.00% band and save the $8,302.50 of surtax the engine computes on the single-year version.

Right method against wrong method, priced. The common error is applying the 4% surtax to the whole gain once the threshold is crossed rather than only to the excess. On a $1,200,000 gain that yields $108,000 against the engine's $66,690.00, an overstatement of $41,310.00. The surtax is marginal, and the engine treats it as a bracket band starting at $1,107,750, not as a switch.

What the engine does not model here. The stored schedule applies the 5.00% Part C long-term rate only. Massachusetts taxes short-term capital gains at 8.5% and long-term gains on collectibles at 12% with a 50% deduction, and neither rate exists anywhere in this code path. A short-term $100,000 gain would owe $8,500 at state level rather than the $5,000.00 shown. The $1,107,750 threshold is also indexed annually and is a single figure with no filing-status variation, so a married couple shares one threshold rather than getting two.

What This Does Not Account For

While this calculator provides penny-exact state statutory modeling, additional federal and transactional complexities warrant supplementary review: - Federal Capital Gains Taxes: Federal long-term brackets (0%, 15%, 20%) and short-term ordinary rates up to 37% under IRC § 1. - Net Investment Income Tax (NIIT): The 3.8% surtax on net investment income under IRC § 1411 for single filers over $200,000 (married joint over $250,000). - Alternative Minimum Tax (AMT): Federal AMT calculations under IRC § 55 impacting incentive stock option (ISO) exercise spread. - Section 1031 Like-Kind Exchanges: Tax deferral mechanisms for real property held for productive use in trade, business, or investment. - Qualified Small Business Stock (QSBS): Federal Section 1202 gain exclusions where state conformity varies significantly.

Common Pitfalls

  • Assuming Federal Rate Parity: Most states do not offer preferential long-term capital gains rates; gains are taxed at standard ordinary income rates.
  • Failing to Track Holding Periods: Short-term gains (assets held ≤1 year) generate higher federal tax liabilities even if state rates treat both holding periods identically.
  • Underestimating Multi-State Apportionment: Selling real estate or business assets located in other jurisdictions triggers multi-state non-resident return filing obligations.
  • Neglecting Underpayment Penalties: Substantial one-time liquidity events require prompt estimated tax payments within the quarter of sale to avoid statutory penalties.
  • Mismatched Cost Basis Records: Failure to document reinvested dividends, stock splits, or structural return-of-capital distributions leads to inflated taxable gain calculations.

Frequently Asked Questions

Does Massachusetts have a state capital gains tax?
Yes. Massachusetts taxes capital gains at rates up to 9.00%.
How are short-term and long-term capital gains taxed in Massachusetts?
Massachusetts generally taxes both short-term and long-term gains as ordinary income under state statutory brackets.
Are retirement account distributions subject to capital gains tax in Massachusetts?
Distributions from qualified retirement accounts (401k, Traditional IRA) are taxed as ordinary income, not capital gains, subject to state pension exclusions.
Can capital losses offset capital gains in Massachusetts?
Yes. State law permits offsetting capital gains with realized capital losses, generally following federal IRC § 1211 rules allowing up to $3,000 in excess losses against ordinary income.
When are estimated state tax payments required on capital gains?
If realized gains result in state tax liabilities exceeding state safe-harbor thresholds (typically $500 to $1,000), quarterly estimated payments must be remitted to the state revenue department.
Does filing status change the Massachusetts tax on a capital gain?
No. The 4% surtax threshold is a single figure per tax year that does not vary by filing status, and since 2024 a couple filing jointly for federal purposes must file jointly in Massachusetts with no exception for surtax payers. A married couple therefore shares one threshold rather than getting two.

Sources

Did this calculator answer your question?

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews