By Ziv Shay | Updated June 2026

Fact-checked for accuracy Reviewed by Ziv Shay Updated June 2026

Sources: IRS, SEC, Federal Reserve, U.S. Bureau of Labor Statistics & U.S. Census Bureau. See our editorial standards.

Capital Gains

The profit you make when you sell an investment for more than you paid for it.

UPDATED June 2026 — Definitions reviewed for accuracy

Definition: The profit you make when you sell an investment for more than you paid for it.

A capital gain is the difference between an asset’s sale price and its purchase price (cost basis). Gains on assets held longer than a year qualify for lower long-term capital gains tax rates (0%, 15%, or 20%), while assets held a year or less are taxed at higher ordinary income rates. Holding investments longer is rewarded by the tax code.

Formula

How it’s calculated

Capital gain = sale price − cost basis.

Example

Buy a stock for $5,000 and sell it three years later for $8,000, and you have a $3,000 long-term capital gain taxed at the favorable long-term rate rather than your ordinary income rate.

Related Terms

← Back to the full investing glossary

About the AuthorZiv Shay is a software engineer and fintech enthusiast based in Israel, building free financial tools since 2024. Learn more

The content on this page is for informational purposes only and should not be considered financial advice. Rates, terms, and offers are subject to change. We may earn a commission through affiliate links at no extra cost to you. See our full disclaimer.

© 2024–2026 AIHowToInvest.com | About | Contact | Privacy | Terms | Disclaimer