← Back to calculator

How the Calculations Work

A plain-English guide to the main German tax rules for ETFs and funds at foreign brokers

Dies ist keine Steuerberatung im Sinne des Steuerberatungsgesetzes. Bei konkreten Fragen wenden Sie sich an einen Steuerberater oder das Finanzamt.

This is not tax advice within the meaning of the German Tax Advisory Act. Always verify with your tax advisor or the Finanzamt before filing. Calculation helper only — not a German Steuerbescheinigung.

This calculator is built for German tax residents holding investments at foreign brokers (IBKR, DEGIRO, Revolut, eToro, Saxo) — brokers that don't apply German tax automatically. If your broker is German (e.g., Trade Republic, Scalable Capital, Comdirect), they handle this for you and you don't need this tool.

Dieser Rechner richtet sich an deutsche Steuerpflichtige mit Konten bei Auslandsbrokern (IBKR, DEGIRO, Revolut, eToro, Saxo) — Broker, die keine deutsche Kapitalertragsteuer automatisch abführen. Bei deutschen Brokern (z. B. Trade Republic, Scalable Capital, Comdirect) erfolgt das automatisch und dieses Tool ist nicht nötig.

Overview

German tax residents who hold investment funds (ETFs, mutual funds) through foreign brokers are responsible for reporting their investment income to the German tax authorities. Unlike German brokers, foreign brokers do not automatically withhold taxes or provide German tax documents.

This tool helps you work out the values you may need for your annual tax return, especially for the ELSTER forms Anlage KAP-INV (investment funds) and Anlage KAP (other capital income).

The sections below explain the main ideas behind the calculations.

Vorabpauschale (Advance Lump Sum)

What it is

The Vorabpauschale is a yearly taxable amount for investment funds. It means that Germany can tax part of the fund return each year, even if the fund does not pay out cash.

The amount for one year is treated as received on January 2 of the next year. So the Vorabpauschale for 2024 belongs to tax year 2025.

The formula

The calculation follows these steps:

1. Basisertrag = January 1 value × Basiszins × 0.7
2. Mehrbetrag = (Dec 31 value − Jan 1 value) + Distributions
3. Vorabpauschale = min(Basisertrag, Mehrbetrag) − Distributions

In simple terms, the formula compares a standard base return with the fund's actual return for the year. The lower value is used, then distributions are subtracted. The result cannot go below zero.

Basiszins (Base Interest Rate)

The Basiszins is published annually by the German Federal Ministry of Finance (Bundesfinanzministerium). It is derived from long-term government bond yields. When the Basiszins is zero or negative, no Vorabpauschale is charged for that year.

Year Basiszins VP charged?
20180.87%Yes
20190.52%Yes
20200.07%Yes
2021-0.45%No
2022-0.05%No
20232.55%Yes
20242.29%Yes
20252.53%Yes
20263.20%Yes

Pro-rata for mid-year purchases

According to § 18 Abs. 2 InvStG, if fund shares are acquired during the year, the Vorabpauschale is reduced proportionally. The reduction is 1/12 for each full month before the purchase month.

Pro-rata factor = (13 − purchase month) / 12

Examples: January purchase = 12/12 (full year), June purchase = 7/12, December purchase = 1/12.

Multiple purchases and savings plans

If you bought the fund several times during the year, each purchase technically has its own pro-rata calculation.

The precise calculation would require the fund's January 1 NAV and your exact share amounts. This tool uses a practical approximation and works with the invested amounts instead.

Approximation note: For mid-year purchases, this tool uses the invested amount rather than (January 1 NAV × shares). This is a reasonable approximation when fund prices don't change dramatically within the year, but may slightly over- or underestimate the actual Vorabpauschale.

Teilfreistellung (Partial Exemption)

To avoid double taxation (funds already pay taxes at the fund level), a portion of the income from investment funds is tax-exempt. The exemption rate depends on the fund type:

Fund Type Exemption Taxable
Equity funds (Aktienfonds)30%70%
Mixed funds (Mischfonds)15%85%
Real estate funds (Immobilienfonds)60%40%
Foreign real estate funds80%20%
Other funds (Sonstige)0%100%

A fund qualifies as an equity fund (Aktienfonds) if it continuously holds at least 51% equities. Mixed funds (Mischfonds) require at least 25% equities. The fund's documentation (KIID/KID) typically states the applicable Teilfreistellung rate.

Capital Gains Tax Rate

Germany applies a flat tax (Abgeltungsteuer) on capital income:

Capital gains tax: 25.00%
Solidarity surcharge: 5.5% of the tax = 1.375%
Total: 26.375%

Church tax (Kirchensteuer) may apply additionally (8-9% of the capital gains tax, depending on the state). This tool does not include church tax in its calculations.

Selling Fund Shares

Basic calculation

When selling fund shares, the taxable gain is:

