Free tool · Spain votes on 29 November 2026

D’Hondt calculator: how many seats does each party win?

By · Updated

In short

Enter each party’s votes and the calculator shares out the seats with the D’Hondt method, the formula Spain uses for Congress. Parties below 3% of the valid votes are left out (blank votes count as valid). Each remaining party’s votes are divided by 1, 2, 3 and so on, and the seats go to the highest results. It comes loaded with the official seats of all 52 constituencies for the 29 November 2026 election, and it shows how many more votes each party would need for its next seat.

The calculator

Calculator by Borja Burguillos · open the full version on borbur.net ↗

Put this calculator on your website

Free to use on any blog, newspaper or school website. Copy the code below and paste it where you want the calculator to appear. It loads the same official 2026 seats, sets no cookies and shows no ads.

Key facts

Seats in Congress
350, in 52 constituencies (50 provinces plus Ceuta and Melilla)
Largest and smallest
Madrid 38 and Barcelona 32; Soria 2; Ceuta and Melilla 1 each
Threshold
3% of the valid votes in the constituency; blank votes count as valid, spoilt ballots do not
Ties
The seat goes to the party with more votes in total; if that is also tied, it is drawn by lot (LOREG, article 163)
Change since 2023
Madrid gains a seat (37 to 38) and Cádiz loses one (9 to 8)

How it works

1. Pick the constituency

Choose a province to load its official number of seats for the 29 November 2026 general election, or type your own number of seats for any other D’Hondt election.

2. Enter the votes

Type the votes of each party and the blank votes. Blank votes count towards the 3% threshold but win no seats. Spoilt (null) ballots are not valid votes, so leave them out.

3. Read the result

The calculator leaves out parties below the threshold, divides each remaining party’s votes by 1, 2, 3 and so on, and gives one seat to each of the highest quotients. The quotient table shows every division, and the last column shows how close each party is to its next seat.

The rules it follows

The calculator applies article 163 of Spain’s general electoral law (LOREG): the 3% threshold on the valid votes of the constituency, the division of votes by 1, 2, 3 and so on up to the number of seats, and seats for the highest quotients.

Ties: if two parties have the same quotient, the seat goes to the one with more votes in total. If the totals are also equal, the law says the first tie is drawn by lot and later ones alternate. The calculator flags that case instead of guessing.

The results are only as good as the votes you type in. The calculator does not forecast anything, and it does not apply to the Senate, where the candidates with the most votes win.

Want the method explained with a worked example? Read the guide: How does the D’Hondt method work? Spain’s seat formula, step by step

Go deeper in the book

Go deeper in the book

España, caballo ganador

Change the incentives and you change the country

About the book

Embed this calculator

Free to use on your website or blog. Copy the code below and paste it into your page’s HTML. Please keep the credit link.

Questions

How do you calculate seats with the D’Hondt method?

Leave out the parties below the threshold (3% of the valid votes in Spain’s Congress elections). Divide each remaining party’s votes by 1, 2, 3 and so on, up to the number of seats. Rank all the results and give one seat to each of the highest, until the seats run out.

Do blank votes count?

Yes, for the threshold: in Spain blank votes are valid votes, so they raise the 3% bar slightly. They do not win seats. Spoilt (null) ballots are not valid votes and count for nothing.

How many seats does each province elect on 29 November 2026?

Madrid 38, Barcelona 32, Valencia 16, Alicante and Sevilla 12, Málaga 11, Murcia 10, down to Soria with 2 and Ceuta and Melilla with 1 each, 350 in total. The calculator loads every province from Royal Decree 806/2026.

What happens if there is a tie?

The seat goes to the party with more votes in total. If both parties also have the same total, the first tie is drawn by lot and later ones alternate, under article 163 of the electoral law.

How many votes does a seat cost?

It depends on the province and on how the votes are spread. The calculator shows, for each party, how many more votes it would need to win one more seat if everything else stayed the same.

Sources

  1. Real Decreto 806/2026, de 5 de octubre, de disolución del Congreso y del Senado y de convocatoria de elecciones (BOE núm. 248, 6 de octubre de 2026)
  2. La Moncloa, Referencia del Consejo de Ministros (5 de octubre de 2026)
  3. Ley Orgánica 5/1985, del Régimen Electoral General (LOREG), artículos 162 y 163, texto consolidado (BOE)
  4. Maldita.es, Cómo funciona el sistema D’Hondt y por qué no es una ley

Updated:

Free tools

Calculators built on the official rules, with their sources. Free, no sign-up.

See all free tools →

More books

Guides

