Why does XTB require PIT-38?
XTB is a Polish broker, so it issues you a PIT-8C — for 2026, by 1 Mar 2027 (art. 39 ust. 3 and art. 42g ust. 1 of the PIT Act). The PIT-8C amounts go in PIT-38 on the line “Przychody wykazane w części D informacji PIT-8C” (revenue shown in part D of PIT-8C) — Twój e-PIT fills it in itself from 15 February. If you calculate in our calculator, compare the result with the PIT-8C and do not enter the same trades a second time on the “Inne przychody” (other revenue) line.
PIT-38 is the annual return for income from selling shares, ETFs, bonds, derivatives and crypto (art. 30b of the PIT Act); the rate is 19% (the so-called Belka tax). Foreign dividends and interest go to part G of the same return. Polish dividends on which the payer already withheld the tax are not reported.
Read the complete PIT-38 guide →How to export data from XTB?
To file PIT-38, you need to export the full transaction history from XTB for the entire tax year.
Step by step:
- 1Log in to the xStation 5 platform on your computer
- 2Go to the "History" tab in the bottom panel
- 3Select the date range by clicking the calendar (e.g., from January 1 to December 31)
- 4Right-click on any transaction from the list
- 5From the context menu select "Export to Excel (XLSX)" — recommended. You can also pick CSV if your version of the platform offers that option
- 6Save the generated report to your disk and upload it to the calculator — the broker will be detected automatically
Tip: For FIFO method, export history from the first purchase of shares that you still hold or sold in the reporting year.
How to calculate PIT-38 tax for XTB?
PIT-38 tax calculation consists of several steps:
- 1Import file from XTB: Use our calculator to import the exported file.
- 2System automatically: Applies FIFO method, converts currencies to PLN using NBP rates, calculates tax.
- 3You will receive a summary: Ready to transcribe to the PIT-38 form.
Use our calculator
Our calculator automatically performs all calculations for you. Just import the file from XTB.
Start calculationsHow to fill in the PIT-38 form?
Filling in PIT-38 form with data from XTB:
- 1File PIT-38 through Twój e-PIT (e-Urząd Skarbowy) or e-Deklaracje.
- 2Enter personal data and tax year.
- 3Enter income and costs from the summary generated by the calculator.
- 4Calculate tax (19% of income).
Frequently asked questions
Do I have to report all transactions from XTB?
Yes. In PIT-38 you report all sales and closed positions at XTB for the year — including those at a loss: a reported loss can be deducted in later years.
Are XTB commissions deductible?
Yes, commissions are a cost of revenue and reduce taxable income. The calculator automatically includes commissions.
Other popular broker tax calculators
Compare broker pages with step-by-step PIT-38 and PIT-ZG filing guides.
Related guides
Ready to file PIT-38 from XTB?
Use our calculator to automatically compute your tax. Just import the file from XTB - the system will automatically apply FIFO, convert currencies and generate a summary ready to transcribe to PIT-38.
Up to 50 transactions free • No credit card