← Back to Calculator

How Parliament Works

Understanding the Election Calculator

πŸ“‹ Overview

This election calculator simulates the complete process of parliamentary elections, from vote counting to government formation. Here's how each step works:

1

Vote Entry

Enter party names and their vote counts (manually or scan from image)

2

Threshold Check

Parties must reach the electoral threshold (default 5%) to enter parliament

3

Seat Allocation

Parliament seats are distributed using Sainte-LaguΓ« or D'Hondt method

4

Coalition Building

Select parties to form a governing coalition (majority = 50% + 1 seats)

5

Government Formation

Minister positions distributed among coalition parties

🚧 Electoral Threshold

The electoral threshold is the minimum percentage of votes a party must receive to be eligible for seats in parliament. This prevents extreme fragmentation.

Party qualifies if: (Party Votes / Total Votes) Γ— 100 β‰₯ Threshold %
Example (5% threshold):

Total votes: 1,000,000
Party A: 60,000 votes = 6% βœ… Qualifies
Party B: 40,000 votes = 4% ❌ Below threshold

Wasted Votes: Votes cast for parties below the threshold don't contribute to seat allocation. High wasted votes indicate many voters' preferences aren't represented.

πŸ—³οΈ Seat Allocation Methods

Two proportional representation methods are available:

Modified Sainte-LaguΓ«

Divisors: 1.4, 3, 5, 7, 9...

More proportional representation. The first divisor (1.4) slightly favors larger parties while remaining fair to smaller ones.

Used in: Sweden, Norway, Germany (some states)

D'Hondt

Divisors: 1, 2, 3, 4, 5...

Favors larger parties more strongly. Makes majority coalitions easier to form. Better for governmental stability.

Used in: Spain, Portugal, Belgium, Czech Republic

How It Works

Seats are allocated one at a time. For each seat:

  1. Calculate quotient for each party: Votes / Divisor
  2. Party with highest quotient wins the seat
  3. Winner's divisor increases for next round
  4. Repeat until all seats allocated
Example (D'Hondt, 10 seats):

Party A: 100,000 votes | Party B: 80,000 votes | Party C: 30,000 votes

Round A Quotient B Quotient C Quotient Winner
1100,000/1 = 100,00080,00030,000A (1 seat)
2100,000/2 = 50,00080,00030,000B (1 seat)
350,00040,00030,000A (2 seats)
...Continue until 10 seats allocated

πŸ“Š Gallagher Index (Proportionality)

The Gallagher Index (Least Squares Index) measures how proportionally seats are distributed compared to votes. Lower values indicate better proportionality.

LSq = √(Β½ Γ— Ξ£(Vote% - Seat%)Β²)
Index Value Interpretation
0 - 5βœ… Highly proportional
5 - 10⚠️ Moderately proportional
10+❌ Significant disproportionality

πŸ›οΈ Political Positions

Each party is assigned a political position on a 5-point spectrum:

Position Index Badge
Hard Left Wing 0 Hard Left Wing
Left Wing 1 Left Wing
Middle 2 Middle
Right Wing 3 Right Wing
Hard Right Wing 4 Hard Right Wing

Coalition Compatibility

Parties can form coalitions, but political distance matters:

Compatible if: |PM Position Index - Party Position Index| ≀ 1
⚠️ Incompatibility Warning

If coalition includes parties more than 1 position apart from the Prime Minister's party, a warning is displayed. For example, a Hard Left Wing PM cannot easily govern with Right Wing parties (distance = 3).

🀝 Coalition Building

After seat allocation, parties must form a government. Key concepts:

Effective Number of Parties

The Laakso-Taagepera index measures party system fragmentation:

N = 1 / Ξ£(seat_shareΒ²)
Value Interpretation
≀ 3βœ… Few effective parties, stable system
3 - 5⚠️ Moderate fragmentation
5+❌ High fragmentation, complex coalitions needed

πŸ‘” Government Composition

The government consists of 14 positions: 1 Prime Minister + 13 Ministers.

Distribution Rules

  1. Prime Minister: Goes to the largest party in the coalition
  2. Ministers: Distributed proportionally using D'Hondt method based on coalition seat shares
  3. Minimum Guarantee: Every coalition party gets at least 1 minister position (taken from parties with 2+ ministers if needed)

Minister Portfolios

Finance, Foreign Affairs, Interior, Defense, Justice, Health, Education, Economy, Labor, Environment, Transport, Agriculture, Culture

πŸ“‹ Parliamentary Committees

15 parliamentary committees with chairmanships distributed among all parties (not just coalition) using D'Hondt method based on seat shares.

Committees

Note: Committee chairs are distributed to all parliamentary parties, giving opposition parties oversight roles.

✨ Calculator Features