NY Capital Gains Tax Calculator 2026
Federal tax, New York tax, and the 3.8% net investment income tax on one capital gain — stacked on top of your other income. New York taxes the gain as ordinary income, so the state layer is usually the surprise.
Sale proceeds minus your basis (what you paid, plus improvements for property). Slider covers $0 – $1,000,000; type a larger amount (up to $5,000,000) for a bigger sale.
Salary, business income, and everything else — the gain is stacked on top of this, so it fills the higher bands first.
Over one year is long-term federally (0% / 15% / 20%). One year or less is short-term — ordinary federal rates. New York taxes both the same.
Federal tax on the gain
$7,500
0% / 15% / 20% long-term rates
NY State tax on the gain
$2,950
ordinary NY rates — no long-term preference · 5.90% marginal
Net investment income tax
$0
3.8% NIIT — MAGI $150,000 is under the $200,000 threshold
Total tax on the gain
$10,450
20.90% of the gain
After-tax proceeds
$39,550
of the $50,000 gain, after all three layers
Federal taxable income
$133,900
$83,900 other income + gain, after the standard deduction
| Rate | Gain taxed at this rate | Tax |
|---|---|---|
| 0.00% | $0 | $0 |
| 15.00% | $50,000 | $7,500 |
| 20.00% | $0 | $0 |
The 0% rate covers total taxable income up to $49,450, and 15% up to $545,500 (single). Your other income fills those bands first — the gain only gets the 0% rate on the room your other income leaves under the threshold.
New York starts from your federal adjusted gross income, so the gain is already inside your New York taxable income — and the state applies its ordinary progressive rates to it, with no lower rate for holding the asset longer. On $142,000 of New York taxable income your marginal New York rate is 5.90%, which is why the New York tax on this gain is $2,950 whether the gain is short- or long-term. The federal tax is the only layer that rewards holding longer.
This calculator shows New York State tax only. New York City residents add the city resident tax (3.078% to 3.876%) on the gain as ordinary income, and Yonkers residents pay the 16.75% surcharge on the state tax — neither is included in the figure above. See the Federal Bracket Explorer for the full bracket tables, or the Paycheck Calculator to see the same income as take-home pay.
Your other income of $100,000 is taxed first. The standard deduction is applied once — federally it leaves $83,900 of taxable income before the gain, and $133,900 with it; New York's smaller standard deduction leaves $92,000 before the gain and $142,000 with it. That is why a small gain can owe $0 federally and still owe New York tax: the federal deduction absorbs it, the state one does not.
The NIIT uses your modified adjusted gross income, $150,000 here (other income plus the gain). It only bites above $200,000 for single, and only on the smaller of the gain and the amount over that threshold.
Why does New York tax my long-term gain at a higher rate than the federal government?
Because New York has no preferential rate for long-term gains. The gain flows into your New York taxable income — New York starts from your federal adjusted gross income — and is taxed at the ordinary New York rates, the same as wages. For 2026 those rates run 3.9% to 6.85% for a single filer on taxable income up to $1,077,550, then flat top rates of 10.45% above $1,077,550, 11.10% above $5,000,000, and 11.70% above $25,000,000. The federal tax on the same gain is 0%, 15%, or 20%, so the state layer is often the larger surprise — and New York City residents pay the city resident tax on the gain as ordinary income on top of that.
What are the 2026 federal long-term capital-gains rates?
For 2026, long-term gains (assets held more than one year) are taxed at 0%, 15%, or 20%, depending on your total taxable income (IRS Rev. Proc. 2025-32, section 4.03). A single filer pays 0% on taxable income up to $49,450, 15% up to $545,500, and 20% above that. For married couples filing jointly the thresholds are $98,900 and $613,700; for married filing separately $49,450 and $306,850; for heads of household $66,200 and $579,600. The thresholds apply to total taxable income, not to the gain alone — your other income fills the bands first, and only the room left under each threshold gets the lower rate.
What is the 3.8% net investment income tax, and when does it apply?
The net investment income tax (NIIT) is a 3.8% federal surtax under Internal Revenue Code section 1411. It applies to the smaller of your net investment income or the amount by which your modified adjusted gross income (MAGI) exceeds a threshold: $200,000 for single filers and heads of household, $250,000 for married couples filing jointly, and $125,000 for married filing separately. Those thresholds are written into the statute and are not indexed for inflation, so they have not changed since 2013. The surtax applies to short-term and long-term gains alike, is figured on Form 8960, and sits on top of the income tax shown above — a long-term gain can therefore cost 18.8% or 23.8% federally at the top end (15% or 20% plus 3.8%).
How is a short-term gain different from a long-term gain?
A gain on an asset held one year or less is short-term and is taxed federally as ordinary income, at the 2026 federal rates of 10% to 37% (IRS Rev. Proc. 2025-32, section 4.01). A gain on an asset held more than one year is long-term and gets the 0%, 15%, or 20% rates. New York makes no distinction at all: both are taxed as ordinary income at the New York rates. The difference can be large — for a single filer with a $50,000 gain and $50,000 of other income, the federal tax is $5,167.50 if the gain is long-term but $9,350 if it is short-term, a $4,182.50 difference, while the New York tax is $2,756.75 either way.
Worked example: what tax do I pay on a $50,000 long-term gain?
Take a single filer with a $50,000 long-term gain and $50,000 of other income in 2026. Federal taxable income is $83,900 after the $16,100 standard deduction. The first $15,550 of the gain fills the room left under the $49,450 0% threshold and is taxed at 0%; the remaining $34,450 is taxed at 15%, for a federal tax of $5,167.50. New York taxable income is $92,000 after the $8,000 state standard deduction, and the New York tax on the gain is $2,756.75. MAGI is $100,000, below the $200,000 NIIT threshold, so the 3.8% surtax is $0. Total tax on the gain is $7,924.25, and $42,075.75 of the $50,000 gain is left after tax.
- Federal long-term thresholds and ordinary brackets: IRS Rev. Proc. 2025-32 (§4.03 capital-gains thresholds; §4.01 ordinary brackets; 2026 inflation adjustments, including the One Big Beautiful Bill amendments).
- Net investment income tax: IRS Questions and Answers on the Net Investment Income Tax — 3.8% under IRC §1411; thresholds $200,000 single / head of household, $250,000 married filing jointly, $125,000 married filing separately, not indexed for inflation. MAGI here is approximated as other income plus the gain.
- New York State rates and standard deduction: New York State Department of Taxation and Finance — tax tables and standard deductions. New York taxes capital gains as ordinary income: the gain enters New York taxable income from federal adjusted gross income, with no preferential long-term rate.
Estimates only. This tool provides estimates for informational and planning purposes only. It is not tax, legal, or financial advice, and results should not be used for tax filing. It does not model New York City or Yonkers tax, the primary-home exclusion, collectibles or unrecaptured section 1250 gains (which have their own federal rates), capital-loss carryovers, the alternative minimum tax, or the New York benefit-recapture worksheet. See our disclaimer and consult a qualified tax professional for advice about your situation.