About
How this site works
UK Elections is an independent forecasting project. Every prediction on the site is generated by the same
open model, using public data, and tested on past elections before being published.
In one sentence
What the model does
Take the most recent real result for the contest, swing it by how the parties have moved in the polls
since then (regionally where we can), apply local information about the candidates and the demographics
of the area, and return a predicted vote share for every party.
The eleven steps
How a forecast is built
- Baseline. Start from the most recent real result for that ward or constituency. For wards redrawn since 2016, we reconstruct a notional baseline from neighbouring wards.
- National swing. Adjust each party's share by how much it's moved in the latest UK or country-level polling.
- Strong Transition Model. Apply the swing as a multiplicative move on each party's vote rather than a simple addition, bigger parties move more, smaller parties move less, and no party can go below zero.
- Local-party-strength anchor. Where a party has a long history in a ward (e.g, a Lib Dem stronghold), the prediction is partly anchored to that history, not just the national swing.
- Incumbency and standing-down. Sitting MPs get a small personal-vote bonus. MPs standing down or defecting lose theirs. Anti-incumbency penalties apply to the party that lost the seat last time.
- Tactical voting. A small Labour ↔ Lib Dem ↔ Green progressive transfer is applied in the closest three-way contests, calibrated against the 2017 and 2024 elections.
- Demographic floors and ceilings. Reform UK gets a small lift in areas with high English national identity and high 65+ population; Reform is capped in areas with high Muslim population, where its empirical historical ceiling is around 10–15%.
- Independent ceiling. Independent candidates are capped at 8% in regular contests; the cap is lifted only for known high-profile independents (sitting MPs, recall winners, etc.).
- By-election overlay. If there's been a recent by-election in the ward, its result is blended in with a 30% weight.
- BES prior (general election only). The British Election Study's post-2024 panel data is used as a small prior on each constituency, helping the model in seats with thin local result history.
- Normalise. Make sure the predicted shares add to 100% and write the result.
Each of those steps is shown on every individual ward and constituency page so you can see exactly what shaped any particular forecast.
Data sources
Where the inputs come from
- Candidates and contest geography from Democracy Club, the open candidate-data charity (CC-BY licence).
- Past results from Democracy Club for 2016 onwards; from the House of Commons Library and the Andrew Teale archive for older years; from returning-officer declarations where the boundaries have changed.
- UK Westminster polling from the rolling 14-day average on Wikipedia's polling pages, refreshed daily.
- Demographics from the Office for National Statistics 2021 Census tables (TS021 ethnicity, TS027 national identity, TS030 religion, TS054 tenure, TS066 economic activity, TS067 qualifications, TS007A age structure).
- 2026 demographic projections from UK Demographics' published Hamilton-Perry ethnic projections at local-authority level (HP v7.0).
- British Election Study Wave 1–30 panel data for the per-constituency prior used in the general election forecast.
A full machine-readable manifest of every file that fed the latest forecast, including its sha256, is on the
Transparency page.
How we test ourselves
Backtests are part of the product
Before we published any May 7 prediction, we ran the same model against the real May 2024 results. Before we
published any general election prediction, we ran it against the real 2024 general election using only what
a forecaster running the model in May 2024 would have known.
Both backtests are public, with a full per-party error breakdown and the worst-misses table.
May 2024 local backtest →
2024 general election backtest →
National model
The full nine-step methodology used for English locals, mayoralties, the Senedd and Holyrood, with academic citations.
Read the national model →
General election model
The eleven-step model used for the 650-constituency UK general election forecast, with the BES prior and the demographic floors and ceilings explained in full.
Read the GE model →
Transparency
The data files, sha256 hashes, machine-readable assumptions, and pre-registration manifest behind every forecast.
See the transparency page →
Independence
Who runs this
UK Elections is an independent project. It is not affiliated with any political party, council, candidate,
polling firm, or election authority. It is funded by its author and produces no advertising or sponsored content.