The Mackerras pendulum was devised by the Australian psephologist Malcolm Mackerras as a way of predicting the outcome of an election contested between two major parties in a Westminster style lower house legislature such as the Australian House of Representatives, which is composed of single-member electorates and which uses a preferential voting system such as a Condorcet method or IRV.
The pendulum works by lining up all of the seats held in Parliament for the government, the opposition and the crossbenches according to the percentage-point margin they are held by on a two-party-preferred basis. This is also known as the swing required for the seat to change hands. Given a uniform swing to the opposition or government parties, the number of seats that change hands can be predicted.
The two-party preferred (2PP) method of prediction attempts to estimate the flow of second and subsequent preferences from smaller parties in order of their expected elimination during the instant-runoff voting process, to establish ultimately which major party the voters will choose – Labor or Coalition (Liberal/National) in the Australian context. A Coalition 2PP of 51% would mean a Labor 2PP of 49% and vice versa. Whichever party polls the higher two-party-preferred percentage at the election usually holds the majority of seats to form government. Exceptions to this since 2PP was introduced in 1949 were in 1954 (49.3%), 1961 (49.5%), 1969 (49.8%), 1990 (49.90%), and 1998 (49.02%). 1940 was estimated to have been won on 49.7%.