Free course · Module 10
How Stocks Are Taxed
Separate sale proceeds from investment gains. Understand the US basics of holding periods, dividends and losses, then find the rules for your country and account.
Written by the StockEducation Editorial Team · Reviewed by Associate Professor Charles Lo, CPA, PhD · Updated 16 Oct 2026 · How we check lessons
Pick a topic to learn
Read in order, or return to the idea you need.
Idea 1 of 4
Start with the gain, not the sale price.
A sale price is not the same as a taxable gain. For a US capital-asset sale, start with the amount realized and subtract adjusted basis. A positive result is a capital gain; a negative result is a capital loss. Source 1.
In the hypothetical example, net sale proceeds are $1,300 and the shares’ adjusted basis is $1,000. The difference is a $300 gain before any tax calculation. The full $1,300 is not profit.
A price rise while you still own ordinary investment shares is generally unrealized. A sale or another relevant event can change the tax position. A dividend can create income without selling the shares; “I did not sell” is not a complete tax check.
The tax treatment still depends on the country, account, income type and applicable year.
Why adjusted basis may differ from the purchase price
Proceeds, gain and tax owed are three different amounts.
Idea 2 of 4
Check the US holding period and income type.
US tax treatment depends on classification. For ordinary investment capital assets, a holding period of more than one year is generally long-term; one year or less is short-term. Exceptions apply. Source 1.
Net short-term gains generally use ordinary income rates. A lower rate may apply to net long-term gains. A longer holding period does not guarantee a better investment result, and tax should not be the only reason for a trade.
Use the current tax-year rules and your full situation. This introductory page does not supply a personal rate, filing calculation or a forecast of tax savings.
Confirm acquisition and disposal dates, exceptions and the relevant tax year before applying a rate.
How do dividends fit in?
Does a capital loss automatically create a refund?
Classify the income and check the conditions before assuming a benefit.
Idea 3 of 4
Your country and account change the answer.
Do not export a US rule into another tax system. Start with tax residence, the account, the investment and the applicable year. A foreign listing alone does not establish all the rules you must follow.
Tax-advantaged accounts can change treatment, but eligibility, contributions, withdrawals and reporting need their own checks. Cross-border holdings can add withholding and more than one reporting obligation. Get qualified help when more than one system is involved.
For Australia, the UK, Canada and Japan, use the official guidance below. These links are starting points for current rules, not a rate table or a cross-border tax calculator.
Tax residence
Identify the relevant tax system.
Account and income
Check the wrapper and income category.
Current rules
Use the applicable year’s guidance.
A useful comparison begins with the person, account and year—not a headline tax rate.
Australia and the United Kingdom
Canada and Japan
Use the rule for your jurisdiction, account and tax year.
Idea 4 of 4
Try the math and gather the records.
Practice the first step without guessing a tax bill. Adjust net sale proceeds below. The given adjusted basis stays at $1,000, so the illustration shows a gain, loss or zero difference. Costs are already included in the supplied amounts.
Then write down what the arithmetic cannot answer: the relevant jurisdiction, account, holding period, other gains or losses and applicable tax rules. A result below zero does not establish an allowable deduction.
Separate proceeds from gain
Hypothetical · no tax rate$1,300 − $1,000 = $300 gain
US-dollar illustration only. Net proceeds and adjusted basis are given. No dividends, exchange rates, additional costs, loss restrictions, other transactions or tax rate are calculated. This practice does not prepare a return, give advice or mark an LMS lesson complete.
What should be in your investment records?
Calculate the difference. Check the rules. Keep the records.
Quick check
Three quick checks. Feedback straight away.
Net sale proceeds are $1,300 and adjusted basis is $1,000. What is the illustrative gain before tax?
Choose an answer to see the explanation.
Does reinvesting a taxable US dividend automatically make it tax-free?
Choose an answer to see the explanation.
A practice calculation shows a $200 capital loss. What can you conclude?
Choose an answer to see the explanation.
Review your takeaway card and the learning path
- Separate the amounts. Sale proceeds are not all gain, and gain is not tax owed.
- Classify the income. Holding periods, dividends and losses have different rules.
- Use local guidance. Residence, account and tax year change the answer.
- Keep the evidence. Reconcile records before applying a rate or claiming a deduction.
Reading markers and these practice checks stay on this device. They do not mark the LMS lesson complete.
Sources and assumptions
- IRS Topic 409: Capital Gains and Losses. US capital-asset gains, holding-period categories and loss limits. Use applicable-year rules; no rates or thresholds are supplied here.
- IRS Topic 703: Basis of Assets. Acquisition costs, adjusted basis and special acquisition cases.
- IRS Topic 404: Dividends and Other Corporate Distributions. US dividend categories and reporting context.
- IRS Publication 550: Investment Income and Expenses. Dividend reinvestment, wash sales and transaction records. Consult the edition and updates applicable to your year.
- ATO: Shares and Similar Investments. Australian official starting point for share-investment CGT.
- HMRC: Tax When You Sell Shares. UK share disposals, account exemptions and tax-year allowances.
- CRA: Investment Income. Canadian investment-income categories and filing resources.
- Japan NTA: Individual Income Tax. Current official guide and related taxpayer resources.
Sources checked 16 October 2026. US rules are an introduction, not rules for every country or account. International links are research starting points. All dollar examples are hypothetical US-dollar arithmetic with supplied net proceeds and adjusted basis. No personal tax bill, current rate table, return preparation or guaranteed deduction is provided. General education only; consult a qualified tax professional for your circumstances.
StockEducation provides general education, not personal financial, tax or legal advice. Nothing here recommends a specific security. Investing involves risk, including loss of money you invest.
