Polish PIT-38 and PIT-ZG Calculator for Expats | Podatek Giełdy
Podatek Giełdy helps Polish investors and Polish expats living abroad file PIT-38 and PIT-ZG. Import reports from IBKR, Revolut, Trading 212, XTB, and more, apply FIFO and NBP exchange rates automatically.
Automated processing of broker reports, calculations following documented methodological assumptions, and auxiliary summaries for PIT-38 and PIT/ZG — ready for your own verification in minutes.
For investors who are Polish tax residents — including Poles abroad who keep Polish tax residence

Hundreds of transactions. Foreign brokers. Multiple currencies. FX rates. Manual work takes hours.
Broker reports have hundreds of rows. Which transactions need reporting? How to convert currencies?
Matching buy and sell transactions. Tracking cost basis across years. NBP rate lookups.
Manually processing 200 transactions, looking up NBP rates, calculating foreign tax credits takes days.
Tax advisors charge significant fees for investment tax filing. And you still need to prepare the data.
Other tools skip micro-transactions and automatic PIE rebalancing. The difference can be tens of PLN in tax — and you're the one responsible before the tax office.
A wrong NBP rate, missed dividend, or FIFO error — and the tax office charges interest. Manual filing carries too much risk.
Stock tax calculation shouldn't be stressful.
Let us handle the calculations — you focus on investing.
Instead of days in Excel, get complete tax documentation automatically.
instead of 20+ hours of manual work
NBP rate conversions
included per Art. 30b — no micro-sells skipped
over every transaction
Check if your broker is the cheapest
Transaction summary
All transactions classified and calculated
PIT-38 data
Ready to submit via e-filing system
PIT-ZG data
Foreign income and tax credit calculations
Detailed breakdown
Full calculation transparency
Simple process in 4 steps
Upload CSV or Excel files with transactions from your broker.

Algorithm classifies transactions, fetches NBP rates, calculates taxes.
Review clear summaries with full control over data.

Download PIT-38, PIT-ZG, and detailed transaction reports.

Compare commissions and FX fees of the most popular brokers in Poland. The comparison is informational only and does not constitute a recommendation regarding the choice of broker, brokerage service or financial instrument.
| Broker | Commissions | FX Fee | Total |
|---|---|---|---|
| Trading 212 | 0 PLN | 150 PLN | 150 PLN/ year |
| Interactive Brokers | 200 PLN | 0 PLN | 200 PLN/ year |
| XTB | 0 PLN | 500 PLN | 500 PLN/ year |
Trading 212
Commissions
0 PLN
FX Fee
150 PLN
Total
150 PLN
Interactive Brokers
Commissions
200 PLN
FX Fee
0 PLN
Total
200 PLN
XTB
Commissions
0 PLN
FX Fee
500 PLN
Total
500 PLN
Example calculated using the analyzer's fee schedules: 50 purchases of US stocks per year at 2,000 PLN each (turnover 100,000 PLN). Actual costs depend on your portfolio, account and plan with the broker.
Also compares crypto exchanges: Binance, Coinbase, Bybit & more
We support the major brokers used by investors who are Polish tax residents
Interactive Brokers
CSV
Revolut
CSV, PDF
Trading 212
CSV
XTB
XLSX, CSV
Admiral Markets
CSV
Binance
XLSX
Bybit
CSV
Capital.com
CSV, PDF
Charles Schwab
CSV
Coinbase
CSV
Coinbase Card
CSV
DEGIRO
CSV
eToro
CSV, XLSX
Exante
CSV
Fidelity
CSV
Freedom24
CSV, XLSX
Just2Trade
XLSX
Lime International
XLSX
Lynx
CSV
mBank eMakler
CSV, XLSX
Orbex
HTML, XLSX
Quo Markets
XLSX
Robinhood
CSV
Saxo Bank
XLSX, CSV
Tastytrade
CSV
Tradit
CSV
Automatic format recognition • Data validation • NBP average rates fetched automatically
Learn the rules for PIT-38, PIT-ZG and the specifics of different investment types
PIT-38 is an annual tax declaration for individuals who earned income from the sale of securities, company shares, derivatives and cryptocurrency (virtual currencies).
The tax rate is 19% on income (revenue minus deductible costs). Filing deadline: by April 30 of the year following the tax year. On the Professional plan, after calculation you can open a PIT-38 preview and save it as PDF.
When selling securities, the FIFO method (First In, First Out) applies — you sell the ones purchased earliest first.
Foreign currency amounts are converted at the average NBP rate from the last business day before the day the income arose or the cost was incurred (art. 11a) — for shares, in practice, before the settlement day.
You can deduct: purchase price, brokerage commissions, transaction fees, currency conversion fees.
A loss from a given year is deducted from income over the next 5 years: once, up to PLN 5 million, in one of them, or at most 50% of the loss per year (art. 9 ust. 3).
On the Professional plan, after calculating your tax you can open a preview of the PIT-38 form in a layout close to the official template and save it as a PDF.

