Capital Gains Tax Calculator

Last Updated: November 6, 2026

Computes tax on realized investment profits based on holding period (under 1 year = ordinary income rates; 1+ year = preferential 0%, 15%, or 20% rates) plus the 3.8% Net Investment Income Tax (NIIT) for high earners.

Investments & Capital Gains Verified 2025/2026

Capital Gains Tax Calculator

Calculate taxes on short-term vs. long-term capital gains from stocks, cryptocurrency, and real estate.

Calculation Inputs

2025 (IRS Rev. Proc. 2024-40)
$
$
$

Calculating your estimate...

How This Estimate Works

Computes tax on realized investment profits based on holding period (under 1 year = ordinary income rates; 1+ year = preferential 0%, 15%, or 20% rates) plus the 3.8% Net Investment Income Tax (NIIT) for high earners.

Key Assumptions & Rules

  • Long-term brackets: 0% up to $48,350 (Single) / $96,700 (MFJ); 15% up to $533,400 (Single) / $600,050 (MFJ); 20% above.
  • Applies 3.8% NIIT if Modified AGI exceeds $200,000 (Single) or $250,000 (MFJ).

Official Tax Sources

Last Reviewed: November 2026
  • IRS Topic No. 409 (Capital Gains and Losses)
  • Internal Revenue Code Section 1(h) & Section 1411 (NIIT)
Educational & Planning Disclaimer Tax calculations and estimates provided on StateWiseTax.com are strictly for educational and planning purposes. They do not constitute legal, tax, accounting, or investment advice. Tax laws change frequently, and local municipal regulations or individual tax circumstances may alter your filing liability. Always consult a licensed Certified Public Accountant (CPA), Enrolled Agent (EA), or qualified tax attorney before making tax decisions or filing returns.