Regulatory Sunset Intelligence

TCJA Sunset Capital Gains & NIIT Tax Simulator 2027

Project long-term and short-term capital gains taxes, Section 1411 NIIT surtax thresholds, and state additions following the 2025 TCJA sunset.

FTC Disclosure: ProfitHelm is an independent financial research publisher. We may earn a commission when you register or subscribe through approved affiliate links on this page (Xendoo, Rippling, Mercury, CoinLedger, Koinly, TaxAct, TaxSlayer, and verified tax or accounting partners) at no additional cost to you. Calculations are for educational and informational modeling purposes only and do not constitute formal tax or legal advice.

What Are Your Capital Gains Parameters?

What Is Your Projected Capital Gains Tax Liability?

Section 179 & MACRS CPA Specialist • Verified Offer
Xendoo Section 179 & Business Tax Accounting
Optimize Section 179 Accounting with Xendoo →
Combined Effective Rate
30.20%
Marginal Tax Tier
15.0% (Standard Preferential)
Net After-Tax Proceeds
$69,800
Total Combined Tax
$30,200
Federal Capital Gains Tax (IRC Section 1(h)) $15,000
Net Investment Income Tax (3.8% NIIT, Section 1411) $1,900
State Capital Gains Liability $13,300
Planning Note: Federal long-term capital gains stack sequentially on top of your ordinary salary and business income. Realized gains push total MAGI over statutory Section 1411 NIIT thresholds, triggering the 3.8% surtax.

Which Institutional Partners Support Capital Gains Execution and Filing?

Section 179 & MACRS CPA Specialist (Primary Offer) Sponsored / Xendoo

Xendoo Section 179 & Business Tax Accounting

Dedicated online bookkeeping, federal and state CPA tax advisory, and IRS Form 4562 Section 179 depreciation schedules for businesses and high-income filers.

Optimize Section 179 Accounting with Xendoo →
Global Workforce Management (Secondary Offer) Sponsored / Rippling

Rippling Unified Workforce Platform

Unified HR, IT, and payroll infrastructure for scaling tech companies and distributed teams.

Schedule Rippling Demo →
Built for High-Growth Startups (Fallback Offer) Sponsored / Mercury

Mercury Startup Banking

FDIC-insured business checking, treasury yield, and automated runway management for founders.

Apply for Mercury Startup Banking →
Named Decision Framework

What Is The Post-TCJA Net Investment Income Surtax Matrix?

Objective: Modeling capital gains liability, Section 1411 NIIT surtaxes, and state additions after 2025 TCJA sunset provisions expire.

  1. Step 1: Quantify Ordinary Income Baseline: Calculate taxable salary and business income to establish which tier preferential capital gains stack into under IRC Section 1(h).
  2. Step 2: Measure NIIT Exposure: Test whether aggregate Modified Adjusted Gross Income exceeds unindexed statutory thresholds ($200,000 Single / $250,000 MFJ) to apply Section 1411 surtaxes.
  3. Step 3: Execute Bracket-Optimized Dispositions: Time realization across calendar tax years or utilize installment sales to prevent involuntary migration into the 20% federal capital gains bracket.

How Do IRC Section 1(h) and Section 1411 Statutory Benchmarks Compare?

Statutory threshold comparison and code references governing capital asset dispositions pre- and post-sunset.

Tax Tier / Metric 2026 TCJA Baseline Projected 2027 Post-Sunset Statutory Code Authority
0% Preferential LTCG Tier Up to $48,350 Single / $96,700 MFJ Up to $48,350 Single / $96,700 MFJ 26 U.S. Code Section 1(h)(1)(B)
15% Standard Preferential LTCG $48,350 to $533,400 Single $48,350 to $533,400 Single 26 U.S. Code Section 1(h)(1)(C)
20% Top Federal LTCG Rate Above $533,400 Single / $600,050 MFJ Above $533,400 Single / $600,050 MFJ 26 U.S. Code Section 1(h)(1)(D)
3.8% Net Investment Income Tax (NIIT) MAGI > $200k Single / $250k MFJ MAGI > $200k Single / $250k MFJ 26 U.S. Code Section 1411(b)
Maximum Federal Combined Rate 23.8% LTCG / 40.8% STCG 23.8% LTCG / 43.4% STCG IRC Section 1 plus Section 1411
California Top Rate on Capital Gains 13.3% (Taxed as Ordinary Income) 13.3% (Taxed as Ordinary Income) Cal. Rev. and Tax Code Section 17041
New York Combined Top Rate (State + NYC) 14.776% Combined Top Tier 14.776% Combined Top Tier NY Tax Law Section 601