Our calculator automatically applies the FIFO method and converts NBP rates.
PIT-ZG is an attachment to the PIT-38 return that you usually file when you have income (not a loss) from selling securities whose source is abroad — one per country. What counts is where the company or fund is based, not the broker. Foreign dividends and interest do not go into it: they belong in Section G of PIT-38. Our calculator reports CFDs and forex only in PIT-38, without PIT-ZG, and adds crypto to PIT-ZG only once you indicate the country.
It shows the gain and the tax paid in that country, and PIT-38 then deducts that tax from the Polish one (a tax credit) to avoid double taxation.
The country where you earned the gain may tax it
In Poland the capital gains tax rate is 19%
You deduct the tax paid abroad — at most up to the part of the Polish tax that falls on that gain
You pay the difference in Poland
If you invest in American companies, fill out the W-8BEN form at your broker. Thanks to the double taxation treaty, the withholding tax on dividends drops from 30% to 15%. Dividends are reported in section G of PIT-38, not in PIT-ZG.
Our system automatically assigns foreign gains to countries and prepares the PIT-ZG data.
Using foreign brokers (Interactive Brokers, Trading212, Revolut, eToro) does not exempt you from the obligation to file taxes in Poland. As a Polish tax resident, you must independently file PIT-38.
Unlike Polish brokers (XTB, mBank, Bossa), foreign brokers do not send PIT-8C to the tax office — you must collect the data and file independently.
The largest broker for advanced investors
Popular among beginners, zero commission
Polish broker, but requires independent tax filing
Dutch broker with low commissions
Fintech with investment features
Social trading platform
US broker with crypto and stocks
Since 2019, cryptocurrency (virtual currencies) in Poland is taxed at a 19% rate on income. You file on the PIT-38 form, along with other capital gains.
Income is the difference between the sale revenue and the cryptocurrency acquisition cost.
Acquisition costs of virtual currencies are recognised separately from the moment income is realised (art. 22 sec. 14-16 of the Polish PIT Act). The FIFO method that applies to shares does not apply to virtual currencies — excess costs may be carried over to the following tax year.
Foreign currency transactions (e.g. USD on Binance) are converted at the average NBP rate from the last business day before the transaction day.
You can deduct: virtual-currency acquisition price, exchange commissions, transaction fees. This service does not handle settlement of mining costs — for such costs please consult a licensed tax advisor.
Rewards from staking, yield farming and other forms of DeFi may require additional analysis. In case of doubt, we recommend consulting a tax advisor.
Step-by-step guides: where to get the report, whether the broker issues PIT-8C and what goes into PIT-38.
Answers to the most important questions about the service, calculations and security
What is the Polish stock market tax and how do I file it?
The Polish stock market tax (known as the 'Belka tax') is a flat 19% tax on capital income. You report gains on stocks, ETFs, derivatives and crypto yourself in PIT-38 by April 30 of the following year, and with a gain from a foreign source you usually attach PIT-ZG. Dividends and interest from abroad also go into PIT-38 (Section G). On Polish dividends and interest from a Polish bank the payer has already withheld the 19%, so you do not report them (unless the tax was not withheld — then Pos. 46). Our app automatically processes your broker reports and prepares all the data you need to fill out the PIT-38 form via the Twój e-PIT online service.
How do calculations work?
System imports broker reports, classifies transactions, fetches NBP rates from the last business day before the settlement day of the trade, applies the FIFO method to securities, and calculates tax. You can verify every calculation step.
How much does it cost?
The Starter plan is free: import, PIT-38 and PIT/ZG calculations and a text report (TXT) for one tax year and files from one broker, up to 50 transactions. The Professional plan costs 149 PLN as a one-time payment (access until 31 July) — it removes these limits, saves your data to your account and adds a preview of the PIT-38 and PIT/ZG forms with saving to PDF. See the pricing page.
When should I start?
System works in real-time. You can use it anytime, even close to deadline. However, we recommend starting early for verification.
Can I have multiple brokers?
Yes — on the Professional plan, the system combines data from multiple brokers. On the Starter plan, you import files from one broker.
Is this service tax advisory?
No. The service is solely a software tool for automatic data processing and calculation generation. It does NOT constitute tax advisory service under the tax advisory act. The user bears full responsibility for verifying results and the correctness of submitted declarations.
Who is responsible for calculation errors?
The user bears sole responsibility for the correctness of data entered into the system and for verifying generated calculations. The service operator is not responsible for tax decisions or potential penalties. Details are in the Terms of Service.
Are the calculations guaranteed by the Ministry of Finance?
No. The system uses generally accepted calculation methods (FIFO, NBP rates), but the results are for informational purposes only. Official interpretations are issued by tax authorities (KIS). In case of doubt, we recommend consulting a tax advisor.
What if the tax office questions my calculation?
The user is solely responsible before the tax office. We recommend keeping complete source documentation (broker reports, confirmations). In case of an audit, you can present detailed reports generated by the system as supporting material.
Can I correct errors after submitting the declaration?
Yes. You can submit a correction to the PIT-38 declaration at any time before the tax obligation expires. Correction requires independent action by the taxpayer — the service does not submit declarations on your behalf.
Who is the service NOT intended for?
The service is not suitable for: individuals conducting business activities in financial instrument trading, institutional entities, persons with very complex tax structures requiring individual analysis, non-tax residents of Poland.
Why do my results differ from another calculator?
Other calculators may skip micro-transactions (e.g. automatic sells during PIE rebalancing in Trading212). Art. 30b of the PIT Act has no minimum threshold — every paid disposal of securities is a taxable event. Our calculations cover all imported transactions per the documented settlement methodology.
What file formats are supported?
We support CSV, XLSX and XLS files from brokers such as Interactive Brokers, XTB, Trading 212, DEGIRO, Revolut and eToro. We accept PDF only from Revolut and Capital.com, and HTML only from Orbex.
What about foreign tax?
The system detects foreign dividends, interest and the tax withheld on them, and settles them in Section G of PIT-38. It deducts foreign tax cautiously, at most up to the double tax treaty rate, although the Act (art. 30a ust. 9) allows a deduction of up to 19%, and the courts confirm this. For gains from selling foreign shares and ETFs it prepares a PIT-ZG summary by country.
Can I edit transactions?
Yes. You have full control - you can edit any transaction manually if needed.
How does the system fetch NBP rates?
The system automatically fetches official average rates from the National Bank of Poland API. For transactions in securities we take the rate from the last business day before the settlement day (T+1/T+2), for dividends — before the payment date (art. 11a of the PIT Act). If an NBP rate is missing, the calculation stops — we do not use substitute rates.
Can I import data from multiple years?
Yes, with the Professional plan you can work with multiple tax years simultaneously. The system automatically splits transactions by year and maintains FIFO continuity between years.
Can I download PIT-38 as a PDF?
Yes, on the Professional plan. After calculating your tax, you open a preview of the PIT-38 form (and PIT/ZG) and save it as a PDF using your browser's print function. On the Starter plan, you can download a text report (TXT) with the results.
Is my data secure?
Data is encrypted and processed in the EU. We do not share it with third parties for their own marketing purposes, and the retention details are described in the Privacy Policy.
Are my files stored on the server?
Yes. Uploaded broker reports are kept in a private file store — on every plan, also when you upload a file without signing in. Other users cannot see them; only the service administrator has access. We delete them on request, and the Privacy Policy describes how long they are kept.
Who has access to my data?
Only you have access to your data. We do not share data with third parties for marketing purposes. Data is used solely to provide the service. Details in Privacy Policy.
Can I delete my data?
Yes. To delete your account and all data, write to kontakt@podatekgieldy.pl from the email address linked to your account. We will delete them within one month at the latest. On the Professional plan you can also delete your transactions yourself in settings.
Didn't find your answer? Contact us
Podatek Giełdy is a Polish fintech application. Learn how it works and how we protect your data.
Podatek Giełdy is a Polish fintech application that helps investors calculate capital gains taxes (PIT-38 and PIT-ZG). The application processes transaction data imported from stock brokers and cryptocurrency exchanges, automatically applying Polish tax regulations, NBP exchange rates, and the FIFO method.
Podatek Giełdy offers optional Google Login (Google OAuth) as a convenient alternative to email login. We use it solely for secure user authentication.
Podatek Giełdy is a software tool that assists with tax calculations. It does not constitute tax advisory services.
Review our legal documents:
From investor to investors
"I created this calculator out of my own frustration. Existing tools were inaccurate, complicated, or simply didn't support my brokers. After hours in Excel and several filing errors, I decided to build what I needed myself - and open it to other investors. And this is the end."
Yevhen
Individual investor & platform creator
The Starter plan is free for up to 50 transactions (one year, one broker). No limits and PDF export come with the paid Professional plan.
No risk • Starter is free • Pay only for the Professional plan