The **cube rule** or cube law is an empirical observation regarding democratic elections under the first-past-the-post system. The rule suggests that the party getting the most votes is over-represented (and conversely, the party getting the least votes is under-represented). It was first formulated in a report on British elections in 1909, then extended to elections in other countries. Both in theory and in practice, the cube rule is only applicable in a **two-party system**. In a multi-party democracy operating under the first-past-the-post system, the cube law invariably fails, often leading to capricious results.

Suppose we have two parties which receive A and B percent of the vote. According to the cube rule, the ratio of A seats-won to B seats-won should be proportional to A^{3}/B^{3}. So if A wins 60% and B wins 40%, the ratio of votes A/B = 60/40 = 1.5, but the ratio of seats is 60^{3}:40^{3} = 3.375:1. That works out to a ratio of seats of 77:23. In a close election where the popular vote is A=52 and B=48, the seats break 56:44. In other words, the winner gets many extra seats. If there are three parties the ratio of seats will also be proportional to the cube of their votes. Mathematically the cube law works because it is an approximation to the law of large numbers.

The approximation *can* work well; it matched the 2002 U.S. House elections to within one seat.

In New Zealand, the rule predicted the distribution of seats between the two largest parties for most elections prior to election reform. From the 1940s onwards until 1993, after which the rule was irrelevant because of the introduction of mixed member proportional representation, many elections were predicted either exactly or within one seat, with most fluctuations from this in elections where there was a strong third-party showing.

However, in the UK, the cube law has operated erratically. Between 1950 and 1970, elections broadly followed the cube rule, but since 1974 the relationship has broken down, almost entirely to the benefit of the British Labour Party.

Reasons for the recent failure of the cube law in the UK include differential turnout, the rise of the Liberal Democrats mostly at the expense of the Conservatives, tactical voting and inefficiencies in the boundary commissions.

In elections for the United States House of Representatives in 1942, 1996, and 2012, the party that won a plurality of the votes actually won fewer seats in the House of Representatives.