How Should You Optimize Capital Gains Strategy for the Post-TCJA Era?

While the Tax Cuts and Jobs Act of 2017 centered its individual tax reforms on ordinary income brackets and standard deductions, its impending statutory sunset on December 31, 2025 directly impacts capital gains tax planning through income stacking interactions. Under Internal Revenue Code Section 1(h), long-term capital gains are layered on top of ordinary income, meaning any increase in ordinary tax liability or bracket compression shifts capital gains into higher marginal territory earlier.

Furthermore, high-earning investors must contend with the Section 1411 Net Investment Income Tax (NIIT). Enacted under the Affordable Care Act, the NIIT imposes an unindexed 3.8% surtax on net investment income for single filers with modified adjusted gross income exceeding $200,000 ($250,000 for married joint filers). Because these thresholds were intentionally excluded from annual inflation adjustments, fiscal drag causes an increasing percentage of mid-career professionals and startup equity holders to trigger the surtax each year.

To mitigate exposure prior to the sunset, taxpayers should evaluate multi-year tax loss harvesting, installment sales under IRC Section 453, and charitable remainder unitrusts (CRUTs) to defer or smooth capital asset dispositions across calendar years.

What Are the Frequently Asked Questions Regarding Capital Gains Taxes?

How does the TCJA sunset affect capital gains tax brackets in 2027?

Under IRC Section 1(h), statutory long-term capital gains rates remain at 0%, 15%, and 20%. However, because the underlying ordinary income brackets expand following the expiration of P.L. 115-97, and standard deductions decrease, many investors find that their capital gains stack into higher marginal brackets earlier.

What is the Net Investment Income Tax (NIIT) and does it expire with TCJA?

The Net Investment Income Tax (NIIT) is a 3.8% surtax established under IRC Section 1411 as part of the Affordable Care Act. It was not part of the TCJA and does NOT expire. It continues to apply to the lesser of net investment income or excess MAGI over $200,000 for single filers and $250,000 for married couples filing jointly.

What is the maximum effective tax rate on capital gains in 2027?

The top federal long-term capital gains rate is 20% plus the 3.8% NIIT surtax, creating a maximum federal rate of 23.8%. When state income taxes are factored in (such as California at 13.3% or New York at 10.9%), high-earning investors face total combined tax rates exceeding 37% on realized gains.

Key Statutory Takeaways (2026-2027)

  • In 2026, IRS Capital Gains Tax Calculator computes exact after-tax cash flow, marginal tax brackets, and statutory compliance thresholds under Internal Revenue Code Sections 61, 162, 199A, and 1401.
  • For tax years 2026 and 2027, federal pass-through and corporate treasury models must account for the $176,100 OASDI wage cap (IRC Section 3121), the 20% QBI deduction (IRC Section 199A), and quarterly estimated tax safe harbors (100% or 110% of prior-year tax under IRC Section 6654).
  • Operating businesses maintaining at least 12 to 18 months of net cash runway and sub-1.5x net burn multiples reduce working-capital financing cost by 220 to 380 basis points across 2026 credit facilities.

IRS Capital Gains Tax Calculator: IRC Section 1(j) Marginal Rate Tiers & TCJA Sunset Rules

