General configuration
Electosim ELECTOSIM v0.17.1
Seats:
Valid votes:
Voters:
Blank votes:
Census:
Participation:
Last save: Never Save
Results New candidacy CSV
Candidacy Votes (%Valid) Seats
Graph Download
Constituencies
Settings
Total votes: Participation: Valid votes: Votes for candidacies: Distributed seats: Electoral cut-off:
Data
Candidacy Votes (%Valid) Seats
Graph

180
180
180
Absolute majority
Simple majority
Select all:
METHODS.PROMEDIOS MAYORES
Each seat is distributed by choosing the party with the highest average using a formula $p(v, s) = \frac{v}{d(s)}$ (where the denominator varies with the method), depending on the number of votes and seats obtained by the party in question so far.

The first seat would be distributed by applying $p(v, 0)$ to each party (since they currently have 0 seats). For the second one, all parties with $s=0$ are considered except for the party that got the first seat, which has $s=1$. In subsequent steps, $s$ grows in each party according to the number of seats obtained.

Another way to calculate this is to put all the parties and the results $p(v, s)$ in a table, with $s$ ranging from 1 to the number of seats to be distributed, sort from largest to smallest, and then assign the seats to the top $n$ results.

Method $d(s)$
D'hondt $s+1$
Webster/Sainte-Lagüe $2s+1$
Adams $s$
Imperiali $s+2$
Huntington–Hill $\sqrt{s(s+1)}$
Danish $3s+1$
Some methods yield null divisors when $s=0$. In these cases, a seat is assigned to each party (that is above the cut-off), provided there are enough seats for everyone.
Largest remainders methods
In these methods, a quota $q(v, s)$ is established (= the number of votes required for each seat), where $v$ is the number of valid votes and $s$ the total number of seats to be distributed.

Each party is assigned as many seats as the quota indicates. If there are remaining seats, these are distributed in descending order of remainder: if, based on your seats, you are entitled to 5.6 seats, the quota assigns 5 seats, leaving a remainder of 0.6.

Quota $q(v, s)$
Hare $v/s$
Droop $1+\frac{v}{s+1}$
Hagenbach-Bischoff $\frac{v}{s+1}$
Imperiali $\frac{v}{s+2}$
Quotas like Hagenbach-Bischoff and Imperiali can allocate more seats than are available.