Capital Gains Tax Basics describe how the United States taxes profit earned when you sell an asset for more than you paid for it. Assets include stocks, bonds, mutual fund shares, exchange traded fund shares, real estate and some collectibles.
This guide explains the key terms, how gains are calculated, the difference between short and long holding periods, and how losses can offset gains. It is educational only and does not recommend buying or selling any investment. Tax rules change, so verify current figures with the IRS or a qualified tax professional.
What a Capital Gain Actually Is
A capital gain is the profit you earn when you sell a capital asset for more than your basis in that asset. Basis is generally what you paid for the asset, including certain purchase costs.
If you bought shares for a total of 500 dollars and later sold them for 700 dollars, the difference of 200 dollars is your gain before any tax applies.
The reverse situation produces a capital loss. Selling the same shares for 400 dollars would create a 100 dollar loss. The IRS treats gains and losses from investment sales under a common framework, which is why the basics matter to anyone who buys and sells securities or property.
Gains are generally taxed only when they are realized, meaning when you actually sell or otherwise dispose of the asset. An increase in value that you have not yet sold is not taxed as income in the year it occurs, though it is still important to track for future reporting.
Realized Versus Unrealized Gains
An unrealized gain is an increase in an investment’s value that exists on paper but has not been locked in by a sale. Your brokerage statement may show a large unrealized gain, yet no capital gains tax is due on that amount while you keep holding the asset.
A realized gain occurs when you close out a position. Selling shares, exchanging one fund for another, or receiving certain distributions can trigger realization. Once a gain is realized, it becomes part of your taxable activity for the year and must be reported.
Keeping this distinction clear helps investors understand timing. Because taxes generally follow realization, the decision of when to sell can have a direct effect on the tax year in which gains are reported.
Short Term and Long Term Holding Periods
The length of time you own an asset before selling it determines how its gain is classified. In the United States, this classification affects the tax rate that may apply. The two main categories are commonly described as follows.
- Short term capital gains apply to assets held for one year or less before being sold.
- Long term capital gains apply to assets held for more than one year before being sold.
- The holding period generally begins the day after you acquire an asset and ends on the day you sell it.
- Long term gains are often taxed at lower rates than short term gains, which are typically taxed as ordinary income.
- The exact rates and income thresholds are set by federal tax law and adjusted over time, so check current figures with the IRS.
Because holding period affects the rate, many investors track purchase dates carefully. Your brokerage usually reports whether a sale was short or long term on Form 1099-B. Still, reviewing those dates yourself can prevent mistakes, especially when you hold shares bought at different times.
How Capital Gains Are Calculated
The basic calculation subtracts your basis from the amount you receive when selling, after deducting selling costs such as brokerage commissions where applicable. Suppose an investor buys 10 shares at 20 dollars each, for a basis of 200 dollars, and sells all 10 shares at 30 dollars each for 300 dollars. The gain is 100 dollars.
When you own shares bought at different prices, you may need to identify which shares were sold. Methods such as first in, first out, specific identification or average cost can produce different gain amounts. Your broker typically tracks cost basis, but you should confirm that the figures match your records.
Mutual fund and dividend reinvestments can complicate basis because each reinvestment may add new shares at a different price. Keeping records of these purchases helps ensure the gain is not overstated.
How Capital Losses Offset Gains
Capital losses can reduce capital gains. If your total losses exceed your total gains for the year, the net loss can often be used to offset other income up to an annual limit set by federal law, with any remaining loss carried forward to later years.
The specific limit and rules are set by the IRS, so confirm them with a tax professional.
Short term losses are generally applied first against short term gains, and long term losses against long term gains. Any remaining amounts from each group are then combined. This netting process is a central part of how the tax is computed each year.
Keep in mind that the wash sale rule can disallow a loss if you buy a substantially identical security within a set period before or after the sale. Review those rules before harvesting losses.
Key Terms You Will Encounter
Several terms appear repeatedly in capital gains reporting. Knowing what each one means makes tax forms and brokerage statements easier to read and reduces the chance of errors when preparing your return.
Basis
Basis is the starting point for measuring gain or loss. For most purchased assets it equals the purchase price plus certain costs of acquisition. Inherited and gifted assets follow different basis rules that can change the calculation significantly.
Accurate basis records are important because the IRS may ask you to prove what you paid. Brokerage firms track basis for many accounts, but older holdings, transfers between firms and reinvested dividends may require extra attention.
Proceeds
Proceeds are the total amount you receive from a sale before subtracting basis. For stocks, proceeds are generally the sale price multiplied by the number of shares, reduced by commissions or fees that are part of the transaction.
Your broker reports proceeds on Form 1099-B, which typically arrives early in the year following a sale. Comparing that form with your own records is a useful habit, since mismatches can result from corporate actions or transfers.
Capital Asset
A capital asset is most property you own for personal use or investment, including stocks, bonds, and real estate held as an investment. Certain items, such as business inventory, are generally excluded from the definition.
Knowing whether an asset qualifies helps determine how its sale is reported. The IRS publications explain the categories in detail, and a tax professional can help you classify unusual holdings.
Common Mistakes Beginners Make
One frequent error is forgetting to report sales that were not reported on a broker form, such as transfers or sales made through a different firm. Keeping your own transaction log throughout the year can catch these gaps before you file.
Another mistake is ignoring reinvested dividends and capital gain distributions from funds. Each reinvestment raises basis for the new shares, and failing to include it can lead to paying tax twice on the same money. Careful recordkeeping prevents this problem.
Some investors assume that moving money between accounts creates no tax consequence. Selling inside a taxable account is a taxable event, while certain transfers within retirement accounts generally are not, so the account type matters greatly.
Where to Find Reliable Information
The IRS publishes official guidance on capital gains and losses, including instructions for Schedule D and Form 8949. These documents explain how to report sales and calculate netting. Reviewing the current year’s instructions is wise because figures and rules are updated periodically, and the official IRS publications are the authoritative source for any specific reporting question you may have.
The SEC’s investor education site, Investor.gov, offers plain language information about investing basics and how securities are taxed in general. FINRA also provides investor education resources on trading and account types, which can help you understand the broader context behind the transactions you report.
For personal situations, consult a qualified tax professional. Tax outcomes depend on your full income, filing status, state rules and other details that general articles cannot address.
Practical Steps for Keeping Good Records
Good records make capital gains reporting far simpler. The following habits can help you stay organized throughout the year and avoid stressful searches later.
- Save trade confirmations and monthly or annual brokerage statements for every taxable account.
- Record the purchase date, cost, and any reinvestment amounts for each holding.
- Note transfers between brokers, since basis and holding period may carry over but need verification.
- Keep documents for inherited or gifted assets, including appraisals or records of the original owner’s basis.
- Review Form 1099-B each year and compare it with your own records before filing.
Tax software and spreadsheets can help you track these details. Whatever tool you use, consistency matters most. Reviewing your records at least once a year, rather than only at filing time, usually makes the process more accurate and less time consuming.
Planning Ahead With Confidence
Understanding capital gains basics gives you a clearer picture of how each sale will be taxed. Before selling, consider your holding period, your existing gains and losses for the year, and whether the timing fits your broader financial goals. These considerations are educational and not a recommendation to buy or sell any particular asset.
Some investors work with a qualified, fiduciary financial professional who can review their full situation, including tax exposure. A fiduciary is obligated to act in the client’s best interest. Such a professional can coordinate investment decisions with tax planning.
As rules and figures change, make a habit of checking current IRS guidance each year. Staying informed and organized is one of the most practical ways to manage capital gains responsibly.