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.

Cost Basis

The original value of an asset for tax purposes, used to calculate capital gains or losses when you sell.

UPDATED June 2026 — Definitions reviewed for accuracy

Definition: The original value of an asset for tax purposes, used to calculate capital gains or losses when you sell.

Cost basis is what you originally paid for an investment, including commissions and reinvested dividends. Accurate cost-basis tracking is essential because it determines your taxable gain when you sell. Reinvested dividends raise your basis, so forgetting to count them is a common way investors accidentally overpay taxes.

Formula

How it’s calculated

Taxable gain = sale proceeds − cost basis.

Example

You buy 100 shares at $20 ($2,000) and reinvest $150 of dividends. Your cost basis is $2,150, so selling for $3,000 produces an $850 taxable gain, not $1,000.

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