Maryland Capital Gains Tax Calculator 2026
Calculate your Maryland capital gains tax for 2026 instantly. Enter your sale price, cost basis, holding period, and income to see your federal and Maryland state capital gains tax, total owed, and net proceeds — calculated privately in your browser.
Maryland Capital Gains Tax Rules
Maryland taxes capital gains as ordinary income at 2026 state rates from 2% to 6.5%. Since tax year 2025 it also charges an additional 2% tax on net long-term capital gains when federal adjusted gross income is over $350,000, regardless of filing status (Comptroller Technical Bulletin 58); a primary residence sold for less than $1.5 million is exempt from that surtax. County income tax of 2.25% to 3.30% applies on top and is not included in this calculator. This state tax is separate from — and in addition to — the federal capital gains tax you owe to the IRS.
Understanding Maryland's capital gains rules is essential for investors, homeowners selling property, and business owners who plan to sell assets. The calculator above computes your estimated federal and Maryland state capital gains tax based on your sale price, cost basis, holding period, and income. It subtracts the 2026 federal standard deduction ($16,100 single, $32,200 married filing jointly, $24,150 head of household) from the income you enter, stacks the gain on top of your other income, and taxes each slice at its own rate.
Federal vs Maryland Capital Gains Tax
The federal tax on a gain depends on your taxable income and on how long you held the asset. For long-term gains (held more than 12 months), the 2026 federal rates set by IRS Rev. Proc. 2025-32 are 0% on taxable income up to $49,450 single / $98,900 married filing jointly / $66,200 head of household, 15% up to $545,500 single / $613,700 joint / $579,600 head of household, and 20% above those thresholds. The gain is stacked on top of your other income, so one sale can be taxed partly at 0%, partly at 15% and partly at 20%. Short-term gains are taxed as ordinary income at the 2026 federal brackets of 10% to 37%. A 3.8% Net Investment Income Tax is added on the lesser of the gain or the amount by which your modified adjusted gross income exceeds $200,000 (single or head of household) or $250,000 (married filing jointly).
Worked example (2026): a single filer with $90,000 of other income sells stock held for two years at a $50,000 gain. Federal tax is $7,500 (the whole gain falls in the 15% band) and Maryland tax is $2,606, a combined $10,106 or 20.2% of the gain. Sold after 11 months instead, the same gain is short-term: $11,364 federal plus $2,606 Maryland tax, $13,970 in total. The calculator above reproduces both results.
Maryland Cap Gains Strategies & Exemptions
Several strategies can help Maryland taxpayers reduce their capital gains tax burden. First, hold assets for more than 12 months to qualify for the lower long-term federal rate. Second, harvest capital losses to offset gains — if you have losing positions, selling them in the same tax year can reduce your net taxable gain. Third, use tax-advantaged accounts (401k, IRA, HSA) to shelter future investment growth from both federal and Maryland state tax.
For Maryland homeowners, the federal home-sale exclusion allows you to exclude up to $250,000 (single) or $500,000 (married filing jointly) of gain from the sale of a primary residence, provided you meet the 2-of-5-year ownership and use tests. The calculator does not apply this exclusion, so enter only the gain that remains after it. Consult a Maryland tax professional to understand which exclusions apply to your specific situation.
Always work with a qualified tax professional before executing large asset sales. Tax laws change, and individual circumstances — such as installment sales, like-kind exchanges (1031 exchanges for real estate), or business asset sales — can significantly affect your total tax liability.
Last updated: October 2026. Federal figures: IRS Rev. Proc. 2025-32 (2026 capital gains thresholds, brackets and standard deduction), IRS Topic 409 and IRS Topic 559 (Net Investment Income Tax). Maryland: Comptroller of Maryland Technical Bulletin 58.
Frequently Asked Questions
What is the Maryland capital gains tax rate in 2026?
Maryland taxes capital gains as ordinary income at 2026 state rates from 2% to 6.5%. If your federal adjusted gross income is over $350,000, an additional 2% tax applies to net long-term capital gains. County income tax of 2.25% to 3.30% is charged on top and is not included in this calculator.
Does Maryland tax short-term vs long-term capital gains differently?
Both are taxed as ordinary income at Maryland's regular rates. The additional 2% tax for filers with federal adjusted gross income over $350,000 applies to net capital gain, which means net long-term gains; short-term gains are not subject to it.
Are there Maryland capital gains exemptions?
Maryland has no general capital gains exclusion. The additional 2% capital gains tax does not apply to a primary residence sold for less than $1.5 million, assets in retirement accounts, or certain farm and conservation property (Technical Bulletin 58). The federal home-sale exclusion of $250,000 ($500,000 joint) also applies.
How does Maryland capital gains compare to federal rates?
Federal long-term capital gains rates for 2026 are 0%, 15% and 20%: the 15% rate starts above $49,450 of taxable income for single filers ($98,900 married filing jointly) and the 20% rate above $545,500 ($613,700). Maryland state tax is charged in addition to the federal tax. For example, a single filer with $90,000 of other income and a $50,000 long-term gain owes $7,500 federal and $2,606 to Maryland.
Do I owe Maryland capital gains tax if I move before selling?
If you move before selling an asset, your state tax obligation depends on where you were a resident when the sale occurs. If you are a Maryland resident at the time of sale, Maryland capital gains rules apply. Always consult a tax advisor when changing states.