Description
Return marginVotes=winnerVotes-runnerUpVotes and marginShare=marginVotes/validVotes.
Election and representation indicators depend on the selected vote, seat, population, or eligibility denominator. A threshold also needs an explicit equality and rounding rule. A single quotient, balance, or share can support a larger counting workflow without implementing the full electoral procedure.
Return marginVotes=winnerVotes-runnerUpVotes and marginShare=marginVotes/validVotes.
When to use this tool
Use Plurality Winning Margin Vote Share when you need this particular counting term under an explicit vote, seat, threshold, or reporting-base rule.
How to use the tool and how it works
- Enter winnerVotes, runnerUpVotes, validVotes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read marginVotes, marginShare. Use the output convention below.
Require positive validVotes, runnerUpVotes within that total, and winnerVotes from runnerUpVotes through validVotes-runnerUpVotes. Return marginVotes=winnerVotes-runnerUpVotes and marginShare=marginVotes/validVotes.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| winnerVotes | Winner Votes | Required. Safe integer. |
| runnerUpVotes | Runner Up Votes | Required. Safe integer; minimum 0. |
| validVotes | Valid Votes | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| marginVotes | Margin Votes | Required. Safe integer. |
| marginShare | Margin Share | Required. Finite number. |
{
"input": {
"winnerVotes": 500,
"runnerUpVotes": 400,
"validVotes": 1000
},
"output": {
"marginVotes": 100,
"marginShare": 0.1
}
} Limitations and assumptions
- A tied pair is allowed. Counts for all other candidates and actual winner ordering are not supplied; the result alone does not certify a plurality outcome.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Compare the supplied counting rule with the authoritative procedure for the relevant election or chamber. Complete allocations need additional eligibility, ranking, transfer, tie, and reporting rules beyond one arithmetic term.
References
Similar or alternative tools
- Coalition Minimum Winning Removal Test
A minimum winning coalition here means inclusion-minimal: removing any included party loses the supplied majority.
- District Magnitude Vote Quota Term
Hare votes-per-seat quotient on an explicit valid-vote base.