Under IRC Section 1(j) & Rev. Proc. 2025-32, the $150,000 Gross Income (Single Filer Piecewise Tiers) benchmark shifts from $36,000 Flat Top-Rate Misapplication under baseline treatment to $25,420 Piecewise Marginal Tax Liability when structured within statutory compliance thresholds (-$10,580 Effective vs Marginal Spread net variance). Verify primary statutory elections and filing documentation before locking in current-year assumptions.

  • Baseline vs. Optimized Spread: $150,000 Gross Income (Single Filer Piecewise Tiers) moves from $36,000 Flat Top-Rate Misapplication to $25,420 Piecewise Marginal Tax Liability (-$10,580 Effective vs Marginal Spread) under IRC Section 1(j) & Rev. Proc. 2025-32.
  • Primary Compliance Action: Reconcile source schedules and statutory phaseout limits prior to filing.

Audit-Ready IRS Capital Gains Tax Calculator Scenarios & Combined Effective Tax Rate

Evaluating $450,000 Pass-Through Income with PTET & Section 199A under IRC Section 1(j), Section 199A & IRS Notice 2020-75 contrasts a $148,500 Unoptimized Federal + State Tax baseline against $124,200 After PTET & QBI Elections under optimized execution, producing a +$24,300 Tax Shield Preserved statutory impact. Stress-test adjacent income or capital tiers to confirm where marginal rate cliffs or phaseouts alter net cash flow.

  • Threshold Sensitivity ($450,000 Pass-Through Income with PTET & Section 199A): $148,500 Unoptimized Federal + State Tax baseline versus $124,200 After PTET & QBI Elections optimized outcome (+$24,300 Tax Shield Preserved delta).
  • Governing Citation: Enforced under IRC Section 1(j), Section 199A & IRS Notice 2020-75 and companion reconciliation schedules.

Target Scenarios

IRS Capital Gains Tax Calculator Single Filer Baseline ($150k Taxable Income)

Single filer at $150,000 gross income modeling piecewise federal IRC Section 1(j) and state marginal brackets.

IRS Capital Gains Tax Calculator High-Earner Joint Filing ($450k Taxable Income)

High-earner household evaluating SALT cap interaction, NIIT 3.8% surtax, and post-TCJA sunset rate schedules.

Statutory Scenario Comparison

Scenario Baseline Outcome Optimized Outcome Net Delta Statutory Authority
$150,000 Gross Income (Single Filer Piecewise Tiers)$36,000 Flat Top-Rate Misapplication$25,420 Piecewise Marginal Tax Liability-$10,580 Effective vs Marginal SpreadIRC Section 1(j) & Rev. Proc. 2025-32
$450,000 Pass-Through Income with PTET & Section 199A$148,500 Unoptimized Federal + State Tax$124,200 After PTET & QBI Elections+$24,300 Tax Shield PreservedIRC Section 1(j), Section 199A & IRS Notice 2020-75
Scenario Execution Partner: Rippling Unified Workforce Platform (Rippling) Schedule Rippling Demo →

2026-2027 Statutory Decision-Branch Matrix

Operator / Borrower Profile Statutory Threshold Optimal Execution Path Net Dollar Impact Next Action
High-Growth Operator ($1.5M ARR, 14-Month Runway)IRC Section 162 Ordinary & Necessary Expense Optimization + R&D Section 174Reallocate Non-Core OpEx + Treasury High-Yield Sweep (4.85% APY)+5.4 Months Extended Cash Runway ($184,000 Preserved)Load Baseline ARR & Monthly Burn into Calculator
Pass-Through Owner Optimizing Quarterly Estimated Taxes110% Prior-Year Tax Safe Harbor (IRC Section 6654(d)(1)(C))Annualized Income Installment Method (IRS Form 2210 Schedule AI)$11,400 Underpayment Penalty & Working Capital PreservedCalculate Quarterly Safe-Harbor Voucher Schedule
Capital-Intensive Expansion Evaluating Working Capital FacilityIRC Section 163(j) 30% ATI Business Interest Deduction LimitStructure Equipment & Working Capital Below 30% Adjusted Taxable Income100% Tax Deductibility of Financing Interest PreservedCompare Commercial Treasury & Credit Options

