A United Kingdom general election is not one election. It is 650 separate contests held on the same day, each electing a single member of Parliament, and the national result is the sum of those contests rather than anything anyone votes on directly.
What are you actually voting for?
One candidate, in one constituency, to be your member of Parliament. Nothing on the ballot paper concerns who becomes Prime Minister, which party forms a government, or any national question.
This surprises people, and it explains a great deal about how British elections behave. A voter who wants a particular party in government expresses that by voting for its candidate locally, and that is the only mechanism available.
How is each seat decided?
By first past the post. The candidate with the most votes wins, regardless of whether they have a majority of votes cast. There is no threshold and no second round.
A candidate can win a seat with a third of the vote where the opposition is split between several parties, and this happens routinely. Many members of Parliament are elected on less than half the votes in their constituency.
How is the government decided?
By which party can command the confidence of the House of Commons, which normally means holding at least 326 of the 650 seats, adjusted for the Speaker and members who do not take their seats.
The monarch appoints as Prime Minister whoever can command that confidence. Where one party has a clear majority the outcome is obvious within hours; where no party does, negotiation follows.
What is the sequence of events?
The Prime Minister requests a dissolution, Parliament dissolves twenty five working days before polling day, and every seat becomes vacant. Nominations close early in that period, campaigning runs throughout, and polls open from seven in the morning until ten at night on polling day.
Counting begins immediately after polls close, most results are declared overnight, and by the following morning the outcome is normally clear. A Prime Minister may be in Downing Street within eighteen hours of the polls closing.
Why does the vote share not match the seats?
Because the system responds to where votes are rather than how many there are. A party needs to come first in constituencies, and support spread thinly across the whole country produces second places everywhere and nothing else.
This is why parties with similar national vote shares can end up with wildly different seat totals, and why concentrated support is worth far more than evenly distributed support of the same size.
How often are elections held?
At least every five years. A Parliament automatically dissolves five years after it first met, and a Prime Minister may request an earlier dissolution at a time of their choosing.
In practice most Parliaments run for around four years. Running to the full five is generally read as a sign that a government expects to lose and has nothing to gain from going earlier.
Who runs the election?
Local authorities, through returning officers who are responsible for the conduct of the poll and the count in each constituency. The Electoral Commission regulates campaign spending and donations and issues guidance, and does not run elections itself.
This decentralised arrangement is why counts run at different speeds around the country, and why the first results and the last can be separated by more than a day. Each returning officer decides how their count is organised.
Does the same system apply everywhere?
For Westminster elections, yes. All 650 constituencies use first past the post, including in Scotland, Wales and Northern Ireland, and the rules on nominations, deposits and counting are the same throughout.
This is unusual within the United Kingdom, because almost every other election uses something different. The Scottish Parliament and the Senedd use proportional systems, Northern Ireland uses the single transferable vote for its Assembly and councils, and Scottish local elections use it as well. Westminster is the exception rather than the rule among British elections.