Free Capital Gain Tax Calculator Online
Calculate your 2026 short-term and long-term capital gains tax liabilities based on your income, filing status, and asset purchase/sale prices.
Inputs
Results
Related Calculators
Calculations and Holding Periods for Capital Gains
Investing in financial markets or real estate is a primary wealth builder. However, when you sell an asset for a profit, you realize a capital gain. This guide outlines how the holding period and your income affect your tax liability.
Formula for Net Capital Gain
Your net capital gain is the difference between the sale price $S$ and your cost basis $B$ (adjusted purchase price):
$$\\text{Net Capital Gain} = S - B$$
Tax Rates and Holding Periods
- Short-Term Gains: Assets held for 1 year or less are taxed at ordinary progressive income tax rates:
$$T_{\\text{short}} = \\text{Net Gain} \\times r_{\\text{ordinary}}$$
- Long-Term Gains: Assets held for more than 1 year are taxed at preferential rates of 0%, 15%, or 20%:
$$T_{\\text{long}} = \\text{Net Gain} \\times r_{\\text{preferential}}$$
Worked Example
An investor sells stock held for 2 years for $25,000. They originally purchased it for $10,000. Their annual taxable income is $60,000, and they file as Single:
- Net Capital Gain = $25,000 - $10,000 = $15,000.
- Holding Period = Long-Term (held > 1 year).
- Find the tax rate: A single filer earning $60,000 falls in the 15% long-term bracket (income range $48,350 to $533,400).
- Calculate tax liability: $15,000 * 15% = $2,250.
- Since their combined income ($75,000) is below the $200,000 threshold, no NIIT (3.8%) applies.
- Net proceeds = $25,000 - $2,250 = $22,750.
Tax Loss Carry-Forwards
If you experience investment losses that exceed your gains, you can use those losses to offset up to $3,000 of ordinary income. Any remaining net capital losses can be carried forward indefinitely to offset future tax years' capital gains.
2026 U.S. Tax Compliance & Financial Planning Glossary
Navigating the complex landscape of federal and state taxes requires a clear understanding of financial concepts, IRS guidelines, and wealth preservation strategies. Below is a comprehensive glossary and strategic planning guide for individual taxpayers, investors, and business owners in 2026.
1. Individual Tax Mitigation & Income Optimization
Minimizing tax liability is a key goal of financial planning. Tax mitigation strategies focus on lowering your Adjusted Gross Income (AGI) through pre-tax retirement accounts, health savings options, and strategic deduction selections.
- Adjusted Gross Income (AGI): Your total gross income from all sources (wages, interest, dividends, business profits) minus specific "above-the-line" deductions, such as student loan interest, educator expenses, and traditional IRA contributions. AGI is the starting point for calculating your tax brackets.
- Pre-Tax Retirement Contributions: Contributions made to traditional 401(k) or traditional IRA accounts are deducted from your gross income, reducing your taxable income for the year. In 2026, the traditional 401(k) contribution limit is adjusted for inflation, allowing high earners to shield significant income from current-year taxation.
- Roth Retirement Accounts: Unlike traditional accounts, Roth IRAs and Roth 401(k)s are funded with after-tax dollars. While you receive no immediate tax deduction, all future investment growth and retirement distributions are 100% tax-free, serving as an excellent hedge against future tax rate hikes.
- Health Savings Accounts (HSAs): Often called the ultimate tax shelter, HSAs offer a triple tax advantage. Contributions are tax-deductible, funds grow tax-free, and withdrawals are tax-free when used for qualified medical expenses. If you hold HSA funds until age 65, they can be withdrawn for non-medical purposes subject to ordinary income taxes, acting similarly to a traditional IRA.
2. Small Business & Self-Employed Compliance
Independent contractors, freelancers, and small business owners face unique tax challenges, including self-employment taxes, quarterly estimated payments, and business entity structuring.
- Self-Employment Tax (Schedule SE): A 15.3% payroll tax representing the combined employer and employee shares of Social Security (12.4%) and Medicare (2.9%). It is calculated on 92.35% of net sole proprietorship profits. In 2026, the Social Security portion is capped at the first $176,100 of earnings.
- Estimated Quarterly Taxes (Form 1040-ES): Because self-employment income is not subject to automatic payroll withholdings, business owners must estimate their tax liabilities and submit payments to the IRS four times a year. Failure to make sufficient quarterly payments can trigger underpayment penalties and interest charges.
- Qualified Business Income (QBI) Deduction (Section 199A): A tax break allowing eligible sole proprietors, partners, LLC members, and S-Corp shareholders to deduct up to 20% of their qualified business income on their personal tax returns, subject to phase-out limits based on income and occupation.
- S-Corporation Tax Election: An election (Form 2553) that allows an LLC or corporation to split business profits into an owner's W-2 salary and shareholder distributions. Because distributions are exempt from the 15.3% self-employment tax, this strategy can save owners thousands of dollars annually, provided they pay themselves a "reasonable salary."
3. Investment, Capital Gains, & Estate Legacy Planning
Wealth accumulation involves managing tax liabilities on investment portfolios, real estate, and capital transfers to heirs.
- Capital Gains Tax Rates: Profits from selling assets (stocks, bonds, real estate, crypto) held for over one year are taxed at preferential long-term rates (0%, 15%, or 20%) rather than standard progressive ordinary income brackets. Assets held for one year or less are taxed as short-term gains at standard ordinary rates.
- Tax-Loss Harvesting: The practice of selling underperforming investments at a loss to offset capital gains realized during the tax year. If capital losses exceed gains, you can use up to $3,000 of losses to offset ordinary income, carrying the remainder forward into future tax years.
- Net Investment Income Tax (NIIT): An additional 3.8% tax applied to net investment income (dividends, interest, capital gains, rental income) for individuals with modified AGI exceeding $200,000 (Single) or $250,000 (Married Joint).
- Lifetime Gift and Estate Tax Exemption: The cumulative total of cash and assets you can gift during your lifetime or leave to heirs at death before paying federal estate taxes. Under the Tax Cuts and Jobs Act provisions sunsetting in 2026, the exemption limit is estimated at $7 million per individual, meaning estate planning is increasingly critical for affluent families.
Frequently Asked Questions (FAQ)
What are capital gains?
Capital gains are profits realized from the sale of a non-inventory asset, such as stocks, bonds, real estate, or cryptocurrency, that was purchased for a lower price.
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held for 1 year or less and are taxed as ordinary income. Long-term capital gains apply to assets held for over 1 year and qualify for lower preferential tax rates (0%, 15%, or 20%).
What are the long-term capital gains tax rates for 2026?
The long-term tax rates are 0% for lower-income filers, 15% for middle-income filers, and 20% for high-income filers. The brackets are adjusted annually based on filing status.
What is the Net Investment Income Tax (NIIT)?
NIIT is a 3.8% tax on net investment income (including capital gains, interest, dividends) for individuals with modified adjusted gross income (MAGI) over $200,000 (Single) or $250,000 (Married Joint).
How does tax-loss harvesting work?
Tax-loss harvesting involves selling losing investments to offset realized capital gains, reducing your overall capital gains tax liability.
Can capital losses offset ordinary income?
Yes, if capital losses exceed capital gains, you can offset up to $3,000 of ordinary income per year. Remaining losses can be carried forward to future tax years.
Is primary residence sale subject to capital gains tax?
The Section 121 exclusion allows individuals to exclude up to $250,000 (Single) or $500,000 (Married Joint) of capital gains from the sale of their primary home if they lived in it for 2 of the past 5 years.
Are collectible assets taxed differently?
Yes, long-term capital gains realized on collectibles (like art, coins, antiques) are subject to a maximum federal tax rate of 28% rather than standard rates.
What is tax basis?
Tax basis (or cost basis) is the original purchase price of the asset plus commissions, acquisition fees, and improvements, used to calculate net capital gains.
Does this estimate state capital gains tax?
No, this calculator only estimates federal capital gains and NIIT liabilities. Most states tax capital gains as ordinary income.
Are cryptocurrency trades subject to capital gains?
Yes, the IRS treats cryptocurrency as property. Exchanging crypto for USD, stablecoins, or another token is a taxable event subject to capital gains tax.
Is my financial calculation private?
Yes. FastCalc.tools runs client-side calculations entirely. No data is stored or transmitted.