How does the D’Hondt method work? Spain’s seat formula, step by stepHow Spain turns votes into seats, with a worked example, and why the province matters more than the formula.Open lists in Spain: how Spaniards vote today, and what would changeHow Spaniards vote for Congress and the Senate today, and what open lists would change.What is Bitcoin, and why does it exist?What it is, who made it, and why a money with fixed rules had to exist.What are stablecoins, and why do they matter?Digital dollars: how they hold their value, why they matter and the rules arriving.Money and pay: why money loses value and how pay is changingInflation, total rewards, pay transparency and what digital money changes for HR.Web3 and the business of sportFan tokens, crypto sponsorship and prediction markets: how money is changing sport.Can you be paid your salary in crypto or stablecoins?Can your salary be paid in crypto or stablecoins? The rules in the UAE and Spain.The best books to understand Bitcoin, for beginnersThe best books to understand Bitcoin, from first steps to the technical detail.The best books on stablecoinsThe best books and reports to understand stablecoins, from inclusion to regulation.Which banks are launching stablecoins, and what does it mean for you?Qivalis, Santander, BBVA, CaixaBank: which banks are launching stablecoins, and what it means for customers.Books on Web3 and sport: what to read firstThe few books worth reading on Web3, fan tokens and the business of sport, and what each one is for.Stablecoins in the UAE: what is allowed, who issues them and what it means for youWhat the UAE allows, who regulates it, and the first dirham stablecoins: AE Coin, DDSC and RAKBank.How to vote from abroad in Spain’s 29 November 2026 electionHow Spaniards living abroad vote on 29 November 2026: the consulate urn, postal vote and deadlines.How many votes does a seat cost in Spain? Province by province, 29 November 2026How many voters stand behind each seat in Congress, province by province, for 29 November 2026.Postal vote for 29 November 2026: request it by 19 NovemberHow to vote by post from Spain on 29 November 2026: request by 19 November, send by 25 November.Polling station duty on 29 November 2026: pay, hours and time offCalled to sit on a polling station on 29 November 2026? Pay, hours, time off work and what to do if you cannot go.Can stablecoins make sending money home cheaper?Do stablecoins make sending money home cheaper? What the World Bank and IMF data show.How pay works in the UAE: basic salary, allowances and gratuityBasic salary, allowances, gratuity, no income tax: what a UAE pay package really means.Paying employees in stablecoins: what employers need to know in the UAE and SpainWhat employers in the UAE and Spain can and cannot do when they pay staff in stablecoins.Take-home pay index 2026: how much of your salary you keep in nine countriesHow much of a $40,000 to $250,000 salary you keep in nine countries, under 2026 rules.Spain vs Dubai salary 2026: what you keep, and the Spanish salary that matches DubaiWhat the same salary leaves in Spain and in Dubai, and the Spanish salary that matches a Dubai one.How AI is changing the job market: what the major reports sayWhat the WEF, IMF, ILO, Stanford and PwC data say about AI, jobs and pay.Will Bitcoin be the money of AI agents? How machines pay, and what is still missingAI agents are starting to pay for things. Cards, stablecoins and Bitcoin compared as money for machines.Why does Bitcoin go up and down so much?Fixed supply, big funds, interest rates and leverage: why Bitcoin’s price swings so much.Bitcoin from zero: a free course in six short lessonsA free course in six short lessons: what Bitcoin is, transactions, wallets, safety, scams and tax in Spain.How a Bitcoin transaction works, step by stepWhat happens between pressing send and the payment being final: the queue, the fee, the block and the confirmations.What is a Bitcoin wallet? Keys, seed phrase and custodyA wallet does not hold coins: it holds keys. What the seed phrase is, and custody by an exchange versus your own.How to keep bitcoin safe: six habits for beginnersSix habits that protect bitcoin: the seed phrase on paper, never online, small tests, updates and a plan for your family.Bitcoin scams: the most common ones and how to spot themThe most common bitcoin scams, what they have in common, and how to check a platform before you send money.How bitcoin is taxed in Spain in 2026When bitcoin is taxed in Spain, the 19% to 30% scale, crypto-to-crypto swaps, FIFO and the Modelo 721.Token compensation explained: grants, vesting, lockups and taxHow token grants, vesting, cliffs and lockups work, how they differ from shares, and when they are taxed.Jobs in stablecoins and digital money: the roles, the skills and the talentThe roles stablecoins and tokenisation create in banks, issuers and corporates, the skills they need and where the talent comes from.Paid in a dollar stablecoin: who carries the exchange-rate risk?If part of the pay is a dollar stablecoin, who carries the exchange-rate risk: the employer or the employee? Four designs, with examples.Financial literacy at work: why digital money makes it HR’s jobOnly a third of adults reach the OECD’s minimum level of financial literacy. Why digital money makes it an HR question, and what a basic programme covers.
Portrait of Borja Burguillos

Borja Burguillos

Borja writes for people who want to understand money and incentives without the jargon. Born in Madrid and based in Dubai since 2012, he has advised companies on people and pay, built tech startups, and co-chairs the People & Organisation Committee at the Middle East Stablecoin Association.

WorldatWork Total Rewards and CAIA certified, CFA Investment Foundations, executive programmes at Wharton and IE Business School.