keisoku

D'Hondt Method Seat Allocation

Enter each party's votes and the total number of seats to instantly allocate seats with the D'Hondt method (dividing votes by 1, 2, 3… and awarding seats to the largest quotients). A quotient table shows the full allocation process at a glance.

Input

Enter "party name, votes" on each line, separated by a comma or space.

seats

Result

Total seats allocated

6seats

Most seats won by Party A (3 seats)

Parties

4 parties

Total votes

3,850,000 votes

Total seats

6 seats


Seats won per party

PartyVotesVote shareSeats wonVotes per seat
Party A1,500,00039.0%3500,000
Party B1,200,00031.2%2600,000
Party C800,00020.8%1800,000
Party D350,0009.1%0-

Quotient table (votes ÷ divisor)

Highlighted cells are the quotients that won a seat; the number in parentheses is the order of allocation.

Party \ Divisor÷1÷2÷3÷4÷5÷6
Party A1,500,000(1)750,000(4)500,000(6)375,000300,000250,000
Party B1,200,000(2)600,000(5)400,000300,000240,000200,000
Party C800,000(3)400,000266,667200,000160,000133,333
Party D350,000175,000116,66787,50070,00058,333

How it works

  • The D'Hondt method allocates seats by dividing each party's votes by 1, 2, 3… and awarding the available seats one at a time to the largest resulting quotients.
  • Enter one party and its votes per line, set the total number of seats to allocate, and the tool calculates how many seats each party wins.
  • To show the process, the tool lists each party's votes ÷1, ÷2, ÷3… and marks the top quotients, one per seat, that win a seat.
  • When quotients tie for the last seat, it is generally decided in favor of the party with more votes or by lot; this tool gives priority to the party with more votes.
  • The D'Hondt method is used for proportional representation in many national and regional elections.
  • Votes may be entered as integers or decimals greater than zero. The method produces few wasted votes and tends to slightly favor larger parties.