Currency conversion

For German tax, your result counts in euros, not dollars. Purchase and sale are converted separately, each at the rate of its own day (§ 20 Abs. 4 S. 1 Hs. 2 EStG). capi.tax uses the euro reference rate published by the Deutsche Bundesbank and converts every line of your export automatically – purchases, sales, dividends, interest, withholding tax and fees.

What does the law say about conversion?

§ 20 Abs. 4 S. 1 EStG defines the gain on a sale: proceeds minus acquisition cost minus transaction costs. Its second half-sentence adds, for trades in a foreign currency: the proceeds are converted to euros at the time of sale, the acquisition cost at the time of purchase.

That leads to the key point of this page: the gain is not first calculated in dollars and then converted. Instead, each side of the trade is converted to euros on its own, and only then is the difference taken. For ongoing income such as dividends and interest, the rate on the day of receipt applies.

Which exchange rate does capi.tax use?

capi.tax uses the euro reference rate of the European Central Bank as published by the Deutsche Bundesbank in its time series. The law does not prescribe a particular rate; the ECB reference rate is accepted in practice. Your broker's rates – such as fxRateToBase in an IBKR Flex Query – are deliberately not used. There are two reasons: a single, officially published rate is easy for the tax office to verify, and it is the same for every broker.

How the conversion works in detail:

  • Rate direction: The Bundesbank quotes "1 EUR = x USD". A dollar amount is therefore divided by the rate. At a rate of 1.0850 USD/EUR (example value), $1,000.00 = 1,000 / 1.0850 = €921.66.
  • Reference date: in practice the trade date counts, not the settlement date. For a currency sale under § 23 EStG (calculated for IBKR) on the last two bank business days of the year, the settlement date may fall in the next year; capi.tax stays with the trade date and points this out in the results.
  • Weekends and holidays: reference rates exist only on business days. If a trade falls on a day without a rate, capi.tax uses the last rate published before it.
  • Every line on its own: fees are also converted at the rate of their own day, and in their own currency if the broker charges them in a different currency from the trade.
  • Euros stay euros: trades in euros are not converted.

All rates are built into capi.tax; nothing is fetched from the internet for the conversion. The audit trail shows the rate used for every trade.

Worked example: a gain in euros although the price stayed the same

All rates are example values. You buy 50 shares at $200.00 each and sell them months later at the same price. In dollars you neither gained nor lost.

Dollars Rate (USD/EUR) Euros
Purchase $10,000.00 1.0850 €9,216.59
Sale $10,000.00 1.0250 €9,756.10
Result $0.00 +€539.51

The dollar strengthened between purchase and sale, so each dollar buys more euros at the sale than at the purchase. For tax purposes that is a €539.51 gain on the share, even though your broker shows $0.00.

It works the other way too. If the dollar weakens to 1.1500 by the sale, the proceeds are worth only €8,695.65 – a €520.94 loss, again with a $0.00 result in dollars.

The hidden currency effect in share gains

The example shows that every gain or loss on a dollar security automatically contains the exchange rate movement between purchase and sale. It is not reported separately but is part of the share, option or fund result – and so it ends up on the same Anlage KAP line and in the same loss pot as the trade itself.

For you this means:

  • A share gain in euros can be larger or smaller than in dollars – or even change sign. A share with a $300.00 gain can produce a loss in euros if the dollar fell sharply over the same period.
  • You do not need to declare this effect separately. It is already included in the euro result.
  • For short positions it works the same way, just with the days reversed: the premium or proceeds are converted at the opening day's rate, the buyback at the closing day's rate.

That is why the result in capi.tax almost always differs from the realised gain in your broker report: the broker calculates in dollars, or converts the dollar gain at a single rate.

Dividends, interest and withholding tax

Ongoing income is converted at the rate of the day it is booked. Example at 1.0800 USD/EUR: a $100.00 gross dividend becomes €92.59, and $15.00 of US withholding tax becomes €13.89. Both appear in euros in your results. How withholding tax is credited is explained under Foreign withholding tax.

What about gains on the dollar balance itself?

A foreign-currency trade can affect your tax in a second, separate way. If you hold dollars as a balance in your broker account, that balance is itself an asset. If it is non-interest-bearing and you part with it at a gain within one year of acquiring it – by exchanging it into euros or, on the prevailing view, already by buying a dollar security with it – this is a private sale transaction under § 23 Abs. 1 S. 1 Nr. 2 EStG: Anlage SO, tax-free after a holding period of more than one year. The proceeds of a securities sale also count as acquiring dollars, so you do not need to exchange back into euros for this to apply. If the balance is interest-bearing, the tax authorities instead treat currency gains as capital income on Anlage KAP, with no holding period; that view is disputed.

capi.tax calculates this second path for Interactive Brokers (FIFO per currency) and shows the result on the Forms tab in the “Currency gains” section. Both rules are computed: § 23 EStG for a non-interest-bearing balance, § 20 EStG for an interest-bearing one. The § 20 result is included in the Anlage KAP lines and in loss offsetting; the § 23 result also flows into the total of the “Anlage SO – private disposals” section; for 2021 to 2025 the section also shows the Anlage SO line you transfer that total to. Such a calculation depends on the holding period of every single dollar amount and therefore on your entire account history: upload earlier years too, otherwise a missing balance looks like a negative balance. For Tastytrade, capi.tax does not calculate currency gains because the export lacks the euro cost of the deposited dollars; you get a notice about it. What you need to know – such as the exemption limit for private sale transactions and the order in which dollar amounts count as used – is under Currency gains (§ 23).

How individual purchases and sales are matched against each other is explained in The FIFO method.

No tax advice - data preparation only — This tool prepares your transaction data and does not constitute tax advice. Calculations run automatically based on your broker exports. Responsibility for your tax return stays with you; for questions about your own case, a tax advisor or a Lohnsteuerhilfeverein can help. For liability, see § 6 of the terms.

Modern tax preparation
for German investors

Security

  • Financial data stays in your browser
  • No tax advice
  • Report a vulnerability: security@capi.tax

capi.tax is an independent tool and is not affiliated with, endorsed by or sponsored by any broker named here (Interactive Brokers, Tastytrade, DEGIRO / flatexDEGIRO, LYNX, CapTrader). Names and logos belong to their owners and are used only to identify the supported file formats.

© 2026 capi.tax – Data preparation tool. This is not tax advice. Consult a tax advisor for questions. · 743b310