14.3 Capital gains tax and currency accounting
- How a sale's gain is calculated for tax
- How the exchange rate changes the tax base
- How FIFO and average cost differ
Swipe the cards: left for next, right for back. On a computer — arrow keys ← →.
The tax base on a sale
- Purchase: 20 shares at $40 + a $2 fee = $802
- Sale: 20 shares at $55 − a $2 fee = $1,098
- Gain: 1,098 − 802 = $296
Until you sell, a price rise is an unrealised gain; most countries don't tax it. But rules differ: some countries tax the growth in value of certain funds even without a sale. Another reason to check your own country's law.
Currency accounting
Many countries require the gain to be calculated in their own currency: the purchase is converted at the rate on the purchase date and the sale at the rate on the sale date. The country's central bank official rate is usually used. Because of this, the result in dollars and in your currency can differ a lot.
- Purchase: $1,000 at $1 = €0.90 → €900
- Sale: $1,100 at $1 = €0.80 → €880
- In dollars: +$100; in euros: 880 − 900 = −€20
- Purchase: $1,000 at €0.80 → €800
- Sale: $950 at €0.95 → €902.50
- In dollars: −$50; in euros: +€102.50
Which shares you sold
If you bought the same security several times at different prices, on a partial sale you need to decide which shares were sold. The method is often set by your country's law.
| Method | Purchase cost | Gain |
|---|---|---|
| FIFO — first bought | 10 × 50 = $500 | 900 − 500 = $400 |
| Average cost | 10 × 65 = $650 | 900 − 650 = $250 |
A teaching example: 10 shares bought at $50 and another 10 at $80 (average $65), 10 sold at $90 = $900. The broker states its method in the report — check it against what your country requires.
Losses
In many countries losses on sales reduce gains on other sales in the same year, and sometimes can be carried forward. Conditions vary — from a full ban to a 10-year carry-forward. There are also rules against “artificial” losses: selling and quickly buying back the same security may not count.
Keep confirmations of all purchases, including old ones and those made at a previous broker: without the purchase cost, tax may be charged on the whole sale amount.
Key terms
- Capital gain · Прирост капитала
- the profit from selling an asset above its cost
- Realised gain · Реализованная прибыль
- a gain locked in by a sale
- Tax base · Налоговая база
- the amount on which tax is calculated
- FIFO (first in, first out) · FIFO
- the first shares bought are treated as the first sold
- Loss carry-forward · Перенос убытка
- using a loss in later years
Typical beginner mistakes
- Calculating the gain only in dollars when the law requires your currency.
- Forgetting fees in the purchase and sale cost.
- Not knowing which method the broker uses.
- Losing confirmations of old purchases.
Summary
- Gain = sale − purchase − fees; tax usually comes after a sale.
- Converting at the trade-date rates can turn a gain into a loss and vice versa.
- FIFO and average cost give different bases; the method is often set by law.
- In many countries losses reduce gains; the rules differ.
Data sources
- IRS, Publication 519: foreigners not present in the US for 183 days or more in the year generally pay no US tax on capital gains from selling shares — the country of residence decides the tax.
- The rates, deadlines and countries in the examples are for teaching. Tax rules differ by country and change: check them on your country's tax authority website or with a tax adviser. This material is not tax or legal advice.
Educational material. Not individual investment, legal or tax advice.
You bought 30 shares at $20 with a $1 fee and sold them all at $25 with a $1 fee. What's the taxable gain if fees reduce the base?
Purchase: 600 + 1 = 601. Sale: 750 − 1 = 749. Gain: 749 − 601 = $148.
A purchase of $1,000 at $1 = €0.92, a sale for $1,200 at $1 = €0.85. What's the gain in euros?
Purchase: €920. Sale: €1,020. Gain: €100.
10 shares bought at $30, then 10 at $60. 10 sold at $70. What gain does FIFO give?
The $30 shares are sold first: 700 − 300 = $400. Average cost would give 700 − 450 = $250.
1. When does capital gains tax usually arise?
But some countries have exceptions for funds.
2. Why can a gain in dollars turn into a loss in your currency?
The rate may have changed a lot between the dates.
3. Which rate is usually used for conversion?
But the rule is set by your country's law.
4. What is FIFO?
The method is often set by law.
5. Do fees reduce the tax base?
They're added to the cost and subtracted from the sale.
6. What may happen to a loss if you quickly buy back the same security?
There are rules against “artificial” losses.
7. Why keep confirmations of old purchases?
Especially when securities were transferred from another broker.
Lesson test
Correct answers and explanations appear once you finish the test.
All steps are done. Go on to the next lesson or back to the outline.
Next lesson →Course outline🔔 Remind me in Telegram