Quick Answer: Maryland's state brackets take $5,125.00 from a $100,000 gain stacked on $75,000 of other taxable income for a single filer, an effective 5.13%, leaving $94,875.00. County income tax and the 2% surtax on high earners' net gains would come on top; neither is in that figure.
Maryland capital gains tax comes in three layers, and this calculator computes the first one: the state bracket schedule that the gain shares with wages on Form 502. The county layer and the 2025 surtax are described below so you can add them by hand.
Layer one: ten state brackets
For a single filer the state rates open at 2%, 3% and 4% on the first $3,000 of taxable income, hold at 4.75% up to $100,000, then step to 5% at $100,000, 5.25% at $125,000, 5.5% at $150,000 and 5.75% at $250,000. The 2025 session added two top rates, 6.25% from $500,000 and 6.5% from $1,000,000. A joint return keeps the first three rates, stretches the 4.75% bracket to $150,000, and moves the later edges to $175,000, $225,000, $300,000, $600,000 and $1,200,000. The engine carries all ten brackets on both tables.
Layers two and three: county tax and the 2% surtax
Every county and Baltimore City adds a local income tax on the same base, capped at 3.30% from tax year 2026; the Maryland paycheck calculator applies the county rates to wages. The newer layer is aimed squarely at gains: from tax year 2025 Maryland adds 2% on the net capital gain of an individual whose federal adjusted gross income exceeds $350,000, with exceptions the Comptroller lists. A single large sale is often what lifts a household over that line.
How is this calculated?
MD State Tax on Gain = ∑_(2% up to 6.5%) gain dollars in the bracket × bracket rate
Effective Rate = MD State Tax on Gain ÷ Gain
- Choose the table. Married filing jointly uses the wider joint edges.
- Lay down other income, read as Maryland taxable income as entered, with no deduction taken off.
- Add the gain on top and charge each slice the rate of its bracket.
- Report state tax, effective rate, top bracket reached and gain kept. No county rate and no 2% surtax is added.
What Pennsylvania, West Virginia, Virginia and one more neighbour pay next to Maryland
Across Maryland's borders a $100,000 gain owes Pennsylvania $3,070, West Virginia $4,580, Virginia $5,750 and Delaware $6,600, while Maryland itself owes $5,125. Below Maryland comes Pennsylvania by $2,055; above Maryland comes Delaware by $1,475.
Every Maryland neighbour above has a calculator of its own: the Pennsylvania capital gains tax calculator, the West Virginia capital gains tax calculator, the Virginia capital gains tax calculator and the Delaware capital gains tax calculator.
Worked Example
- A Hagerstown warehouse supervisor on $46,000 sells shares at a $31,000 gain. The total, $77,000, never leaves the 4.75% bracket. State tax: $1,472.50.
- An Annapolis couple with $138,000 of joint taxable income sell a waterfront rental at a $265,000 gain. On the joint edges the gain pays 4.75% on $12,000 ($570.00), 5% on $25,000 ($1,250.00), 5.25% on $50,000 ($2,625.00), 5.5% on $75,000 ($4,125.00) and 5.75% on $103,000 ($5,922.50). State tax: $14,492.50, an effective 5.47%. Filing single on the same numbers would cost $14,927.50.
- A Potomac management consultant earning $240,000 sells a stake in her firm at a $1,250,000 gain. The gain pays 5.5% on $10,000, 5.75% on $250,000, 6.25% on $500,000 and 6.5% on the last $490,000. State tax: $78,025.00, an effective 6.24%.
The Annapolis couple and the Potomac consultant both end the year with federal AGI far above $350,000. Unless an exception applies, the 2% surtax adds $5,300 to the couple's bill and $25,000 to the consultant's, and each also owes county tax on the gain. The calculator shows neither.
Edges, salary and marriage
From the default $75,000 of other income, the gain meets bracket edges at $25,000, $50,000, $75,000, $175,000, $425,000 and $925,000. A $25,000 gain owes $1,187.50; at $25,100 the bill is $1,192.50 and the marginal rate has moved from 4.75% to 5%. A $75,000 gain owes $3,750.00; at $75,100 it owes $3,755.50, the step from 5.25% to 5.5%. Around the default gain each further $1,000 costs $55.00.
Without the salary underneath, the $100,000 gain owes $4,697.50, since part of it fills the 2%, 3% and 4% brackets. Married filing jointly on the defaults returns $4,812.50, $312.50 under single, because the joint 4.75% bracket runs to $150,000.
Maryland's rank on a mid-size sale
Consider a single filer on $130,000 who sells at a $90,000 gain. Maryland's state brackets charge $4,900.00, 13th highest of the 50 state calculators, between Kansas at $5,022.00 and Idaho at $4,770.00. That figure is state brackets alone. With a county rate near 3% on the same gain, a Maryland resident would land far higher on the list.
The default table
The calculator's 12-row table stacks gains of one to twelve sixths of the entry on the same $75,000. The $16,666.67 row owes $791.67, all at 4.75%. The $50,000 row owes $2,437.50 after crossing $100,000 of total income into 5%. The $150,000 row owes $7,875.00 and the $200,000 row $10,687.50, its top slice inside the 5.75% bracket that opens at $250,000 of total income. Neither the county line nor the surtax appears in any row.
Form 502, Form 505 and closing withholding
Residents report the gain to the Comptroller on Form 502, which also figures the county tax; nonresidents use Form 505. When a nonresident individual sells Maryland real property, the settlement agent withholds 8.75% (8.25% for a nonresident entity). That is a prepayment credited on Form 505, not the final tax.
Deductions changed in 2025 too. The standard deduction became a flat $3,350 single or $6,700 joint, indexed after that, and itemized deductions are cut by 7.5% of federal AGI above $200,000. A big gain raises AGI, so it can shrink an itemizer's deductions in the year of sale.
What does this calculator not account for?
- The 2% surtax on net capital gain above $350,000 of federal AGI, and its exceptions.
- County and Baltimore City income tax, up to 3.30% for 2026.
- The standard deduction and the 7.5% cut to itemized deductions.
- Nonresident withholding at settlement.
- Federal tax, handled by the capital gains tax calculator with the 3.8% surtax.
What mistakes do people make with this?
- Treating the result as the whole Maryland bill. County tax and possibly the surtax are extra.
- Assuming 5.75% is still the top state rate. Since 2025 the brackets reach 6.25% and 6.5%.
- Treating 8.75% settlement withholding as the tax. It is credited against the real figure on Form 505.
- Missing the $350,000 line. One sale can carry federal AGI over it for a single year.
Frequently Asked Questions
What is Maryland's capital gains tax rate?
Does this calculator include the 2% surtax?
Why does filing jointly save $312.50 on the defaults?
What does the Potomac consultant keep after Maryland state tax?
Sources
- Comptroller of Maryland, state income tax rates and brackets, including the 6.25% and 6.5% tiers.
- Comptroller of Maryland, tax alert on the 2025 session: the 2% capital gains surtax, local rate cap, standard deduction and itemized deduction cut.
- Comptroller of Maryland, Withholding Tax Facts 2026, including nonresident real property withholding.