Svift Intel
English
Methodology

Calculation Methodology

Svift Intel · Transparency & Rules
FIFO Cost Basis Method

All realized gains and losses are calculated using the First In, First Out (FIFO) method, required by Polish tax law (Art. 30b updof) for capital gains from securities. The oldest shares you bought are considered sold first.

Realized P/L (USD) = Proceeds − Cost Basis
Proceeds = Sell Qty × Sell Price
Cost Basis = Sell Qty × Weighted Avg Buy Price (FIFO lot)

Each sell transaction is matched against the earliest open buy lots until the sell quantity is fully consumed. Partial lot matches are supported.

PLN Conversion (NBP Table A)

Per Polish tax regulations, all USD amounts must be converted to PLN using the NBP Table A mid-rate from the last business day before the transaction date (not the transaction date itself). This is the legal requirement under Art. 11a updof. NBP Table A mid-rate last business day before the transaction date.

Cost Basis (PLN) = Cost Basis (USD) × NBP rate on day before buy date
Proceeds (PLN) = Proceeds (USD) × NBP rate on day before sell date
Realized P/L (PLN) = Proceeds (PLN) − Cost Basis (PLN)

If no NBP rate exists within 7 calendar days before the transaction, the PLN conversion is marked as missing. USD values are always available and accurate.

PIT-38 Tax Fields (Capital Gains)

The tool maps calculated stock transaction values directly to PIT-38 declaration fields: PIT-38:

Field 22
Przychód (Proceeds)
Total sell proceeds in PLN
Field 23
Koszty (Cost Basis)
Total acquisition cost in PLN
Field 26
Dochód
Taxable income (if Field 22 > Field 23)
Field 27
Strata
Capital loss (if Field 23 > Field 22)
Field 29
Podatek 19%
Estimated tax = Dochód × 19%

Dividend income and withholding tax are shown separately - they must be declared in the flat-rate tax section of PIT-38 (or PIT-36) depending on your situation. Consult a tax advisor.

Dividends & Withholding Tax (Section G)

Dividends from IBKR are parsed from the "Dividends" and "Withholding Tax" sections of the activity statement. Each dividend is converted to PLN using the NBP rate from the business day before the payment date.

Dividend (PLN) = Dividend (USD) × NBP rate (day before payment)
Net dividend = Gross dividend − Withholding tax paid abroad

Poland has a tax treaty with the US that caps withholding at 15%. The tool shows gross amounts - consult Art. 30a updof and Section G of the PIT declaration for foreign dividend treatment. Here are the specific fields for PIT-38:

Field 45
Zryczałtowany podatek (Calculated Tax)
Gross dividends in PLN × 19%
Field 46
Podatek zapłacony za granicą (Paid Abroad)
Withholding tax paid abroad in PLN (subject to treaty limits)
Field 47
Podatek do zapłaty (Tax Due)
Field 45 − Field 46
Official Sources & Legal Basis
Art. 30b updof - Capital Gains Tax Legal basis for 19% flat tax on income from securities in PolandArt. 11a updof - Currency Conversion Rules Regulation requiring NBP Table A rate from the day before the transactionArt. 24 ust. 10 updof - FIFO Method Legal basis for selling oldest shares first (First In, First Out)US–Poland Tax Treaty Convention between the US and Poland - relevant for dividend withholding rates (15% cap)
This tool provides estimates for informational purposes only. Tax laws change - always verify current rates and rules with a qualified Polish tax advisor (doradca podatkowy) before filing.