How Spain's electoral system workspublished at 15:25 GMT
Image source, Getty ImagesSpain's parliament is made up of two chambers - the Congress of Deputies and the Senate.
The Congress of Deputies
There are 50 constituencies in the country, each electing a minimum of two MPs. The exclaves of Ceuta and Melilla both elect one.
That leaves another 248 seats, which are then allocated proportionally to the 50 constituencies based on their population size. For example, in this election Madrid gets 38 - the minimum of two, plus 36 additional allocated for its large population. Soria, the smallest by population, gets only the minimum of two.
The seats in each constituency are then allocated to parties using the D'Hondt system of proportional representation (we'll bring you more on this later). A party has to win 3% of the vote in a constituency to be eligible for a seat under the allocation system.
In smaller provinces with fewer seats, though, parties generally need a larger vote share than that. There are 350 seats, and so to form a government a party needs an absolute majority of 176 seats - or must join a coalition.
The Senate
The number of senators is flexible, but there are fixed rules for 209 of the seats:
- Most constituencies get four
- The biggest islands - Gran Canaria, Majorca and Tenerife - elect three
- Ceuta and Melilla pick two each
- Smaller islands, like Ibiza, pick one
The remaining seats are filled by the regional parliaments of Spain's 17 autonomous communities, which elect one each and are allocated one senator for each one million residents.


