Seat Allocation Calculator (D’Hondt, Sainte-Laguë)
Allocate seats by proportional representation with the D’Hondt, Sainte-Laguë and Hare largest-remainder methods, with an electoral threshold and a disproportionality index.
Name: votes, separated by semicolons
%
Parties below this share get no seats (e.g. 5% in Germany).Results
- Seats (D’Hondt)
- Blue 4, Red 4, Green 2, Yellow 0, Purple 0
- Disproportionality (Gallagher index)
- 7.87 — 0 is perfectly proportional; under 5 is fairly proportional
- Below the threshold (no seats)
- Purple
| Party | Votes | Vote share | D’Hondt | Sainte-Laguë | Hare / largest remainder |
|---|---|---|---|---|---|
| Blue | 340,000 | 39.1% | 4 | 4 | 4 |
| Red | 280,000 | 32.2% | 4 | 3 | 3 |
| Green | 160,000 | 18.4% | 2 | 2 | 2 |
| Yellow | 60,000 | 6.9% | 0 | 1 | 1 |
| Purple | 30,000 | 3.4% | 0 | 0 | 0 |
💡 D’Hondt slightly favors larger parties (used in Spain, Portugal, the Netherlands, many European Parliament delegations); Sainte-Laguë is more even-handed (Germany, New Zealand; Sweden and Norway use a modified version); Hare largest remainder can favor small parties.
💡 Ties for the last seat are broken differently in each country (often by lot or most votes).
Formula
D’Hondt: divide votes by 1, 2, 3, …; Sainte-Laguë: by 1, 3, 5, …; award seats to the largest quotients. Hare: quota = votes ÷ seats, then largest remainders.