From votes to seats: the Kodeks wyborczy
Abstract. We implement the Sejm's electoral law: 460 seats in 41 okręgi, national thresholds of 5% for party lists and 8% for coalitions, an exemption for national minorities, and D'Hondt in each okręg. Given each election's official okręg votes, the calculation reproduces every list's seats from 2005 to 2023. National polls reach the okręgi by proportional swing from 2023, with the parties that split from the 2023 lists sharing their parent's vote. We explain the last seats, the German minority in Opole and the pending reapportionment.
Summary
We implement the Sejm's electoral law: 460 seats in 41 okręgi of 7 to 20 seats, a national threshold of 5% for party lists and 8% for coalition lists, an exemption for national minorities, and D'Hondt in each okręg among the lists that clear their threshold. Run on each election's official okręg votes, our calculation gives exactly the seats the Państwowa Komisja Wyborcza declared, list by list, at every election from 2005 to 2023. National polls reach the okręgi by proportional swing from 2023, with rules for the parties that have split from the 2023 lists since. This paper sets out the law, works through 2023, and describes the projection and what it cannot do.
What has changed since this paper was written
Updated 9 November 2026. The rest of the paper is as first published, except where a sentence below says it was corrected.
- The map (November). The map can be coloured by any census figure; each census figure also has its own page (census maps). It can also replay a past polling miss ("The polls miss again") or take a vote you set.
Forty-one contests with a national gate
Each voter marks one candidate on one committee's list in their okręg. The vote counts for the list; within the list, seats go to the candidates with the most votes, which decides who sits but not how many seats the list wins.
Seats per okręg
The seats per okręg are fixed in annex 1 of the Kodeks wyborczy, and have not changed since 2011:
| Seats in the okręg | Okręgi | Seats | Share of the Sejm |
|---|---|---|---|
| 7–9 | 14 | 120 | 26% |
| 10–12 | 18 | 205 | 45% |
| 13–15 | 7 | 99 | 22% |
| 16–20 | 2 | 36 | 8% |
The typical okręg elects ten to twelve MPs; the smallest, Częstochowa (28), elects 7, and the largest, Warsaw (19), which also counts the votes cast abroad and on ships, elects 20. The apportionment is based on population figures from before 2011. The PKW asked the Sejm in October 2022 to change the seats in 21 okręgi, and the Sejm did not. In September 2026 the Sejm and Senate passed a bill under which the PKW would reset the seats each year; by its calculation of January 2026, 13 okręgi would lose a seat and 8 gain one, and okręg 20, around Warsaw, would go from 12 to 15. The bill awaits the President's signature or veto. The forecast uses the seats in force.
The thresholds
Before any okręg is counted, each committee's national share of the valid vote is compared with its threshold (Kodeks wyborczy, art. 196):
- 5% for a committee of one party, or of voters;
- 8% for a coalition committee, registered by two or more parties;
- none for a committee of a registered national minority (art. 197), which still takes part in D'Hondt in the okręgi where it stands.
A list under its threshold wins no seat anywhere. Its votes stay in the okręg totals but count for nobody, so the seats go to the other lists in proportion to their votes. How a list registers matters: in 2015 the Zjednoczona Lewica, a coalition of the SLD and smaller parties, won 7.55% and no seats, where a single-party list with the same votes would have cleared its threshold. KO and Trzecia Droga both registered as coalition committees in 2023. Since the Platforma renamed itself Koalicja Obywatelska in 2025, KO can run as a party list with a 5% threshold.
D'Hondt
In each okręg the qualifying lists share the seats by D'Hondt (art. 232): each seat goes in turn to the list with the largest quotient
where \(v_{k,l}\) is list \(l\)'s vote in okręg \(k\) and \(s_{k,l}\) its seats there so far. With ten or so seats per okręg, D'Hondt gives the largest lists more than their share: in 2023 PiS won 42.2% of the seats with 35.4% of the vote and KO 34.1% with 30.7%, while Lewica won 5.7% with 8.6% and Konfederacja 3.9% with 7.2%.
2023, worked through
| List | Vote | Threshold | PKW | Ours |
|---|---|---|---|---|
| PiS | 35.4 | 5% | 194 | 194 |
| KO | 30.7 | 8% | 157 | 157 |
| TD | 14.4 | 8% | 65 | 65 |
| Lewica | 8.6 | 5% | 26 | 26 |
| Konfederacja | 7.2 | 5% | 18 | 18 |
Five lists cleared their thresholds: PiS and Lewica as party lists over 5%, KO and Trzecia Droga as coalitions over 8%, Konfederacja over 5%. The German minority, exempt, stood in Opole (okręg 21, 12 seats) and won 25,778 votes; the twelfth seat there went to Konfederacja with a quotient of 31,150, so the minority won no seat for the first time since 1991. Our calculation gives the same result.
The check: every election since 2005
| Election | Lists with seats | Lists under the threshold | Seats that differ | Every seat matches |
|---|---|---|---|---|
| 2023 | 5 | 0 | 0 | yes |
| 2019 | 6 | 0 | 0 | yes |
| 2015 | 6 | 3 | 0 | yes |
| 2011 | 6 | 0 | 0 | yes |
| 2007 | 5 | 0 | 0 | yes |
| 2005 | 7 | 1 | 0 | yes |
At the six elections from 2005 to 2023, our calculation on the official okręg votes gives the seats the PKW declared for every list, with that year's seats per okręg: those of 2005 and 2007 differed from today's. The thresholds did work at three of them: in 2005 the SDPL (3.9%) fell under 5%; in 2015 the Zjednoczona Lewica (7.55%, a coalition) fell under 8%, and KORWiN (4.8%) and Razem (3.6%) under 5%. 2001 used a modified Sainte-Laguë count, with a first divisor of 1.4, and is not part of the check; with that rule and the 2001 seats per okręg, our research scripts reproduce 2001 too.
From national polls to okręgi
The base
The projection starts from each 2023 list's vote in each okręg: PiS, KO, Trzecia Droga, Lewica, Konfederacja, the German minority and the rest.
Proportional swing
Each 2023 list's okręg vote is multiplied by the national change of the parties that descend from it:
where \(u_{k,L}\) is 2023 list \(L\)'s share in okręg \(k\), \(U_L\) its national share in 2023 and \(S_p\) today's share of each party descended from it. The other lists are scaled by the national change of "others" together. The German minority keeps its 2023 vote, which matters only in Opole. The okręg shares are then rescaled to 100.
Parties that split
Five of today's parties ran on another party's list in 2023, and one list has broken up:
- Rozwój Plus, Mateusz Morawiecki's club, formed in July 2026 by 40 MPs who left PiS, takes its share of the PiS line's okręg vote;
- Konfederacja Korony Polskiej (KKP), Grzegorz Braun's party, which ran inside Konfederacja in 2019 and 2023, shares Konfederacja's;
- Razem, on the Lewica list in 2023 and on its own since 2024, shares Lewica's;
- the PSL, Polska 2050 and Centrum, the parties of Trzecia Droga, share its vote.
In each okręg the line's projected vote is shared among its parties in their national ratio today. So each splinter is assumed to be strongest where its parent was strongest. That is a guess: Braun's vote, for instance, may not be spread like Konfederacja's.
From parties to lists
Under the line-up assumed (Line-ups and thresholds: 5%, 8% and the Trzecia Droga question), each party's okręg share goes to the list it runs on. A joint list gets the sum of its parties' shares, which is generous: some voters do not follow their party onto a joint list. The thresholds are then applied to the lists' national shares, and D'Hondt in each okręg.
The last seats
In an okręg of ten seats the last one can turn on a few thousand votes. The site shows, for each okręg, which list won the last seat and how far the next list is from taking it:
| Okręg | Seats | Last seat | Next in line | Points short |
|---|---|---|---|---|
| Warszawa (19) | 20 | KO | PiS | 0.01 |
| Częstochowa (28) | 7 | KKP | Lewica | 0.02 |
| Bielsko-Biała (27) | 9 | KO | PiS | 0.04 |
| Bielsko-Biała (30) | 9 | PiS | Konfederacja | 0.13 |
| Krosno (22) | 11 | PiS | KO | 0.16 |
| Warszawa (20) | 12 | KO | Lewica | 0.21 |
| Olsztyn (35) | 10 | Lewica | Konfederacja | 0.29 |
| Rzeszów (23) | 15 | KO | Konfederacja | 0.29 |
| Katowice (31) | 12 | KO | PiS | 0.36 |
| Toruń (5) | 13 | PiS | KO | 0.38 |
| Szczecin (41) | 12 | KO | PiS | 0.38 |
| Łódź (9) | 10 | KO | KKP | 0.41 |
| Bydgoszcz (4) | 12 | Konfederacja | KO | 0.42 |
| Gdańsk (25) | 12 | KO | Konfederacja | 0.48 |
| Wałbrzych (2) | 8 | KO | KKP | 0.49 |
| Chełm (7) | 12 | PiS | Konfederacja | 0.57 |
| Radom (17) | 9 | KO | Konfederacja | 0.59 |
| Siedlce (18) | 12 | Konfederacja | KKP | 0.63 |
| Kielce (33) | 16 | Konfederacja | PiS | 0.67 |
| Koszalin (40) | 8 | KO | Lewica | 0.75 |
| Piotrków Trybunalski (10) | 9 | Konfederacja | PiS | 0.85 |
| Katowice (32) | 9 | KO | KKP | 0.99 |
Today 22 okręgi have a last seat within a point of changing hands. A small national shift moves several of them at once, which is why the seat ranges are wider than proportional representation might suggest.
The same engine everywhere
The calculation is one function, PolandForecast.Run, used for the projection, for every simulated election, for every replay of a past miss, for the polling-day forecast, for each line-up and for the readers' own inputs on the what-if and prediction pages. The check above uses the same thresholds and D'Hondt on the official votes.
What we know about the projection
The seat law is exact; the projection is not. Proportional swing from 2023 has not been tested on Polish okręgi, and the party system has changed so much since 2023 that a test on 2019 to 2023 would say little about 2023 to the next election. Three things limit it:
- Splinters. Rozwój Plus, KKP, Razem and the three parties of Trzecia Droga are spread in their parents' pattern.
- Candidates. Polish lists are open, and a strong local candidate can carry a list in an okręg. The projection knows nothing of candidates.
- The seats per okręg. If the reapportionment bill becomes law, several okręgi will elect more or fewer MPs, and the same votes will give slightly different seats.
Limitations
One base year. Every okręg projection starts from 2023, the year of a record turnout.
Joint lists add votes. A joint list is given the sum of its parties' shares; in practice joint lists often win less.
The law. The forecast uses the seats per okręg in force. A reapportionment, or any change to the thresholds, would change the calculation.
References
Kodeks wyborczy (Dz.U. 2025 poz. 365), articles 196, 197, 202 and 232, and annex 1.
Państwowa Komisja Wyborcza (2022). Wniosek w sprawie zmiany granic okręgów wyborczych i liczby posłów, 21 October 2022.
How to cite
Polling Forecast (2026). From votes to seats: the Kodeks wyborczy. Retrieved 21 November 2026 from https://www.pollingforecast.com/research/poland-seat-law. Live figures change as new polls arrive; the date above is when the text was last revised.


