Kemeny–Young method
Each possible complete ranking of the candidates is given a "distance" score. For each pair of candidates, find the number of ballots that order them the the opposite way as the given ranking. The distance is the sum across all such pairs. The ranking with the least distance wins.
The winning candidate is the top candidate in the winning ranking.
Strategic Vulnerability
KemenyYoung is vulnerable to compromising, burying, and crowding.
Example
Imagine that Tennessee is having an election on the location of its capital. The population of Tennessee is concentrated around its four major cities, which are spread throughout the state. For this example, suppose that the entire electorate lives in these four cities, and that everyone wants to live as near the capital as possible.
The candidates for the capital are:
 Memphis, the state's largest city, with 42% of the voters, but located far from the other cities
 Nashville, with 26% of the voters, near the center of Tennessee
 Knoxville, with 17% of the voters
 Chattanooga, with 15% of the voters
The preferences of the voters would be divided like this:
42% of voters (close to Memphis) 
26% of voters (close to Nashville) 
15% of voters (close to Chattanooga) 
17% of voters (close to Knoxville) 





Consider the ranking Nashville>Chattanooga>Knoxville>Memphis. This ranking contains 6 orderings of pairs of candidates:
 Nashville>Chattanooga, for which 32% of the voters disagree.
 Nashville>Knoxville, for which 32% of the voters disagree.
 Nashville>Memphis, for which 42% of the voters disagree.
 Chattanooga>Knoxville, for which 17% of the voters disagree.
 Chattanooga>Memphis, for which 42% of the voters disagree.
 Knoxville>Memphis, for which 42% of the voters disagree.
The distance score for this ranking is 32+32+42+17+42+42=207.
It can be shown that this ranking is the one with the lowest distance score. Therefore, the winning ranking is Nashville>Chattanooga>Knoxville>Memphis, and so the winning candidate is Nashville.
Notes
If, when the distance score of a ranking A>B>C is being calculated, a voter who ranked B but not A is treated as ordering A and B the opposite way as the ranking, then the KemenyYoung ranking is a Smith set ranking. This is because any candidate in the nth Smith set will always be ranked higher than any candidate in a lower Smith set by more voters than vice versa by definition (because the nth Smith set candidate pairwise beats all candidates in lower Smith sets), so if you take any nonSmith set ranking and minimally modify it to become a Smith set ranking, this will always reduce the distance score. In other words, if there is some ranking which puts a candidate in the nth Smith set after some candidate in a lower Smith set, then modifying it to swap the two will reduce the distance created by that pair of candidates.
See Pairwise sorted methods, which do what is called "Local Kemenization" to produce a ranking, while being cloneproof.
External links
Some text of this article is derived with permission from Electoral Methods: Single Winner.