How the vote share is worked out
A vote percentage is the candidate’s votes divided by the total votes cast, times 100. At the defaults, 12,450 divided by 25,000 is 0.498, times 100 is 49.80%. The opponent’s 12,550 divided by 25,000 is 0.502, times 100 is 50.20% — and the two shares always add to 100%. The margin in votes is the candidate minus the opponent: 12,450 minus 12,550 is −100, so your candidate trails by 100 votes. The margin in percentage points is the same difference divided by the total, times 100: −100 divided by 25,000, times 100, is −0.40 points. The votes to tie are the margin itself, 100, because each vote that switches sides counts twice — once for you and once against the opponent. The votes to win are the margin plus one, 101: 100 switched ties the race at 12,550 each, and one more wins it at 12,551 against 12,449. The outright winning threshold is 50% + 1 of the votes cast: half of 25,000 is 12,500, so 12,501 wins without needing any vote to switch.
The worked example, line by line
Setup: candidate 12,450 votes, opponent 12,550 votes, total 25,000 votes.
Line 1 — candidate share. 12,450 / 25,000 × 100 = 49.80%.
Line 2 — opponent share. 12,550 / 25,000 × 100 = 50.20%.
Line 3 — the two shares add up. 49.80% + 50.20% = 100.00%.
Line 4 — margin in votes. 12,450 − 12,550 = −100 votes.
Line 5 — margin in points. −100 / 25,000 × 100 = −0.40 percentage points.
Line 6 — votes to tie. The margin itself: 100 votes must switch sides.
Line 7 — votes to win. 100 + 1 = 101 votes switched wins the race.
Line 8 — winning threshold. 25,000 / 2 + 1 = 12,501 votes wins outright.
Every branch, checked
Three-way race: 12,450, 8,000, and 4,550 votes of 25,000 are 12,450 / 25,000 × 100 = 49.80%, 8,000 / 25,000 × 100 = 32.00%, and 4,550 / 25,000 × 100 = 18.20% — and the three shares add to 100.00%. The leader’s margin over second place is 12,450 − 8,000 = 4,450 votes, or 17.80 points, and the winning threshold is still 50% + 1, which is 12,501 — which nobody reaches, so the leader wins with a plurality, not a majority.
Landslide: 18,000 of 25,000 is 18,000 / 25,000 × 100 = 72.00%, against 7,000 for the opponent, which is 28.00%. The margin is 18,000 − 7,000 = 11,000 votes, or 44.00 points — a lead that big cannot be overturned by a recount, and the votes to tie are 11,000, which no recount finds.
Small election: 87 of 150 is 87 / 150 × 100 = 58.00%, against 63 for the opponent, which is 42.00%. The margin is 87 − 63 = 24 votes, or 16.00 points, and 50% + 1 of 150 is 76 votes — the candidate is 11 votes past the threshold. In a small election every vote moves the share by 0.67 points, so a handful of votes swings the headline.
Exact tie: 12,500 of 25,000 is 50.00% each, the margin is 0 votes, the votes to tie are 0 — it already is — and 1 vote switching sides wins it. What happens next depends on the rules where the election was held: a coin toss, a drawing of lots, or a run-off are the usual answers.
The honest flip: percentage points are not percent
The margin of −0.40 percentage points is not the same as 0.40 percent. A candidate at 49.80% who gains 0.40 points reaches 50.20% — but a candidate who gains 0.40 percent of their own vote only gains 0.40% of 12,450, which is about 50 votes, not 100. The two are confused constantly in election coverage: a lead that narrows from 10 points to 5 points has halved in points, but the leader’s share has only fallen from 55% to 52.5%. The honest way to read a margin is in both units — this calculator gives you both, and the votes themselves, which are the only number a recount can change. See the percentage difference calculator for the same distinction in general form.
What the defaults assume
The defaults are a two-candidate race with 25,000 votes cast: your candidate 12,450, the opponent 12,550, nobody else. The total is the votes cast for candidates — blank and spoiled ballots are not counted, and neither are votes for candidates you did not enter. The shares are rounded to two decimals — 49.80%, 50.20% — and the margin in points to two decimals as well. The votes to tie and to win count votes that switch sides, one at a time: a vote that switches is one fewer for the opponent and one more for you, which is why the margin itself ties the race. If new votes arrive instead of switching, the total grows and the arithmetic changes — the calculator counts switches, not new votes.
Rounding convention, stated plainly: shares are rounded to two decimals — 49.80%, 50.20%, 72.00% — and the two shares in a two-candidate race always add to 100.00% after rounding. Votes are whole numbers: a fractional vote cannot be cast, so the calculator rejects decimals.
Output · formula · meaning
| Output | Formula | What it means |
| Vote share | candidate votes / total × 100 | 49.80% — 12,450 of 25,000 votes. |
| Opponent share | opponent votes / total × 100 | 50.20% — 12,550 of 25,000 votes. |
| Margin in votes | candidate − opponent | −100 votes — trailing by 100. |
| Margin in points | (candidate − opponent) / total × 100 | −0.40 pp — 0.40 points behind. |
| Votes to tie | opponent − candidate | 100 votes must switch sides. |
| Votes to win | margin + 1 | 101 votes switched wins the race. |
| Winning threshold (50% + 1) | total / 2 + 1 | 12,501 votes wins outright. |
| Three-way leader share | 12,450 / 25,000 × 100 | 49.80% against 32.00% and 18.20%. |
| Landslide share | 18,000 / 25,000 × 100 | 72.00% — margin 11,000 votes (44.00 pp). |
| Small election share | 87 / 150 × 100 | 58.00% — margin 24 votes (16.00 pp). |
| Exact tie share | 12,500 / 25,000 × 100 | 50.00% each — margin 0 votes. |
Who uses this
- The campaign manager: trails by 100 votes at 49.80% and learns 101 votes switched wins it — the canvassing target is a number of doors, not a feeling.
- The election-night watcher: sees 18,000 of 25,000 and learns that is 72.00% — a margin of 11,000 votes, or 44.00 points — and that no recount overturns a lead that big.
- The small-club treasurer: counts 87 of 150 and learns that is 58.00% — a margin of 24 votes — and that 76 votes is the 50% + 1 threshold, so the motion passes with room to spare.
- The three-way candidate: leads with 49.80% against 32.00% and 18.20% and learns nobody reaches the 12,501 winning threshold — the win is a plurality, and the margin over second place is 4,450 votes.
Accuracy & limitations
The math is exact for the numbers you enter: the share is the candidate’s votes divided by the total, times 100; the margin is the candidate minus the opponent, in votes and in percentage points; the votes to tie are the margin itself; the votes to win are the margin plus one; the winning threshold is half the total plus one. But the inputs carry the assumptions. The total is the votes cast for candidates — blank and spoiled ballots are not counted, and a total that leaves them out gives slightly higher shares than a total that includes them. The votes to tie and to win count votes that switch sides, one at a time: a vote that switches is one fewer for the opponent and one more for you. If new votes arrive instead, the total grows and the arithmetic changes — the calculator does not model late-arriving votes. The winning threshold of 50% + 1 assumes a simple majority wins: in a race that needs a supermajority, or an electoral college, or a ranked-choice count, the threshold is different and this calculator does not apply. Shares are rounded to two decimals, so in a very large election a share can be off by a hundredth of a point from the unrounded figure. No studies or statistics are cited on this page, because none are needed: every figure is arithmetic on the numbers you enter.
Cite this calculatorBright Side Kit. “Vote Percentage Calculator: Share, Margin & Votes to Win.” brightoolbox.com, 2026. Method: share = candidate votes / total × 100; margin = candidate − opponent, in votes and percentage points; votes to tie = margin; votes to win = margin + 1; winning threshold = total / 2 + 1. Defaults: 12,450 of 25,000 → 49.80% vs 50.20%, margin −100 votes (−0.40 pp), 100 to tie, 101 to win, threshold 12,501. Branches: three-way 12,450 / 8,000 / 4,550 → 49.80% / 32.00% / 18.20%; landslide 18,000 / 25,000 → 72.00%, margin 11,000 (44.00 pp); small election 87 / 150 → 58.00%; tie 12,500 / 25,000 → 50.00% each.Bright Side Kit. "Vote Percentage Calculator: Share, Margin & Votes to Win" https://brightoolbox.com/vote-percentage-calculator/ Accessed October 24, 2026.
Embed this calculatorPaste this into any web page to embed the live calculator. The “Powered by Bright Side Kit” link below it must stay intact.