Maryland capital gains tax calculator
Maryland taxes capital gains on top of federal tax: up to 6.5% state + 2% surcharge on gains when AGI > $350k (county taxes extra).
Calculate my Maryland taxYour details
Your tax estimate
| Capital gain | $50,000 |
| Federal long-term rate | 15.0% |
| Federal CGT | $7,500 |
| Total federal tax | $7,500 |
| Maryland (6.5%) | $3,250 |
| Total tax | $10,750 |
| Net gain after tax | $39,250 |
What you would pay in Maryland
Long-term gains (assets held more than a year) for a single filer with $75,000 of other income:
| Gain | Federal + NIIT | Maryland | Total tax | You keep |
|---|---|---|---|---|
| $25,000 | $3,750 | $1,625 | $5,375 (21.5%) | $19,625 |
| $50,000 | $7,500 | $3,250 | $10,750 (21.5%) | $39,250 |
| $100,000 | $15,000 | $6,500 | $21,500 (21.5%) | $78,500 |
| $250,000 | $42,250 | $16,250 | $58,500 (23.4%) | $191,500 |
Short-term vs long-term gains in Maryland
Sell within a year and the federal government taxes the gain as ordinary income. On a $50,000 gain with the same income, that means $14,314 of tax if you sell short-term against $10,750 if you hold past one year, a difference of $3,564.
How we estimate Maryland tax
Up to 6.5% state + 2% surcharge on gains when AGI > $350k (county taxes extra). Where a state taxes gains as ordinary income on a sliding scale, the calculator applies the rate shown above to the whole gain, so for most people it is an upper estimate. Local and city income taxes are not included.
*Examples use 2026 IRS brackets, the standard deduction and the 3.8% Net Investment Income Tax. Change your filing status, income and holding period in the calculator above for your own figure.
Other states
Alabama · Alaska · Arizona · Arkansas · California · Colorado · Connecticut · Delaware · Florida · Georgia · Hawaii · Idaho · Illinois · Indiana · Iowa · Kansas · Kentucky · Louisiana · Maine · Massachusetts · Michigan · Minnesota · Mississippi · Missouri · Montana · Nebraska · Nevada · New Hampshire · New Jersey · New Mexico · New York · North Carolina · North Dakota · Ohio · Oklahoma · Oregon · Pennsylvania · Rhode Island · South Carolina · South Dakota · Tennessee · Texas · Utah · Vermont · Virginia · Washington · West Virginia · Wisconsin · Wyoming · Washington D.C.