Skip to content
BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 3 primary sourcesLast updated

Maryland Capital Gains Tax Calculator

The Maryland Capital Gains Tax Calculator finds the state part of Maryland capital gains tax on a sale, plus the 2% surtax on gains when federal AGI tops $350,000, which you add yourself.

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.

Your inputs

Computed
$
$

Preset scenarios

Maryland State Capital Gains Tax
$5,125.00

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

Effective State Rate (%)
5.13%
Top Marginal State Bracket
5.50%
Net Gain Retained After State Tax
$94,875.00

State Capital Gains Tax Progression

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

Maryland Capital Gains Multi-Tier Schedule

Showing 12 rows.

Maryland Capital Gains Multi-Tier Schedule, from the Maryland Capital Gains Tax Calculator (2026 Rates)
#Capital GainState Tax DueGain After State Tax
1$16,666.67$791.67$15,875.00
2$33,333.33$1,604.17$31,729.16
3$50,000.00$2,437.50$47,562.50
4$66,666.67$3,312.50$63,354.17
5$83,333.33$4,208.33$79,125.00
6$100,000.00$5,125.00$94,875.00
7$116,666.67$6,041.67$110,625.00
8$133,333.33$6,958.33$126,375.00
9$150,000.00$7,875.00$142,125.00
10$166,666.67$8,791.67$157,875.00
11$183,333.33$9,729.17$173,604.16
12$200,000.00$10,687.50$189,312.50

Maryland at a glance: 2026 tax and cost figures

Maryland's top income tax rate on wages, 6.5%, is the 13th highest of the 41 states that tax wages.

Its 6% state sales tax rate is tied for the 17th highest of 50.

Its 0.95% effective property tax rate is the 21st highest of 50, against a 0.89% average across the states.

Income tax on wages
Top rate 6.5% over $1,000,000Graduated from 2%; single filer, taxable incomeMaryland paycheck calculator
Sales tax
6% state rateMaryland sales tax calculator
Property tax
0.95% effective rateMedian real estate taxes paid as a share of median home valueMaryland property tax calculator
Real estate transfer tax
0.5% state ratePlus about 0.5% average local taxMaryland transfer tax calculator
Estate tax
Exemption $5,000,000Rates 0.8% to 16%Maryland estate tax calculator
Inheritance tax
Up to 10%Rate depends on the heir's relationship to the deceased; 1 of 2 beneficiary classes pay 0%Maryland inheritance tax calculator
Minimum wage
$15.00 an hourStatewide adult rate
Corporate income tax
Flat 8.25%Maryland corporate tax calculator
Vehicle sales tax
6.5% state rateA vehicle-specific rate; the general sales tax rate is 6%Maryland auto loan calculator
Cost-of-living index
121.1MERIC composite; housing 149.1, groceries 109.3, utilities 113.2Maryland cost of living calculator

Sources

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 Maryland State Capital Gains Tax is $5,125.00. Change the inputs above to see your own figures.
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

  1. Choose the table. Married filing jointly uses the wider joint edges.
  2. Lay down other income, read as Maryland taxable income as entered, with no deduction taken off.
  3. Add the gain on top and charge each slice the rate of its bracket.
  4. 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

  1. 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.
  2. 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.
  3. 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?

State brackets of 2% to 6.5%, county tax of up to 3.30%, and a 2% surtax on net gain when federal AGI exceeds $350,000.

Does this calculator include the 2% surtax?

No. If your federal AGI is over $350,000 and no exception applies, add 2% of the net gain yourself.

Why does filing jointly save $312.50 on the defaults?

The joint 4.75% bracket reaches $150,000, so less of the gain climbs into 5% and above.

What does the Potomac consultant keep after Maryland state tax?

$1,171,975.00 of her $1,250,000 gain, before county tax, the surtax and federal tax.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 4 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Baseline vector verification ($100k gain, $75k other income, single)
  • Zero gain scenario
  • Gain exactly at the top bracket threshold (1000000), no other income
  • High gain scenario ($1,000,000 gain, $100k other income)

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews