Free Maryland capital gains tax calculator. 6.50% top state rate. Estimate your combined federal and Maryland CG tax liability.
Maryland uses a progressive income tax system with rates ranging from 2% to 6.50%, where higher income is taxed at higher marginal rates.
Maryland uses a progressive income tax system with rates ranging from 2% to 6.50%, where higher income is taxed at higher marginal rates. Capital gains are taxed as ordinary income through the 10-bracket structure. Additionally, a 2% surcharge applies to ALL net capital gains when federal AGI exceeds $350,000 (not just the excess — the full amount of capital gains is surcharged). Exemptions from the surcharge: primary residence sales under $1.5M, retirement account assets, livestock sales by farmers, conservation easement sales, Sec. 179 business property, and nonprofit affordable housing sales. Effective July 1, 2025. This means the first portion of your taxable income is taxed at the lowest rate, with each additional dollar above each bracket threshold taxed at the next rate. This calculator computes your exact capital gains tax in Maryland, combining federal and state taxes based on your specific income and filing status.
At the federal level, the tax rate on your capital gain depends on how long you held the asset and your total taxable income. Long-term gains (assets held 12+ months) are taxed at preferential rates of 0%, 15%, or 20%, while short-term gains (held less than 12 months) are taxed as ordinary income at rates from 10% to 37%. The 3.8% Net Investment Income Tax (NIIT) also applies when your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.
**Recent changes:** 2025: Budget Reconciliation and Financing Act added two new top brackets (6.25% over $500K, 6.50% over $1M for single filers) — retroactive to Jan 1, 2025. 2025: New 2% capital gains surcharge for AGI over $350,000 (effective July 1, 2025). 2025: County income tax cap raised to 3.3% (from 3.2%). 2025: Standard deduction increased and income-based phase-in eliminated. 2025: Itemized deduction limitation enacted (7.5% of excess AGI over $200,000)
**How Maryland compares:** Maryland's combined state + county burden (up to 9.8% for high earners in high-tax counties, plus the 2% capital gains surcharge) is substantially above neighboring Virginia (5.75% top rate) and Pennsylvania (flat 3.07%).
For a comprehensive view of your tax situation, use our Maryland after-tax income calculator or explore our national capital gains tax calculator. You can also plan ahead with our 401(k) retirement calculator.
Maryland uses a 10-bracket progressive tax system with rates from 2% to 6.50%. Under this structure, your first dollars of taxable income are taxed at the lowest rate, with each additional portion taxed at increasingly higher rates as your income rises. Capital gains are taxed as ordinary income through the 10-bracket structure. Additionally, a 2% surcharge applies to ALL net capital gains when federal AGI exceeds $350,000 (not just the excess — the full amount of capital gains is surcharged). Exemptions from the surcharge: primary residence sales under $1.5M, retirement account assets, livestock sales by farmers, conservation easement sales, Sec. 179 business property, and nonprofit affordable housing sales. Effective July 1, 2025.
Maryland's 10 brackets range from 2% on the first $1,000 to 6.50% on income above $1,000,000.
**Combined tax impact:** When you sell an investment in Maryland, your total capital gains tax is the sum of federal capital gains tax (0-20% for long-term, 10-37% for short-term), the 6.50% Maryland state tax, and potentially the 3.8% federal NIIT. This means your combined effective rate on a long-term gain could range from 6.50% (if the federal rate is 0%) to over 30.3% on the highest-taxed portion.
**Key deductions and credits:** Standard deduction: $3,350 single / $6,700 MFJ (increased; income-based phase-in eliminated in 2025). Itemized deductions reduced by 7.5% of AGI over $200,000 ($100,000 MFS). County income taxes: up to 3.3% on top of state rates (varies by county; cap raised from 3.2% in 2025). Pension exclusion available for qualifying retirement income. Maryland 529 plan contributions deductible up to $2,500 per beneficiary per year.
**Recent legislative changes:** 2025: Budget Reconciliation and Financing Act added two new top brackets (6.25% over $500K, 6.50% over $1M for single filers) — retroactive to Jan 1, 2025. 2025: New 2% capital gains surcharge for AGI over $350,000 (effective July 1, 2025). 2025: County income tax cap raised to 3.3% (from 3.2%). 2025: Standard deduction increased and income-based phase-in eliminated. 2025: Itemized deduction limitation enacted (7.5% of excess AGI over $200,000)
**Regional comparison:** Maryland's combined state + county burden (up to 9.8% for high earners in high-tax counties, plus the 2% capital gains surcharge) is substantially above neighboring Virginia (5.75% top rate) and Pennsylvania (flat 3.07%).
**National tax landscape:** Across the United States, state capital gains tax treatment varies dramatically. Nine states impose no income tax at all, while states like California (13.3%), New York (10.9%), and New Jersey (10.75%) levy the highest rates. The majority of states tax capital gains as ordinary income with no preferential rate, though some — such as North Dakota, South Carolina, and Wisconsin — offer partial exclusions on long-term gains that reduce the effective rate below the headline income tax rate.
Compare your tax situation with neighboring states: Delaware capital gains tax calculator, Pennsylvania capital gains tax calculator, Virginia capital gains tax calculator.
Understanding how federal and Maryland taxes combine helps you plan investment sales strategically.
**Example 1: $50,000 long-term gain on $80,000 salary (single filer).** At the federal level, this gain falls primarily in the 15% long-term bracket. Maryland's 6.50% state rate adds to your federal liability, increasing your total tax bill compared to zero-tax states.
**Example 2: $200,000 long-term gain on $250,000 salary (married filing jointly).** Higher income pushes more of the gain into the 15% and potentially 20% federal bracket. The 3.8% NIIT also applies since MAGI exceeds $250,000. Add Maryland's state tax and the combined effective rate can exceed 30% on the highest-taxed portion.
**Example 3: Short-term gain of $30,000 on $60,000 salary (single filer).** Short-term gains are taxed as ordinary income at federal rates of 10-37%. For a single filer with $60,000 of ordinary income plus a $30,000 short-term gain, the gain is taxed at the 22% federal marginal rate. Maryland's 6.50% state rate applies on top, making the total tax on this gain roughly $8,550 combined federal and state.
Use our Maryland after-tax income calculator to see how your salary income is taxed alongside these investment gains.
Strategic timing and planning can significantly reduce your capital gains tax liability in Maryland.
**Hold investments for 12+ months.** The difference between short-term (up to 37% federal) and long-term (0-20% federal) rates is substantial. A $100,000 gain taxed at short-term rates could cost $15,000-$20,000 more than the same gain held long-term.
**Harvest losses to offset gains.** Selling underperforming investments to generate capital losses can offset your gains dollar-for-dollar, reducing your taxable gain. You can also deduct up to $3,000 in net losses against ordinary income annually.
**Consider the state impact.** Maryland's 6.50% top rate means state tax optimization matters. If you have flexibility in timing, consider spreading large gains across multiple tax years to potentially stay in lower state brackets.
**Use the Section 121 primary residence exclusion.** If you are selling your primary home, you may exclude up to $250,000 (single) or $500,000 (married filing jointly) of capital gains from federal tax. You must have owned and lived in the home for at least two of the past five years. This exclusion is separate from investment capital gains and can result in zero tax on substantial home sale profits.
For broader financial planning, see how your investment returns compound with our home affordability calculator to understand your buying power.
Maryland residents must report capital gains on both their federal and state income tax return. Key filing dates and considerations for Maryland investors:
**Federal deadline:** April 15 (or next business day). Extensions available through October 15, but any estimated tax owed is still due by April 15.
**Estimated tax payments:** If you expect to owe $1,000 or more in federal tax (including capital gains), you may need to make quarterly estimated payments to avoid underpayment penalties. The deadlines are April 15, June 15, September 15, and January 15 of the following year.
**Maryland state filing:** Maryland requires a separate state income tax return reporting your capital gains alongside other income. The state filing deadline typically aligns with the federal deadline. Maryland may also require quarterly estimated state tax payments if your expected state tax liability exceeds a certain threshold.
For a broader view of your finances, explore our home affordability calculator to see how capital gains affect your overall financial picture.
State-specific note
Capital gains are taxed as ordinary income through the 10-bracket structure. Additionally, a 2% surcharge applies to ALL net capital gains when federal AGI exceeds $350,000 (not just the excess — the full amount of capital gains is surcharged). Exemptions from the surcharge: primary residence sales under $1.5M, retirement account assets, livestock sales by farmers, conservation easement sales, Sec. 179 business property, and nonprofit affordable housing sales. Effective July 1, 2025. Notable deductions and credits: Standard deduction: $3,350 single / $6,700 MFJ (increased; income-based phase-in eliminated in 2025). Itemized deductions reduced by 7.5% of AGI over $200,000 ($100,000 MFS). County income taxes: up to 3.3% on top of state rates (varies by county; cap raised from 3.2% in 2025). Pension exclusion available for qualifying retirement income. Maryland 529 plan contributions deductible up to $2,500 per beneficiary per year. Maryland has 10 tax brackets, with rates from 2% to 6.50%.
This Maryland-specific calculator applies the IRS progressive rate schedule — sometimes called the 'bracket stacking' or 'DTI-equivalent layering' method — using the 2025 federal capital gains tax brackets as published by the IRS (Rev. Proc. 2024-40, updated by the One Big Beautiful Bill Act). For long-term gains (assets held 12+ months), three brackets apply: 0% up to $47,025 for single filers ($94,050 married), 15% up to $518,900 ($583,750 married), and 20% above those thresholds. Your capital gain 'stacks' on top of your ordinary taxable income — so your income determines where in the brackets your gain falls. The standard deduction ($15,750 single, $31,500 married for 2025) is subtracted from your gross income to determine taxable income before bracket placement. For short-term gains (held less than 12 months), the gain is taxed as ordinary income through seven federal brackets from 10% to 37%.
The calculator also computes the 3.8% Net Investment Income Tax (NIIT) when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). These NIIT thresholds are fixed — not inflation-adjusted — so more taxpayers are affected each year. State capital gains tax uses each state's effective top rate on investment income, sourced from the Tax Foundation 2025 data. The low-to-high range accounts for potential deductions, investment losses, and local tax variations not captured in the state average rate.
<iframe
id="pc-capital-gains-tax-maryland"
src="https://pennycheck.com/embed/money/taxes/capital-gains-tax-maryland"
width="100%" height="650" frameborder="0"
style="border:none;overflow:hidden"
title="Maryland Capital Gains Tax Calculator (2026)">
</iframe>
<script>
window.addEventListener("message",function(e){
if(e.data&&e.data.type==="pennycheck-resize"&&e.data.slug==="capital-gains-tax-maryland"){
document.getElementById("pc-capital-gains-tax-maryland").style.height=e.data.height+"px";
}
});
</script>Data sources