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 tax

Your details

$
Income before capital gains. The 2026 standard deduction is subtracted automatically
$
Sale price minus your cost basis (what you originally paid)
Up to 6.5% state + 2% surcharge on gains when AGI > $350k (county taxes extra)
2026 IRS rates — Rev. Proc. 2025-32

Your tax estimate

Estimated total tax on the gain
$10,750
on a $50,000 long-term gain
Effective rate: 21.5%
79%you keep
Net gain (you keep)$39,250
Federal CGT$7,500
Maryland tax$3,250
Capital gain$50,000
Federal long-term rate15.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
Talk to a tax advisorFacing $10,750 of tax on this sale? Ask a CPA how to bring it downComplex situations — real estate, business sales, large stock positions — benefit from a CPA. TaxBuzz connects you to vetted tax professionals near you.Find a CPA →
Estimate only — 2026 IRS federal rates plus approximate state top marginal rates. Consult a tax professional before acting on these numbers.

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:

GainFederal + NIITMarylandTotal taxYou 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.