Maryland is one of the states that gives capital gains no special treatment. Where the federal system rewards long holding periods with preferential 0/15/20% brackets, Maryland folds your gain into ordinary income and taxes it at state graduated rates plus your county’s local income tax. This calculator combines all three layers so you can see the real bite on a sale.
How it works
The gain is layered on top of your other income and each layer is taxed in its own brackets:
federal (long-term) = gain taxed in the 0/15/20% brackets, stacked on income
federal (short-term)= gain × your federal marginal rate
NIIT (optional) = 3.8% × portion of gain above the MAGI threshold
Maryland state = gain taxed in MD's 2%–5.75% brackets, stacked on income
Maryland local = gain × county rate (2.25%–3.20%)
total = federal + NIIT + state + local
Because both federal long-term rates and the Maryland state schedule are progressive, the gain is stacked above your existing income — a $50,000 gain on top of a $90,000 salary is taxed at the marginal rates that band reaches, not from zero.
Example and notes
A single filer with $90,000 of income realizing a $50,000 long-term gain pays 15% federally on the gain, roughly 5.5% Maryland state, and around 3.2% county — an effective rate near 24% before any NIIT. Short-term gains are worse because they lose the preferential federal rate entirely. Use your own county’s local rate and confirm current figures with the Maryland Comptroller and the IRS; this is a planning estimate, not tax advice.