Taxable gain = Sale proceeds − Purchase cost (cost basis)

Sale adjustment (KAP-INV line 53)

On sale, the key adjustment is the eligible KAP-INV line 53 amount for the shares sold. It is based on prior Vorabpauschalen, but it is not automatically the full fund-level history.

Capital gain = Proceeds − Cost basis
Taxable after line 53 = Capital gain − eligible line-53 amount
Final taxable = Taxable after line 53 × (1 − Teilfreistellung rate)

In practice, that amount must match the shares sold now and exclude any part already used on earlier partial sales. If you bought at different times, FIFO allocation matters, and this app does not calculate that exactly.

Where the Numbers Go in ELSTER

Funds in ELSTER (Anlage KAP-INV)

This form is for reporting income from investment funds. Distributions and the Vorabpauschale are reported in different lines depending on the fund type:

LineContent
Ausschüttungen (Distributions)
Zeile 4Equity funds (Aktienfonds)
Zeile 5Mixed funds (Mischfonds)
Zeile 6Real estate funds (Immobilienfonds)
Zeile 7Foreign real estate funds
Zeile 8Other funds (Sonstige)
Vorabpauschale
Zeile 9Equity funds (Aktienfonds)
Zeile 10Mixed funds (Mischfonds)
Zeile 11Real estate funds (Immobilienfonds)
Zeile 12Foreign real estate funds
Zeile 13Other funds (Sonstige)

Enter the Vorabpauschale before any partial tax exemption. The tax office applies that exemption later.

The app shows the main KAP-INV lines and lets you enter the sale offset manually in the sale wizard. It does not generate the detailed KAP-INV worksheet lines 46-56 automatically.

Other capital income in ELSTER (Anlage KAP)

This form is for your other capital income, such as interest, dividends, stock sales, bond sales, and derivatives from foreign sources:

LineContent
Zeile 17Allowance already used elsewhere, if relevant
Zeile 19Interest, dividends, and gains
Zeile 20Stock sale gains only
Zeile 21Derivative gains currently captured by the tool
Zeile 22Other sale losses currently captured by the tool
Zeile 23Stock sale losses currently captured by the tool
Zeile 24Derivative losses currently captured by the tool
Zeile 25Not supported by the tool
Zeile 40Foreign tax already credited
Zeile 41Foreign tax you still need to claim, including the current fund-distribution foreign-tax input
Zeile 42Fictive foreign tax

Current Limits

The tool is useful for common cases, but the following limits still apply:

  • Mid-year purchase approximation: For purchases made during the year, the invested amount is used as an approximation rather than the exact January 1 NAV multiplied by shares.
  • Fund holding model is still simplified: The current app does not model top-up purchases into an already-existing holding during the same year, exact FIFO lots, or same-year ETF/fund buy-and-sell round-trips.
  • Pre-2018 fund sales are outside the current scope: Old-share rules (Alt-Anteile / pre-2018 acquisition cases) are not modeled yet.
  • Line 25 / default-loss cases are unsupported: Non-collectability, write-offs, and worthless-asset loss events are not modeled as ordinary bond or fund sales.
  • Worthless investment-unit failures are unsupported: The current sale wizard is for ordinary post-2018 mainstream fund sales, not for worthless-unit or other total-failure events that ELSTER routes outside the ordinary KAP-INV sale lines.
  • Tax-free capital repayments are not modeled separately: If they occurred, they reduce acquisition cost and must be reflected manually in the cost basis.
  • Church tax not included: The calculations do not include Kirchensteuer, which varies by state and religious affiliation.
  • Sparer-Pauschbetrag only partly modeled: The app supports a manual filing-context input for KAP line 17, but it does not calculate your remaining allowance or model the full filing context.
  • Foreign-tax scope is still limited: The app can now separate explicit non-fund inputs into ELSTER lines 40, 41, and 42, but it does not decide for you which treatment is legally correct. Fund-distribution foreign tax is currently modeled only for line 41.
  • Loss offsetting: The tool does not handle loss carryforwards or offsetting between different types of capital income.
  • Currency conversion: All values should be entered in EUR. Currency conversion from foreign currencies must be done separately using appropriate exchange rates.

Summary

German investment taxation mainly comes down to yearly fund taxation (Vorabpauschale) and tax on sales. The key formulas are:

  • Vorabpauschale = min(Jan 1 value × Basiszins × 0.7, Mehrbetrag) − distributions, where Mehrbetrag = price change + distributions
  • Pro-rata reduction for mid-year purchases: (13 − month) / 12
  • Teilfreistellung reduces taxable amounts by 15-80% depending on fund type
  • Tax rate: 26.375% (25% + solidarity surcharge)
  • For sales, the relevant adjustment is the eligible KAP-INV line-53 amount for the shares sold

The resulting values can be used as a guide when filling out Anlage KAP-INV and Anlage KAP in ELSTER.