How we calculate
This page explains exactly what we do with your statement and which provisions of the Hungarian Personal Income Tax Act (Szja tv.) we follow. We want you to be able to check every number in the result yourself. We are just as open about what we cannot do yet.
Last checked against the engine: 14 Nov 2026
1. What we start from
We calculate only from the statements you upload. We fetch nothing from your broker or from NAV, the Hungarian tax authority. Whatever is missing from the statement is missing from the result.
Statements from XTB, DEGIRO, Trading 212, Interactive Brokers, Revolut are read by our own software, line by line. Statements from other brokers (for example Lightyear, eToro, Saxo) and PDFs we do not recognise are read by AI; before sending, we strip names, addresses, account numbers and other personal data from the text (details in the privacy policy). Always check an AI-read result against the statement.
From a statement we read purchases, sales, dividends, fees, withheld taxes and, for XTB, closed CFD positions. Several statements (several brokers, several years) are merged into one history: duplicate transactions are dropped and sales are matched with purchases across all brokers.
A transfer of securities between brokers is not a sale. The shares keep their original price and purchase date when you upload both brokers’ statements. Combining several brokers (in Hungarian).
2. Matching purchases and sales
Sales are matched with purchases on a FIFO basis: the first unit bought is the first unit sold. Matching is done separately for each security (by ISIN, or ticker). A partial sale draws proportionally from the oldest purchase. FIFO and MNB rates (in Hungarian).
The cost is the purchase price plus the fees for the purchase and the sale. Everything is calculated to the fillér, with no rounding in between.
A sale for which no purchase is found in the uploaded statements (usually an older statement is missing) does not enter the calculation. We list it in the result.
3. Exchange rates
Amounts in a foreign currency are converted at the official MNB rate of the trade date (a purchase at the rate of the purchase date, a sale at the rate of the sale date), under § 6 of the Szja tv.
We never estimate a rate. If no rate is available for a day and currency, the calculation stops with an error instead of quietly giving a wrong number.
4. Tax and losses
Trades made with an investment service provider in the EEA count as controlled capital market transactions (ellenőrzött tőkepiaci ügylet, ETÜ, Szja tv. § 67/A): 15 % personal income tax, no social contribution tax (szocho). There is no exemption for the holding period; gains and losses of the year offset each other in full. Taxable income = max(0, income – deductible costs). ETÜ: 15 % tax, no szocho (in Hungarian).
If the costs exceed the income, it is a loss eligible for tax offsetting (adókiegyenlítés). We calculate the offset from the losses of the tax year and the two previous years (Szja tv. § 67/A (6)–(8)), based on the years in the uploaded statements.
The calculation assumes a regular (not TBSZ) account. We prepare the figures for the relevant rows of the eSZJA return: filing guide.
5. Dividends
Foreign dividends carry 15 % personal income tax on the gross amount, and szocho at 13 % up to 24 times the minimum wage, counted together with your salary. Tax withheld abroad is credited separately for each source country, at most up to the 15 % Hungarian tax and the double tax treaty rate. Where we have not verified the treaty rate, we ask you to confirm it rather than guess. The US–Hungary treaty has not been in force since 1 January 2024. Taxation of US dividends (in Hungarian).
6. CFDs and other derivatives
We calculate CFDs only from XTB statements, from closed positions: income is the position’s profit and credited swaps, costs are losses, debited swaps and fees, all at the rate of the closing date. With an EEA investment service provider this is an ETÜ (Szja tv. § 67/A), in the same 15 % pool as shares.
7. What we do not calculate
- Options, futures, forex, crypto assets and bonds. If the statement contains them, we flag it in the result and leave them aside.
- CFDs from brokers other than XTB.
- Portfolio overviews without trade history (for example the DEGIRO “Portfolio” file). Tax cannot be calculated from them; a transaction statement is needed.
- Sales whose purchase is missing from the statements (see point 2).
- The TBSZ account relief, and the other income and reliefs in your return. We provide the data for the relevant rows, not the whole return.
This list will never be complete. If you run into a case that is missing here, write to us; we will either add it to the calculation or add here that we do not handle it.
8. How to tell that something is off
The result contains check totals (income, costs, number of trades) to compare with your broker’s annual report. All warnings (missing purchase, unavailable rate, unverified treaty rate, unsupported instruments) are listed right next to the result.
The most common cause of a difference is an incomplete statement: an older year, a second broker or the statement of the account with dividends is missing. The second most common is a statement read by AI where a line was read wrongly.
9. Sources
- 1995. évi CXVII. törvény a személyi jövedelemadóról (Personal Income Tax Act): § 6, § 65, § 66, § 67/A.
- 2018. évi LII. törvény a szociális hozzájárulási adóról (Social Contribution Tax Act): § 1 (5), § 2 (2).
- Official MNB exchange rates.
- Double tax treaties (NAV, Ministry of Finance) and withholding tax rates of the source country.
- NAV eSZJA filing instructions.