---
title: "An Investor When You Sell an Investment at a Gain?"
description: "Selling an investment at a gain creates a taxable capital gain: gains on assets held one year or less are taxed at ordinary income rates."
canonical: https://www.getswoopr.com/scenario-analysis/tax-scenarios/what-happens-to-an-investor-when-you-sell-an-investment-at-a-gain/
source: "Swoopr Investment: https://www.getswoopr.com"
---

Selling an investment at a gain creates a taxable capital gain: gains on assets held one year or less are taxed at ordinary income rates, while gains on assets held longer than one year are taxed at the lower long-term rates of 0%, 15% or 20%. This is general education about U.S. federal tax rules, not tax advice.





      


# What Happens to an Investor When You Sell an Investment at a Gain?








## Key Takeaways



- Selling an investment at a gain creates a taxable capital gain: gains on assets held one year or less are taxed at ordinary income rates, while gains on assets held longer than one year are taxed at the lower long-term rates of 0%, 15% or 20%.
- The mechanism: The gain is the sale price minus the cost basis.
- The main swing factor: holding period, one year or less versus longer.
- This describes U.S. federal income tax for individual investors. State taxes, individual circumstances and later law changes can change the result, and the page is general education, not tax advice.








## How It Works



The gain is the sale price minus the cost basis. The holding period decides which rate applies, and higher earners may also owe the 3.8% net investment income tax. A gain in a tax-deferred account such as an IRA is not taxed until withdrawal.








## What Usually Happens



Selling an investment at a gain creates a taxable capital gain: gains on assets held one year or less are taxed at ordinary income rates, while gains on assets held longer than one year are taxed at the lower long-term rates of 0%, 15% or 20%.



The tax is due for the year of the sale.








## What Could Make the Outcome Different



- Holding period, one year or less versus longer
- The investor's taxable income
- State income tax



Tax outcomes depend on the details of each case, such as the type of account, the holding period and the investor's income, so the same event can have different results for different people.








## Who Is Affected



### Who tends to benefit



- Investors who hold more than a year
- Investors in lower brackets who may owe no tax on long-term gains



### Who tends to be hurt



- Short-term traders in high brackets
- High earners also subject to the net investment income tax








## Frequently Asked Questions





What Happens to an Investor When You Sell an Investment at a Gain?




Selling an investment at a gain creates a taxable capital gain: gains on assets held one year or less are taxed at ordinary income rates, while gains on assets held longer than one year are taxed at the lower long-term rates of 0%, 15% or 20%. The gain is the sale price minus the cost basis.









Why can the result differ from the usual direction?




Three common reasons are: holding period, one year or less versus longer; the investor's taxable income; state income tax.









Does this apply to every situation?




This describes U.S. federal income tax for individual investors. State taxes, individual circumstances and later law changes can change the result, and the page is general education, not tax advice.












## References



- [IRS: Topic no. 409, Capital gains and losses](https://www.irs.gov/taxtopics/tc409)
- [IRS: Topic no. 559, Net investment income tax](https://www.irs.gov/taxtopics/tc559)








## Related Reading



- [Scenario Analysis hub](https://www.getswoopr.com/scenario-analysis/)
- [Investment Tax Scenarios](https://www.getswoopr.com/scenario-analysis/tax-scenarios/)










## About the author



The [Swoopr Editorial Team](https://www.getswoopr.com/authors/swoopr-editorial-team/) writes Swoopr Investment's educational library, covering macroeconomic events, market structure, and the mechanics behind how markets respond to changing conditions.



Our [editorial policy](https://www.getswoopr.com/legal/editorial-policy/) and [corrections policy](https://www.getswoopr.com/legal/corrections-policy/) set out how this content is produced, reviewed and fixed when it is wrong.
