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.
Already trusted by 2,000+ Polish investors and expats

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 |
|---|---|---|---|
| Interactive Brokers | 127 PLN | 42 PLN | 169 PLN/ year |
| XTB | 0 PLN | 189 PLN | 189 PLN/ year |
| Trading 212 | 0 PLN | 225 PLN | 225 PLN/ year |
Interactive Brokers
Commissions
127 PLN
FX Fee
42 PLN
Total
169 PLN
XTB
Commissions
0 PLN
FX Fee
189 PLN
Total
189 PLN
Trading 212
Commissions
0 PLN
FX Fee
225 PLN
Total
225 PLN
Example data for a 100,000 PLN portfolio, 50 trades/year on the US market. Actual costs depend on your portfolio.
Also compares crypto exchanges: Binance, Coinbase, Kraken & more
We support major brokers used by Polish investors and Polish expats
Trading212
CSV
Interactive Brokers
CSV
Lynx
CSV
XTB
XLSX, CSV
Degiro
CSV
mBank eMakler
CSV, XLSX
Revolut
CSV, PDF
eToro
CSV, XLSX
Exante
CSV
Freedom24
CSV, XLSX
Robinhood
CSV
Binance
XLSX
Coinbase
CSV
Coinbase Card
CSV
Lime International
XLSX
Just2Trade
XLSX
Capital.com
CSV, PDF
Charles Schwab
CSV
Admiral Markets
CSV
Tradit
CSV
Orbex
HTML, XLSX
Automatic format recognition • Data validation • Real-time NBP exchange rates
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. 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 transactions are converted at the average NBP rate from the day preceding the transaction date (purchase or sale).
You can deduct: purchase price, brokerage commissions, transaction fees, currency conversion fees.
A loss from a given year can be deducted from income in the following 5 years, but no more than 50% of the loss in a single year.
After calculating your tax, you can open a preview of the PIT-38 form matching the official template. Save it as PDF with one click.

Our calculator automatically applies the FIFO method and converts NBP rates.
PIT-ZG is an attachment to the PIT-38 declaration that you file when you earned capital income abroad — most commonly dividends from foreign companies.
It allows you to deduct tax paid abroad (so-called tax credit) to avoid double taxation.
The foreign broker withholds tax at source (e.g. 15% in the USA with W-8BEN)
In Poland the dividend tax rate is 19%
You deduct the foreign tax paid (max. up to the Polish amount)
You pay the difference in Poland (e.g. 19% - 15% = 4%)
If you invest in American companies, fill out the W-8BEN form at your broker. Thanks to the double taxation avoidance agreement, the withholding tax drops from 30% to 15%.
Our system automatically recognizes foreign dividends and generates 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 day preceding the transaction.
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.
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 gains — it covers stocks, ETFs, derivatives, crypto, dividends, and interest. You file it annually using the PIT-38 form (plus PIT-ZG for foreign income) by April 30 for the previous year. 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 for transaction dates, applies FIFO method, and calculates tax. You can verify every calculation step.
How much does it cost?
Import and calculations are free. You pay only when exporting final declarations. See pricing page for details.
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. You can import data from multiple sources - the system automatically consolidates them.
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, XLS, PDF, and HTML files from major brokers: Interactive Brokers, XTB, Trading212, Degiro, Revolut, eToro, and others.
What about foreign tax?
System detects foreign dividends/interest and withheld taxes, then generates PIT-ZG with proper foreign tax credits.
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 each foreign currency transaction, the rate from the day preceding the transaction date is fetched, in accordance with regulations.
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. After calculating your tax, you can open a preview of the PIT-38 form (and PIT-ZG), then save it as a PDF using your browser's print function. The form preview is available in all plans.
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?
In Starter mode you do not get persistent account history. The Professional plan adds account history and cloud features. Details are described in the Privacy Policy.
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. You can delete your account and all data at any time through account settings or by contacting us. Data will be permanently deleted within 30 days.
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