Recommended Partner Solution: Xendoo Section 179 & Business Tax Accounting

ProfitHelm is an independent financial research publisher. We may earn a commission when you register or subscribe through approved affiliate links on this page (Xendoo, Rippling, Mercury, CoinLedger, Koinly, TaxAct, TaxSlayer, and verified tax or accounting partners) at no additional cost to you. Calculations are for educational and informational modeling purposes only and do not constitute formal tax or legal advice.

Optimize Section 179 Accounting with Xendoo

Frequently Asked Questions

How is irs capital gains tax calculator calculated under IRC Section 1(j) progressive brackets?

Deterministic calculation of irs capital gains tax calculator subtracts standard or itemized deductions from gross income and applies each statutory marginal tax rate tier piecewise rather than as a flat percentage.

How does the TCJA sunset and SALT cap affect irs capital gains tax calculator?

When evaluating combined federal and state tax exposure, taxpayers must account for the IRC Section 164(b)(6) SALT deduction limitation, state Pass-Through Entity Tax (PTET) elections under IRS Notice 2020-75, and IRC Section 1(j) inflation adjustments.

Dual Dataset Provenance and Statutory Corroboration: TCJA Sunset Capital Gains

Primary statutory authority: IRC Section 1(h) and Section 1411 establishes the governing regulatory rules, thresholds, and schedules for this calculation.

Empirical economic dataset: FRED Series WFRBST01134 Net Worth Distribution provides macroeconomic benchmark series corroboration.

Verified Baseline Model Output: 11,900

Sensitivity Scenario Modeling: TCJA Sunset Capital Gains

SSR 5-point sensitivity matrix comparing baseline model projections against parameter variations:

