Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

How District Lines Change Election Results

· in Learning

Cover picture: How District Lines Change Election Results

The same votes can give very different results depending on where district lines are drawn. A simple grid town shows how it works and how it is measured.

In many countries, voters are grouped into districts, and each district elects one representative. That sounds simple, but it hides a puzzle: the same votes can produce very different results depending on where the district lines are drawn.

A tiny town

Picture a town of 64 voters on an 8 by 8 grid, split into 8 districts of 8 voters each. 40 % of voters support the fictional Purple party and 60 % support Orange. Each district elects whichever party has more votes.

With plain straight districts, Purple might win 3 of the 8 seats. But move the lines, keeping every district the same size and in one piece, and the result can swing from Purple winning 5 seats to winning just 1. Nobody changed their vote.

Packing and cracking

Two tricks do most of the work:

  • Packing: squeeze many of one side's voters into a few districts. They win those by a landslide, but the extra votes are wasted.
  • Cracking: spread that side's voters thinly across many districts, so they fall just short everywhere.

Drawing lines to help one side is often called gerrymandering, after a strangely shaped district drawn in Massachusetts in 1812.

How do you measure fairness?

There is no single agreed measure, and each has limits. Two common ones are:

  1. The efficiency gap. Count the wasted votes for each party: every vote for a losing candidate, plus every vote a winner did not need. Compare the totals. A big difference means one side's votes were wasted much more often.
  2. Compactness. Measure how close each district's shape is to a circle. Long, twisting districts can be a warning sign, but compact districts can still give lopsided results, depending on where people live.

Tip: in the lab, make a strongly clustered town and press the proportional map button. Compare its seats with the plain stripes.

The districting lab lets you draw maps by hand or let a computer search for maps with a chosen goal, and shows seats, wasted votes and compactness for every map. It uses made-up parties and a made-up town, so you can explore the arithmetic without any real-world politics. For a different angle on elections, the voting systems lab compares ways of counting votes in a single race.

Tags:

All blog posts

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product