Provincial seat allocation from Madrid’s 38 seats to Soria’s two shapes the count

The arithmetic that decides who governs Spain after a general election runs through the congress of deputies, the lower house and the more powerful of the two chambers. Elections were held on Sunday for both houses, the senate and the congress of deputies. After an election, a prime minister and government are chosen by means of an investiture debate in the 350-seat congress.

A prime ministerial candidate must secure an absolute majority in the first round of that debate — 176 votes or more. Failing to do so, a second round is held 48 hours later, in which only a simple majority, more yes votes than no votes, is needed.

Seats are assigned proportionally in multi-member constituencies at the level of the province, and the size of those constituencies varies sharply. Madrid is the largest constituency, with 38 seats. Soria is the smallest on the mainland, with two.

That arrangement has helped regional parties prosper. Regional parties occupied more than 10% of the seats in the outgoing parliament, a total that does not count parties which are regional variations of national outfits. The Catalan Socialist party, for instance, does not compete with the PSOE. Regional parties, not all of which are explicitly separatist, have sometimes held the balance of power in the assembly.

Coalition-building is not a simple exercise in arithmetic, and The Guardian’s live results guide noted that the PP tends to be more centrist than the PSOE, which can cost the PP when the time comes to seek coalitions.

The figures on election night are provisional by design. Votes in each province are announced as they are counted, and provisional seat allocations are made: a party may hold a seat in a province after 20% of the count and lose it by the time counting is finished. The national total therefore varies as the count progresses, which means the seat numbers published in the first hours after the close will move as provinces report in.

What the completed count decides is which party can put together a majority. According to The Guardian’s live results coverage, it looked almost certain that no party would win a majority of seats, which makes a coalition deal very probable. The People’s party (PP) won the most seats in the last general election, in July 2023, but did not have the votes to form a government, even with the help of the Vox party, which The Guardian described as far-right. That allowed Sánchez’s Socialist Workers’ party (PSOE), which is led by the prime minister, Pedro Sánchez, to cobble together a minority coalition government by enlisting the support of smaller leftwing and Basque and Catalan nationalist parties.

The election itself was a snap general election called by Sánchez, and most polling stations were due to close at 20.00 Madrid time, 19.00 GMT, with counts announced province by province as polling stations reported in.