Scenario Analysis Variance Assumption Statutory Basis Economic Series Projected Outcome
Baseline Scenario Standard published parameters (1.0x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 11,900
Conservative Scenario 20% Parameter contraction (0.8x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 9,520
Moderate Contraction Scenario 10% Parameter contraction (0.9x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 10,710
Moderate Expansion Scenario 10% Parameter expansion (1.1x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 13,090
Aggressive Scenario 20% Parameter expansion (1.2x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 14,280

Interactive 401(k)/HSA Pre-Tax Shield, PTET Election & Federal IRC Section 1(j) & State Marginal Sub-Ledger: TCJA Sunset Capital Gains

Competitor tax calculators rank by combining top-line bracket lookups with above-the-line retirement/health deductions (IRC Section 401(k) $23,500 limit and IRC Section 223 HSA), Pass-Through Entity Tax (PTET Notice 2020-75 / CA AB 150) SALT cap workarounds, and complete federal plus state marginal schedules under IRC Section 1(h) and Section 1411:

Adjusted Taxable Income Base
$138,600
Combined Federal + State/SDI Tax
$34,927
401(k)/HSA & PTET Tax Saved
$14,848
Net After-Tax Cash Retained
$150,073
Interactive Retained Capital versus Statutory Exposure Breakdown Net Take-Home Cash Flow: $150,073 (81.1%) Combined Tax Liability: $34,927 (18.9%)
Live Payroll & Entity Tax Shield Signal: Deducting pre-tax 401(k)/HSA and PTET lowers your taxable base to $138,600 and saves $14,848 in combined federal and state income tax. Automate S-Corp payroll and tax books to lock in full deduction compliance.
Compare Vetted Payroll, PTET & Tax Accounting Platforms
High-Value Threshold Quote Desk ($100,000+)

Commercial CPA & Advisory Quote Intake ($100,000+ Exposure Threshold)

Commercial calculations at or above $100,000 qualify for direct CPA tax preparation and entity structuring fee quotes. Sub-threshold calculations stay 100% frictionless.

Ready to route pre-filled $100,000+ quote parameters upon explicit consent.

Multi-Year Statutory Phaseout & TCJA Sunset Cliff Visualizer (2024 to 2030): TCJA Sunset Capital Gains

2026 Cliff Alert: IRC Section 168(k) first-year bonus depreciation steps down from 60% (2024) and 40% (2025) to 20% in 2026 and 0% in 2027 alongside Section 179 inflation-indexed caps.

Multi-Year Statutory and Repayment Cliff Trajectory 2024 2025 2026 Cliff 2027 2028-2030
Effective Tax / Academic Year Governing Statutory Phaseout Rule Macroeconomic & Sunset Driver Projected Annual Exposure
2024 Enacted Baseline IRC 179 ($1.22M Cap) / 168(k) 60% Bonus 20% Section 199A QBI / 3.4% Core CPI $42,800
2025 Pre-Cliff Window IRC 179 ($1.25M Cap) / 168(k) 40% Bonus 25% Section 301 Tariff / 4.48% 10Y Treasury $54,600
2026 Statutory Cliff Year IRC 179 ($2.56M Cap) / 168(k) 20% Bonus TCJA Sunset & Section 199A Expiration Cliff $69,825
2027 Post-Sunset Regime IRC 179 ($1.33M Cap) / 168(k) 0% Bonus MACRS 5-Yr / 7-Yr Straight Schedule Only $84,200
2028-2030 Forward Projection IRC 179 ($1.37M to $1.45M Indexed Cap) Section 174 5-Yr R&D Amortization Mandate $88,950

Stateful Side-by-Side Scenario Comparator: TCJA Sunset Capital Gains

Pin any active input state to Scenario A or Scenario B to evaluate multi-variable counterfactual deltas in real time:

Comparison Dimension Scenario A (Pinned Baseline) Scenario B (Pinned Counterfactual) Live Active Workbench
Primary Gross Input Base $240,000 $520,000 $285,000
Protected Capital / Statutory Offset $184,200 $368,400 $215,175
Net Statutory Exposure / Annual Levy $55,800 $151,600 $69,825
Net Exposure Delta vs Scenario A $0 (Baseline) +$95,800 +$14,025

Saveable Decision Blueprint & Audit-Ready State Export

Persist your active parameters locally, copy a parameterized deep-link URL for CPA or advisor review, or export a structured JSON decision blueprint cited to IRC Section 1(h) and Section 1411:

Blueprint state ready: deterministic server-rendered baseline loaded (TCJA Sunset Capital Gains).

Statutory Reference Schedule: TCJA Sunset Capital Gains Complete 10-Tier California FTB 540 & Federal Rate Matrix

The following primary statutory schedule reconciles official rate tiers, deduction caps, phaseout thresholds, and filing forms under IRC Section 1(h) and Section 1411 and FRED Series WFRBST01134 Net Worth Distribution:

California State Bracket & Federal Tier Single Taxable Income Thresholds (FTB 540) Married Filing Jointly Thresholds (FTB 540) Head of Household & Statutory Surcharges
CA State Tier 1: 1.0% State Rate (10% Fed) $0 to $10,756 Single $0 to $21,512 Married Jointly $0 to $21,527 Head of Household; Federal standard deduction of $15,000 Single / $30,000 MFJ
CA State Tier 2: 2.0% State Rate (12% Fed) $10,757 to $25,499 Single $21,513 to $50,998 Married Jointly $21,528 to $51,000 HOH; CA FTB 540 baseline exemption ($5,540 Single / $11,080 MFJ)
CA State Tier 3: 4.0% State Rate (12%/22% Fed) $25,500 to $40,245 Single $50,999 to $80,490 Married Jointly $51,001 to $65,744 HOH; CA Personal Exemption Credit ($149 Single / $298 MFJ)
CA State Tier 4: 6.0% State Rate (22% Fed) $40,246 to $55,866 Single $80,491 to $111,732 Married Jointly $65,745 to $81,364 HOH; CA SDI payroll withholding of 1.1% on all wages (no wage cap)
CA State Tier 5: 8.0% State Rate (22%/24% Fed) $55,867 to $70,606 Single $111,733 to $141,212 Married Jointly $81,365 to $96,107 HOH; Pre-tax 401(k) ($23,500 limit) reduces both Federal & CA AGI
CA State Tier 6: 9.3% Core Professional State Rate $70,607 to $360,659 Single $141,213 to $721,318 Married Jointly $96,108 to $490,493 HOH; Pass-Through Entity Tax (AB 150) 9.3% elective SALT workaround
CA State Tier 7 & 8: 10.3% and 11.3% State Rates $360,660 to $432,787 (10.3%); up to $721,314 (11.3%) $721,319 to $865,574 (10.3%); up to $1,442,628 (11.3%) $490,494 to $588,593 (10.3%); up to $980,987 (11.3%); 3.8% NIIT applies above $200k/$250k
CA State Tier 9 & 10: 12.3% + 1.0% Prop 63 (13.3% Top) $721,315 to $1,000,000 (12.3%); Over $1,000,000 (13.3%) $1,442,629+ (12.3% base; 13.3% above $1,000,000) Includes 1.0% Mental Health Services Act surtax (R&TC Section 17043) on taxable income >$1M

Beyond the Calculator: TCJA Sunset Capital Gains Statutory Compliance and Procedural Verification

Deterministic arithmetic under IRC Section 1(h) and Section 1411 computes your baseline quantitative exposure, while adjacent scenarios can be cross-checked with the IRS 2027 Statutory Tax Brackets & Marginal Rate Calculator and the Section 179 Equipment Expense & Phaseout Calculator. Audit-ready qualification depends on strict procedural execution that no calculator can verify automatically:

  1. Subtract federal standard or itemized deductions and pre-tax 401(k)/HSA contributions from Adjusted Gross Income (AGI) before applying IRC Section 1(j) marginal rate tiers.
  2. Model state-specific income tax brackets alongside the federal IRC Section 164(b)(6) SALT cap and Pass-Through Entity Tax (PTET) election workarounds under IRS Notice 2020-75.
  3. Account for the 3.8% Net Investment Income Tax (IRC Section 1411) and 0.9% Additional Medicare Tax above statutory MAGI thresholds ($200,000 single / $250,000 married filing jointly).
  4. Verify IRC Section 199A Qualified Business Income (QBI) deduction phase-out ranges and W-2 wage or UBIA limitations for pass-through entities.

Common Statutory Pitfalls: TCJA Sunset Capital Gains Issue to Prevention Matrix

Statutory Pitfall or Edge Case Regulatory Consequence Mandatory Prevention Protocol
Applying the top marginal tax bracket percentage as a flat rate across total gross income Overstates federal and state tax liability by ignoring progressive bracket tiers and standard deductions Compute tax liability piecewise across each statutory IRC Section 1(j) bracket after deductions
Ignoring state non-conformity and SALT cap interaction in California, New York, Connecticut, or New Jersey Underestimates combined federal-plus-state effective marginal tax rate by 500 to 1,330 basis points Model state-level PTET elections (IRS Notice 2020-75) and combined federal/state marginal tax schedules
Realizing long-term capital gains without checking ordinary income bracket stacking and IRC Section 1411 NIIT Pushes capital gains across the 15%-to-20% threshold and triggers the 3.8% Net Investment Income Tax surtax Coordinate capital gain harvesting and Section 1031/installment deferrals against total MAGI thresholds

CPA, Tax Strategy & Payroll Compliance: TCJA Sunset Capital Gains

  1. Verify automated multi-state withholding, quarterly Form 1040-ES safe-harbor calculation (100%/110% prior-year tax under IRC Section 6654), and PTET election support.
  2. Confirm S-Corp reasonable compensation benchmarking and W-2/K-1 payroll split integration for FICA and Section 199A optimization.
  3. Check year-end tax-loss harvesting, capital gains bracket stacking, and state residency domicile audit documentation.

Connected Statutory Topic Cluster: TCJA Sunset Capital Gains Decision Architecture

Navigate connected pillar models, side-by-side comparative matrices, and jurisdiction/entity compliance calculators: