The Liberal Democrats elect their leader by a ballot of the whole membership, using the single transferable vote. The system is simpler than either of the two larger parties, and the practical constraint is not the voting method but the small size of the parliamentary party from which candidates must come.
Who can stand?
A member of the House of Commons taking the Liberal Democrat whip. This is set out in the party constitution, and it is the most significant restriction, because in parliaments where the party has held only a handful of seats the pool of eligible candidates has been very small.
Candidates must also secure nominations, both from fellow members of Parliament and from a specified number of local parties, which demonstrates support in the wider organisation as well as at Westminster.
Who votes?
Every party member, with one vote each of equal weight. There is no electoral college, no separate union or affiliate section, and no parliamentary stage that eliminates candidates before members see them.
Members must have joined by a cut off date to be eligible, and voting is by post or online. The result is announced by the party once the count is complete.
How is the count conducted?
By the single transferable vote, which in a single vacancy election operates as the alternative vote. Members rank candidates in order of preference, and if no candidate has a majority of first preferences the lowest placed is eliminated and their votes redistributed.
The party uses preferential voting throughout its internal elections, which is consistent with its long standing support for proportional representation in public elections. It is one of the clearer examples of a party applying its own policy internally.
Why do some contests have only one candidate?
Because of the arithmetic. When the parliamentary party is small, the number of members willing and able to stand may be one, and if only one valid nomination is received that candidate is declared elected without a ballot.
This has happened more than once and is a straightforward consequence of the eligibility rule rather than of any procedural manoeuvre. It does attract criticism, since the membership is then not consulted at all.
How does a vacancy arise?
Through resignation, death, or a vote of no confidence. The party constitution provides that a leadership election is triggered if the leader loses a confidence vote among Liberal Democrat members of Parliament, or on receipt of requests from a specified proportion of local parties.
A leadership election is also automatically triggered at a set point after a general election in some circumstances, which prevents a leader continuing indefinitely without a fresh mandate from the membership.
What about the deputy leader?
Elected by Liberal Democrat members of Parliament rather than by the membership, which is a different arrangement from the leadership itself. The deputy stands in when the leader is unavailable, including at Prime Minister Questions.
There are also separate leaders for the party in Scotland and in Wales, elected by members in those nations, reflecting the federal structure of the organisation. Those leaders operate with real autonomy over devolved policy.
How does this compare with the other parties?
The Liberal Democrat system gives members the most direct say of the three. Labour requires nomination thresholds among members of Parliament and then a full membership ballot; the Conservatives allow members of Parliament to narrow the field to two before members vote at all.
The Liberal Democrat arrangement has no equivalent filtering stage, and the constraint operates earlier, through the requirement that candidates be sitting members of the Commons. Which of the three arrangements is most democratic depends entirely on whether you think the parliamentary party should have a gatekeeping role, which is the same argument in all three cases.
The party constitution setting all of this out is published in full on the Liberal Democrat website, and the rules governing any particular contest, including the timetable and the cut off date for membership eligibility, are announced when a vacancy arises.