Real Estate Capital Gains Tax Calculator – New York State & NYC (2024)
Estimate your total capital gains tax liability when selling New York real estate. This calculator combines federal long-term capital gains rates, New York State income tax, and NYC income tax — covering property sales, rental properties, primary residences, and inherited property.
Calculate the capital gains tax owed on any New York real estate sale — including your purchase price, improvements, and selling costs.
What Is the Real Estate Capital Gains Tax in New York?
When you sell real estate in New York at a profit, that profit — your capital gain — is subject to multiple layers of tax. Unlike some states, New York does not have a separate, preferential capital gains tax rate. Instead, New York State and New York City both tax capital gains as ordinary income, meaning your gain gets stacked on top of your other income and taxed at your marginal rate. This makes New York one of the highest capital gains tax jurisdictions in the country.
In 2024, a New York City resident in a high income bracket can face a combined effective rate approaching 35% or more when you add together federal long-term capital gains tax, the federal Net Investment Income Tax (NIIT), New York State income tax, and NYC income tax.
How Much Is Capital Gains Tax on Real Estate in NY? (2024 Rate Breakdown)
Capital gains tax on New York real estate comes from four potential sources. Here is how each layer works in 2024:
1. Federal Long-Term Capital Gains Tax
If you held the property for more than one year before selling, the profit qualifies as a long-term capital gain and is taxed at preferential federal rates of 0%, 15%, or 20% depending on your taxable income and filing status.
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026–$518,900 | Over $518,900 |
| Married Filing Jointly | Up to $94,050 | $94,051–$583,750 | Over $583,750 |
| Married Filing Separately | Up to $47,025 | $47,026–$291,850 | Over $291,850 |
| Head of Household | Up to $63,000 | $63,001–$551,350 | Over $551,350 |
If you held the property for one year or less, the gain is short-term and taxed at your ordinary federal income tax rate (10%–37%).
2. Federal Net Investment Income Tax (NIIT)
High earners pay an additional 3.8% NIIT on the lesser of net investment income or the amount by which modified adjusted gross income (MAGI) exceeds: $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately). Real estate capital gains typically count as net investment income.
3. New York State Income Tax on Capital Gains
New York State taxes capital gains as ordinary income. NYS income tax rates in 2024 range from 4% to 10.9%. The top rate of 10.9% applies to single filers earning over $1,077,550 and married joint filers earning over $2,155,350. Most property sellers in New York will fall into the 6.85%–10.9% bracket once a significant gain is included in their income.
| NYS Rate | Single Filer Income | MFJ Income |
|---|---|---|
| 4.00% | $0–$17,150 | $0–$27,900 |
| 4.50% | $17,151–$23,600 | $27,901–$43,000 |
| 5.25% | $23,601–$27,900 | $43,001–$161,550 |
| 5.85% | $27,901–$161,550 | $161,551–$323,200 |
| 6.25% | $161,551–$323,200 | $323,201–$2,155,350 |
| 6.85% | $323,201–$1,077,550 | $323,201–$2,155,350 |
| 9.65% | $1,077,551–$5,000,000 | $2,155,351–$5,000,000 |
| 10.30% | $5,000,001–$25,000,000 | $5,000,001–$25,000,000 |
| 10.90% | Over $25,000,000 | Over $25,000,000 |
4. New York City Income Tax on Capital Gains
If you are a resident of New York City — or if city residency rules apply — you also owe NYC income tax on the capital gain. NYC income tax rates range from 3.078% to 3.876% in 2024. This applies on top of the NYS rate, and there is no preferential NYC rate for long-term capital gains.
How to Calculate Capital Gains Tax in NYC — Step by Step
Calculating your total tax on a New York real estate sale involves these steps:
- Calculate your adjusted cost basis: Original purchase price + capital improvements + buying closing costs + selling costs (commissions, transfer taxes paid by seller, legal fees).
- Subtract basis from sale price: Capital Gain = Sale Price − Adjusted Cost Basis.
- Apply any exclusions: If selling a primary residence where you qualify, subtract the Section 121 exclusion ($250,000 single / $500,000 married filing jointly).
- Determine holding period: Over one year = long-term (preferential federal rates). One year or less = short-term (ordinary federal income rates).
- Apply federal capital gains tax at the appropriate rate (0%, 15%, or 20% for long-term).
- Check NIIT: If income exceeds thresholds, add 3.8% federal NIIT on the gain.
- Apply NYS income tax at your marginal NYS rate on the taxable gain.
- Apply NYC income tax if you are a city resident (add 3.078%–3.876%).
- Add totals for your estimated combined tax liability.
Capital Gains Tax Calculator on Sale of Property — Example
Here is a worked example for a married couple filing jointly, selling a property in New York City with $250,000 in taxable income before the sale:
| Item | Amount |
|---|---|
| Sale Price | $800,000 |
| Original Purchase Price | $400,000 |
| Capital Improvements | $50,000 |
| Selling Costs | $30,000 |
| Adjusted Cost Basis | $480,000 |
| Taxable Capital Gain | $320,000 |
| Federal Long-Term Rate (15%) | $48,000 |
| Federal NIIT (3.8%) | $12,160 |
| NYS Income Tax (6.85%) | $21,920 |
| NYC Income Tax (3.876%) | $12,403 |
| Estimated Total Tax | $94,483 |
| Effective Combined Rate | 29.5% |
NYS Capital Gains Tax on Real Estate — Rental Property and Depreciation Recapture
Selling a rental property in New York adds an important wrinkle: depreciation recapture. Over the years you owned and rented the property, you likely claimed depreciation deductions on your tax returns. When you sell, the IRS requires you to "recapture" that depreciation — taxing it at a federal rate of up to 25% (not your regular long-term capital gains rate). NYS and NYC then tax the full gain (including the recaptured portion) as ordinary income at state and city rates on top of that.
For example, if you claimed $60,000 in depreciation over 10 years of rental ownership, $60,000 of your gain will first be taxed at the 25% federal recapture rate before the remaining gain is taxed at long-term capital gains rates.
Capital Gains Tax Calculator on Sale of Primary Residence — The Section 121 Exclusion
The most important tax break available to New York homeowners selling their primary residence is the federal Section 121 exclusion. If you meet the ownership and use tests — owning the home and living in it as your principal residence for at least two of the five years immediately before the sale — you can exclude:
- $250,000 of capital gain if you are single
- $500,000 of capital gain if you are married filing jointly
New York State conforms to the federal Section 121 exclusion, meaning the same excluded amount is also excluded from your NYS taxable income. NYC follows the same rule. This exclusion does not apply to rental properties or investment properties, and it can only be used once every two years.
Capital Gains Tax Calculator on Sale of Inherited Property in New York
Inherited property receives a significant tax advantage known as the stepped-up cost basis. Under federal tax law, when you inherit real estate, your cost basis is reset to the fair market value of the property on the date of the original owner's death — not the amount the deceased originally paid for it. This means that if your parent bought a home for $100,000 and it was worth $700,000 when they passed away, your cost basis is $700,000, not $100,000.
If you sell shortly after inheriting (while the property is still worth approximately $700,000), you may owe little to no capital gains tax on the sale. Any gain above the stepped-up basis is taxed at long-term capital gains rates regardless of how long you personally held the property, provided you inherited it (rather than receiving it as a gift). New York follows the federal stepped-up basis rules for state tax purposes as well.
It is also worth noting that New York State has its own estate tax, which is separate from capital gains tax and may apply to the estate of the deceased before you inherit the property. The NY estate tax exemption threshold and rates differ from the federal estate tax.
What Is the 6-Year Rule for Capital Gains Tax?
The "6-year rule" is a concept from Australian tax law, not United States or New York tax law. In the U.S. context, the relevant rule for homeowners is the 2-out-of-5-year rule that governs the Section 121 primary residence exclusion described above. You must have owned and used the home as your principal residence for at least 2 years out of the 5 years ending on the sale date. The two years do not have to be consecutive.
If you encounter references to a "6-year rule" in the context of U.S. real estate taxes, they may be referring to the five-year look-back period plus flexibility in timing, or they may simply be inaccurate. Always verify tax rules with a qualified U.S. tax professional.
Real Estate Capital Gains Tax Calculator — New York City vs. New York State
A key distinction for New York sellers is whether the NYC income tax applies. The NYC income tax only applies to New York City residents — people who live in the five boroughs (Manhattan, Brooklyn, Queens, The Bronx, and Staten Island). If you are a New York State resident living outside NYC and sell property in the city, you do not owe NYC income tax on the gain. Conversely, if you are an NYC resident selling property anywhere, you do owe NYC income tax on the capital gain.
Non-residents of New York who sell property located in New York State are still subject to NYS income tax on the gain because the property is sourced in New York. This is an important consideration for out-of-state investors who own New York real estate.
How to Reduce Capital Gains Tax on New York Real Estate
Several legal strategies can reduce your capital gains tax liability on a New York property sale:
- Maximize your cost basis: Keep meticulous records of every capital improvement — kitchens, bathrooms, additions, HVAC systems, roofing. These add to your basis and reduce your taxable gain dollar-for-dollar.
- Use the primary residence exclusion: If you qualify under Section 121, up to $500,000 of gain (for married couples) is excluded from both federal and NY tax entirely.
- 1031 Exchange (Like-Kind Exchange): If you are selling a rental or investment property, you can defer capital gains tax entirely by reinvesting the proceeds into another qualifying property within strict IRS timelines. New York follows federal 1031 exchange rules.
- Tax-loss harvesting: Capital losses from other investments in the same tax year can offset capital gains from real estate, reducing your overall tax bill.
- Installment sale: Spreading the sale proceeds over multiple years through a seller-financed installment arrangement can spread the gain — and thus the tax — across multiple tax years, potentially keeping you in lower brackets.
- Qualified Opportunity Zone (QOZ) investment: Reinvesting capital gains into a federally designated Opportunity Zone fund can defer and potentially reduce the taxable gain, with additional exclusions for long-term Opportunity Zone holdings.
Frequently Asked Questions — NY Real Estate Capital Gains Tax
Q: How much is capital gains tax on real estate in NY?
A: In New York, capital gains on real estate are taxed as ordinary income at the state level (4%–10.9% NYS) plus NYC income tax (3.078%–3.876%) if you are a city resident. On top of these, federal long-term capital gains tax of 0%, 15%, or 20% applies, along with a potential 3.8% NIIT. The combined rate can reach 35%+ for high earners in New York City.
Q: How to calculate capital gains tax in NYC?
A: Start with Sale Price minus Adjusted Cost Basis (purchase price + improvements + selling costs). Apply any applicable exclusions (such as the Section 121 primary residence exclusion). Then apply federal long-term capital gains rates, add the 3.8% NIIT if applicable, add your NYS marginal income tax rate, and add the NYC income tax rate if you are a city resident. Use the calculator above to run all four layers simultaneously.
Q: What is the 6-year rule for capital gains tax?
A: The "6-year rule" is an Australian tax concept and does not apply in the United States. In the U.S., the key rule for primary residences is the Section 121 exclusion, which requires 2 years of ownership and use as a principal residence out of the preceding 5 years to qualify for the $250,000/$500,000 exclusion.
Q: How do I calculate capital gains tax?
A: Capital gain = Sale Price − Adjusted Cost Basis. Then multiply that gain by the applicable federal rate (0%, 15%, or 20% for long-term; up to 37% for short-term), plus add NY State and NYC income tax rates on the gain. For rental properties, also factor in depreciation recapture at 25% federally.
Q: Do I have to pay NY capital gains tax if I live outside NY?
A: Yes, if you sell property located in New York State, you owe New York State income tax on the capital gain regardless of where you live. However, you do not owe NYC income tax unless you are an NYC resident. Your home state may also tax the gain (with a credit for NY taxes paid, depending on your state's rules).
Q: Does New York have a separate capital gains tax rate?
A: No. New York State and New York City do not have a separate, lower capital gains tax rate. All capital gains — short-term and long-term — are taxed as ordinary income at your regular NYS and NYC income tax rates. Only the federal government gives long-term capital gains a preferential lower rate.
This tool provides general estimates for informational and educational purposes only. It is not tax, legal, or financial advice. Tax laws change frequently, and your individual situation may differ materially from the assumptions used in this calculator. Always consult a licensed CPA, tax attorney, or financial advisor before making decisions based on these estimates. The calculator uses 2024 federal and New York tax rates and brackets.