Estimate your 2026 federal capital gains tax on stocks, real estate, crypto, and other assets.
A capital gain is the profit you make when you sell an asset (stocks, real estate, crypto, or other investments) for more than you paid for it. Capital gains are taxed differently depending on how long you held the asset. Short-term gains (assets held one year or less) are taxed as ordinary income at your marginal tax rate. Long-term gains (assets held longer than one year) are taxed at preferential rates of 0%, 15%, or 20%, depending on your taxable income.
Enter the purchase price (cost basis), the sale price, your filing status, your taxable income, and whether the gain is short-term or long-term. The calculator shows your capital gain amount, the applicable tax rate, the tax owed, and your net proceeds after tax. For investments with reinvested dividends or multiple purchase lots, use the total cost basis across all shares.
Long-term (held > 1 year): 0% for single filers with taxable income up to $49,450; 15% for income $49,451 to $546,650; 20% for income above $546,650. An additional 3.8% Net Investment Income Tax (NIIT) applies to investment income above $200,000 for single filers ($250,000 for married filing jointly). Short-term (held 1 year or less): Taxed at your ordinary income rate, which can be as high as 37%. The Tax Bracket Calculator shows your marginal rate.
Assets held for one year or less are taxed at your ordinary income rate (up to 37% in 2026). Hold them for more than a year and the rate drops to 0%, 15%, or 20% depending on your income. For most people, that means a 15% long-term rate vs. a 22-32% short-term rate. The difference is significant enough that timing your sales around the one-year mark can save thousands.
This calculator computes your capital gains tax for both short and long-term scenarios, including the 3.8% Net Investment Income Tax that applies above certain income thresholds. Enter your purchase price, sale price, holding period, and filing status for a complete breakdown.