Gain = (Sale Price - Purchase Price) x Shares
Long-term gains (held > 1 year) are taxed at 0%, 15%, or 20%. Short-term gains are taxed at your ordinary income rate.
Capital gains are the profits you earn when you sell an investment for more than you paid for it. They represent the increase in the value of a capital asset -- such as stocks, bonds, real estate, or mutual funds -- that is realized when the asset is sold. Capital gains are one of the primary ways investors build wealth over time through appreciation in asset values.
The tax treatment of capital gains depends on how long you held the investment before selling. Assets held for more than one year qualify for long-term capital gains tax rates, which are typically lower than ordinary income tax rates. Assets held for one year or less are subject to short-term capital gains taxes, which are taxed at your regular income tax rate.
Long-term capital gains enjoy preferential tax treatment in most countries. In the United States, long-term capital gains are taxed at 0%, 15%, or 20% depending on your taxable income and filing status. These favorable rates incentivize long-term investing and can significantly reduce your tax burden compared to short-term trading. For example, a taxpayer in the 32% income bracket who realizes a $10,000 long-term gain would pay only $1,500 in tax (15%) versus $3,200 for a short-term gain.
Short-term capital gains are taxed as ordinary income, which means rates range from 10% to 37% in the US depending on your total taxable income. This higher tax rate is an important consideration for active traders and those considering selling investments held for less than a year. Tax-loss harvesting, where you sell losing investments to offset gains, is a common strategy to minimize capital gains taxes.
There are several legal strategies to minimize your capital gains tax liability. Holding investments for more than one year to qualify for long-term rates is the most straightforward approach. Tax-loss harvesting allows you to offset gains with losses from other investments, reducing your net taxable gain. You can also time your sales to occur in years when your income is lower, potentially qualifying for the 0% long-term capital gains rate.
Contributing to tax-advantaged accounts such as IRAs, 401(k)s, and Health Savings Accounts can shield your investments from capital gains taxes entirely. Charitable giving of appreciated assets allows you to avoid capital gains tax while receiving a tax deduction for the donation. Consulting with a qualified tax advisor can help you develop a comprehensive strategy tailored to your specific financial situation.
This calculator provides estimates based on general US federal capital gains tax rates and should not be considered tax advice. Actual tax liability may vary based on state taxes, the Net Investment Income Tax (3.8% surcharge for high earners), and other factors specific to your situation. Capital losses can offset capital gains dollar-for-dollar, and up to $3,000 in net capital losses can be deducted against ordinary income each year, with any excess carried forward to future tax years.
Remember that cost basis calculations can be complex, especially if you purchased shares at different times and prices. Methods like FIFO (First In, First Out), specific identification, and average cost can all affect your calculated gain. Always keep accurate records of your investment transactions and consult with a tax professional for personalized guidance.