Mathematics
Highest-average allocation simulator
Simulate a d’Hondt highest-average seat allocation for up to 100 parties or groups and 1000 seats, with exact quotients and any ties shown.
Enter your assumptions, press Calculate, check the tables and download the result if you need it. Editing or resetting clears the current record.
Result
Formula / calculation:
One line per party or group: unique label;integer votes. At most 100 groups and 1000 seats. Each vote total is0–10¹²; at least one must be positive. No thresholds, district allocation, candidate lists, ministerial eligibility or legal tie rule is included. Default behaviour stops before assigning a tied seat. Input-order mode is a chosen simulation rule, with every tie recorded. Names are normalized to NFC; duplicates must be disambiguated. Results, every round and exact quotients are downloadable.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
One line per party or group: unique label;integer votes. At most 100 groups and 1000 seats. Each vote total is0–10¹²; at least one must be positive. No thresholds, district allocation, candidate lists, ministerial eligibility or legal tie rule is included. Default behaviour stops before assigning a tied seat. Input-order mode is a chosen simulation rule, with every tie recorded. Names are normalized to NFC; duplicates must be disambiguated. Results, every round and exact quotients are downloadable.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Unique label;votes per line
- A;100 B;80 C;30
- Seats to allocate (1–1000)
- 6
- Simulation rule for ties
- Stop before a tied allocation
Result
- Requested seats
- 6
- Allocated seats
- 6
- Unallocated seats
- 0
- Rounds with a tie
- 0
- Unresolved tie labels
- none
- Tie simulation rule
- stop
Frequently asked questions
How does the d'Hondt allocation simulator work?
Enter one line per party or group as label;integer votes and the number of seats. The simulator assigns seats by highest average with exact quotients, and every allocation round is visible.
What limits apply to the allocation input?
At most 100 groups and 1000 seats. Each vote total is 0 to 10¹², at least one must be positive, and duplicate names must be disambiguated.
What happens when there is a tie?
By default the simulation stops before assigning a tied seat. Input-order mode is a chosen simulation rule, with every tie recorded.
Does the simulator include thresholds or districts?
No. There are no thresholds, district allocation, candidate lists, ministerial eligibility or legal tie rule.
What does the worked example show?
The default example has votes A 100, B 80 and C 30, which result in seats A 3, B 2 and C 1.
Can I download the allocation rounds?
Yes. Results, every round and exact quotients are downloadable as JSON, HTML or TSV.