Personal Finance • Investment Tax

Capital Gains Tax Estimator (Short-Term vs. Long-Term)

Calculates total tax owed and net after-tax proceeds on realized stock, ETF, real estate, or crypto gains across short-term vs. long-term holding periods and state/NIIT surtaxes.

Calculator Workspace
Builder
Analysis & Stress Tests
Quick Scenario Presets
Private • Client-Side

Browser Scenario Vault

How This Calculator Works & Financial Methodology

Assets held for 1 year or less are taxed as short-term capital gains at your ordinary federal income tax rate (up to 37%), whereas assets held longer than 1 year qualify for preferential long-term capital gains rates (0%, 15%, or 20%). High earners above the statutory MAGI threshold also owe the 3.8% Net Investment Income Tax (NIIT) plus applicable state income taxes.

Net After-Tax Capital Gain Formula

Net Proceeds = Sale Price - [(Sale Price - Cost Basis) × (Federal Cap Gains Rate + State Rate + NIIT 3.8%)]

Frequently Asked Questions

You must hold the stock, ETF, real estate, or cryptocurrency for more than one year (at least 1 year and 1 day) from the purchase date to the sale date.
NIIT adds 3.8% federal surtax on net investment income when Modified Adjusted Gross Income exceeds $200,000 (Single) or $250,000 (Married Filing Jointly).
Yes, realized capital losses offset realized capital gains dollar-for-dollar, and up to $3,000 of excess net losses per year can offset ordinary W-2 income.
To claim a tax loss on stocks or ETFs, you cannot buy the same or a substantially identical security within 30 days before or after the sale.

Explore the Complete Suite of 48+ Financial Tools

From loan amortization to business break-even and live gold bullion rates, RichQuill provides comprehensive online calculators for every stage of your financial journey.

Browse All Calculators →

Embed This Calculator

Embed this interactive Capital Gains Tax Estimator (Short-Term vs. Long-Term) directly on your blog, financial portal, or client resource page. It is 100% free with the included attribution backlink.