Maryland Capital Gains Tax Calculator - State, County Local Rate & Federal Tax Estimator
Use this Maryland capital gains tax calculator to estimate your state, county local, and federal tax liability on real estate, stocks, and crypto sales.
Maryland Capital Gains Tax Calculator
Results
What Is Maryland Capital Gains Tax Calculator?
The Maryland capital gains tax calculator allows real estate sellers, stock investors, and business owners to estimate state, county local, and federal tax liabilities on asset sales across the Old Line State. In Maryland, capital gains are taxed as ordinary individual income, with state progressive rates reaching up to 5.75%. In addition, Maryland counties and Baltimore City levy a mandatory local income tax ranging from 2.25% to 3.20%. Using a dedicated Maryland capital gains tax calculator ensures accurate multi-layered tax planning across all jurisdictions.
- • Maryland Real Estate & Residential Property Sales: Estimate Maryland state tax, county local tax, and federal capital gains tax when selling real property in Montgomery, Baltimore, Anne Arundel, or Prince George's counties.
- • Stock & Cryptocurrency Portfolio Realizations: Calculate progressive state income tax (up to 5.75%), county local tax (up to 3.20%), and federal capital gains tiers on stock equity and crypto gains.
- • Maryland Small Business & Private Entity Liquidations: Evaluate combined state, local, and federal tax drag when selling business ownership interests or commercial assets in Maryland.
- • Tax Planning & County Rate Comparison: Model tax implications across different Maryland counties (ranging from 2.25% in Worcester to 3.20% in major urban counties) prior to closing major asset transactions.
Maryland taxes net capital gains realized by state residents on worldwide income and non-residents on Maryland real estate and business sales. State income tax rates reach up to 5.75% for higher income brackets.
Unlike many states, Maryland empowers all 23 counties plus Baltimore City to levy an additional local income tax. Local tax rates range from 2.25% to 3.20%, bringing top combined state and local rates up to 8.95%.
Understanding how your holding period, filing status, and county residence interact ensures accurate financial planning. This Maryland capital gains tax calculator provides complete visibility across all tax tiers.
Taxpayers wondering how to calculate Maryland capital gains tax should note that state and county taxes treat gains as income, while federal rules offer preferential long-term capital gains tax rates of 0%, 15%, or 20%.
For taxpayers comparing state tax models with special deductions or flat rates, the Louisiana capital gains tax calculator provides a useful comparison.
How Maryland Capital Gains Tax Calculator Works
Maryland state and local capital gains tax is calculated by applying Maryland's state income tax rate (up to 5.75%) and selected county local tax rate (2.25% to 3.20%) to net capital gain, then adding federal capital gains tax liability.
- Variable:
- Variable:
- Variable:
- Variable:
To calculate state and local tax liability in Maryland, subtract adjusted cost basis from sale proceeds to determine net capital gain.
Maryland applies state income tax rates reaching up to 5.75%. The gain sits on top of your background taxable income to determine the applicable state tax tier.
Additionally, county local tax applies as a flat percentage of the gain based on your resident county (e.g. 3.20% for Montgomery, Prince George's, and Baltimore City).
Federal capital gains taxes add an extra layer ranging from 0% to 20% for long-term gains (or up to 37% for short-term gains), plus a potential 3.8% Net Investment Income Tax (NIIT) for high earners.
Long-Term Maryland Real Estate Sale in Montgomery County (3.2% Local Rate)
Sale Proceeds: $500,000 | Cost Basis: $300,000 | Holding Period: Long-Term (> 1 Year) | Filing Status: Single | Other Income: $75,000 | County Rate: 3.20%
Gross Capital Gain = $500,000 - $300,000 = $200,000. Maryland State Tax (5.75% top rate tier) = $200,000 * 0.0575 = $11,500. Maryland Local Tax (3.20%) = $200,000 * 0.032 = $6,400. Federal Capital Gains Tax (15%) = $200,000 * 0.15 = $30,000. Total Combined Tax = $11,500 + $6,400 + $30,000 = $47,900.
$47,900 Total Estimated Tax (23.95% Effective Combined Rate)
The seller pays $11,500 in Maryland state tax, $6,400 in Montgomery County local tax, and $30,000 in federal tax, leaving net cash proceeds of $452,100 after tax.
Maryland Stock Portfolio Gain in Worcester County (2.25% Local Rate)
Sale Proceeds: $150,000 | Cost Basis: $100,000 | Holding Period: Long-Term (> 1 Year) | Filing Status: Married Joint | Other Income: $100,000 | County Rate: 2.25%
Gross Capital Gain = $150,000 - $100,000 = $50,000. Maryland State Tax (5.25% bracket tier) = $50,000 * 0.0525 = $2,625. Maryland Local Tax (2.25%) = $50,000 * 0.0225 = $1,125. Federal Capital Gains Tax (15%) = $50,000 * 0.15 = $7,500. Total Combined Tax = $2,625 + $1,125 + $7,500 = $11,250.
$11,250 Total Estimated Tax (22.50% Effective Combined Rate)
Due to Worcester County's lower local tax rate (2.25%), total state and local tax drag is reduced compared to higher-tax Maryland counties.
According to Comptroller of Maryland, state individual income tax rates range up to 5.75%, complemented by mandatory county and Baltimore City local income tax rates ranging from 2.25% to 3.20%.
To see how Maryland state tax brackets compare to other East Coast states, explore the Maine capital gains tax calculator.
Key Concepts Explained
Essential terminology, legal definitions, and tax concepts governing Maryland state and county capital gains taxation.
Maryland State Tax Tiers (up to 5.75%)
Maryland taxes capital gains using income tax tiers topping out at 5.75% for taxable income above $250,000 (single) or $300,000 (married).
Maryland County & Baltimore City Local Tax (2.25% - 3.20%)
Every Maryland jurisdiction levies a mandatory local income tax rate ranging from 2.25% (Worcester) to 3.20% (Montgomery, Baltimore City, Prince George's, etc.).
Adjusted Cost Basis
The original purchase price of an asset plus capital improvements and acquisition expenses minus depreciation.
Short-Term vs. Long-Term Holding Period
Assets held 1 year or less are short-term; assets held over 1 year qualify for federal long-term preferential tax rates.
Maryland treats capital gains as regular personal income, subjecting them to state tier rates and local county tax.
The combination of Maryland's 5.75% top state rate and 3.20% county tax creates a top combined state and local rate of 8.95%.
Properly selecting your county rate in this calculator ensures precise accounting for local tax obligations.
Accurately documenting cost basis and holding periods minimizes total tax liability and avoids unexpected state or federal audit adjustments.
If you are evaluating flat versus progressive state income tax structures, compare results with our Kentucky capital gains tax calculator.
How to Use This Calculator
Follow these step-by-step instructions to calculate your Maryland state, county local, and federal capital gains tax liability.
- 1 Step 1: Enter Sale Proceeds: Input gross sale proceeds or total price received from selling the asset.
- 2 Step 2: Enter Cost Basis: Provide adjusted cost basis including purchase price, closing fees, and capital improvements.
- 3 Step 3: Select Holding Period: Choose Long-Term (> 1 Year) or Short-Term (<= 1 Year) based on ownership duration.
- 4 Step 4: Select Filing Status: Choose Single, Married Filing Jointly, or Head of Household for bracket calculations.
- 5 Step 5: Select Maryland County Local Rate: Pick your county or Baltimore City local tax rate (ranging from 2.25% to 3.20%).
- 6 Step 6: Review Calculated Results: Examine state tax, county local tax, federal tax, total combined tax liability, and net proceeds.
A single filer in Montgomery County (3.20% local rate) selling stock for $100,000 with a $40,000 cost basis ($60,000 gain) and $75,000 background income will see $3,150 Maryland state tax, $1,920 county tax, and $9,000 federal tax, totaling $14,070 in combined tax (23.45% effective combined rate).
To examine state capital gains tax logic in state-by-state comparisons, review the Idaho capital gains tax calculator.
Benefits of Using This Calculator
Key advantages of using this Maryland capital gains tax estimator for financial decision making.
- • Complete 3-Tier Calculation: Estimates state tax, county local tax, and federal capital gains tax in a single clear calculation.
- • County-Specific Accuracy: Supports exact local tax rate selection across all Maryland counties and Baltimore City (2.25% to 3.20%).
- • State Rate Modeling: Accurately applies Maryland state income tax tiers up to 5.75%.
- • Comprehensive Tax Rate Summary: Provides state tax, local tax, federal tax, total combined tax liability, effective percentage rate, and net proceeds.
- • Real Estate & Stock Compatibility: Designed to calculate taxes accurately for real property, equities, crypto, and business asset liquidations.
Using this calculator empowers Maryland taxpayers to anticipate total tax drag across state, county, and federal levels prior to completing major transactions.
Calculating county local tax early prevents surprise tax balances when filing Form 502 with the Comptroller of Maryland.
Comparing local county rates illustrates the minor tax variations across different Maryland jurisdictions.
Factors That Affect Your Results
Critical factors that influence your overall Maryland state, local, and federal capital gains tax liability.
Maryland County of Residence
Local county tax rates vary from 2.25% to 3.20%, adding up to $32 per $1,000 of gain depending on jurisdiction.
State Tax Tiers
Maryland state rates range up to 5.75% on taxable income over $250,000 (single) or $300,000 (married).
Asset Holding Duration
Holding assets for more than 12 months reduces federal tax rates from ordinary income tiers down to 0%, 15%, or 20%.
Cost Basis Documentation
Capital improvements and allowable purchase expenses increase cost basis and directly lower taxable gains.
- • This tool provides estimates for financial planning purposes and does not replace professional CPA guidance.
- • Complex scenarios such as Section 121 principal residence exclusions, 1031 exchanges, or installment sales require custom tax consultation.
Always consult a qualified Certified Public Accountant (CPA) or tax professional in Maryland for complex tax situations or high-value sales.
Primary home sellers in Maryland may qualify for federal Section 121 exclusions ($250,000 for single, $500,000 for joint filers), which eliminate state and local taxes on qualifying gains.
According to Internal Revenue Service (IRS), federal long-term capital gains tax rates of 0%, 15%, or 20% apply depending on filing status and taxable income threshold.
Frequently Asked Questions
Q: How are capital gains taxed in Maryland?
A: Maryland taxes net capital gains as individual income. State individual income tax rates range progressively up to 5.75%, depending on overall taxable income and filing status.
Q: What is the Maryland state capital gains tax rate?
A: Maryland state capital gains tax rates range from 4.75% to a top marginal rate of 5.75% for single filers earning over $250,000 or married joint filers earning over $300,000.
Q: Do Maryland county local income taxes apply to capital gains?
A: Yes. Every Maryland county and Baltimore City levies a mandatory local income tax ranging from 2.25% to 3.20% on top of Maryland state income tax.
Q: Does Maryland distinguish between short-term and long-term capital gains?
A: Maryland taxes both short-term and long-term capital gains at standard state and county income tax rates. However, federal tax rules provide preferential 0%, 15%, or 20% long-term rates.
Q: Does Maryland allow capital loss deductions?
A: Yes. Maryland follows federal tax rules allowing taxpayers to offset capital gains with capital losses, plus deduct up to $3,000 of net loss against ordinary income.
Q: How do federal capital gains taxes combine with Maryland state and local taxes?
A: Your total tax burden is the sum of Maryland state tax (up to 5.75%), Maryland county local tax (2.25% to 3.20%), and federal capital gains tax (0%, 15%, or 20% plus potential 3.8% NIIT).