Election Data Lab · Uttar Pradesh
Uttar Pradesh election statistics, 2012 to 2022
In the 2022 assembly election, Bharatiya Janata Party (BJP) won 255 seats on 41.29% of the vote and Samajwadi Party (SP) won 111 seats on 32.06% of the vote, out of 403. This page measures three elections' votes, seats, margins, turnout and candidates; every figure is computed from the Election Commission of India's result files.
Election Commission files as read on 28 November 2026 · Our standards for political coverage · हिन्दी में पढ़ें
1Votes into seats
In 2022, Bharatiya Janata Party (BJP) won 255 of 403 seats (63.28%) with 41.29% of the valid votes. The Gallagher index was 18.20 and the Loosemore-Hanby index 24.02.
Both indices say how far parties' seat shares were from their vote shares: zero means the two match, and the higher the figure, the wider the gap. The Gallagher index was 19.70 in 2012, 30.37 in 2017 and 18.20 in 2022. The party with the most seats was SP in 2012 (29.13% of votes, 55.58% of seats), BJP in 2017 (39.67% of votes, 77.42% of seats) and BJP in 2022 (41.29% of votes, 63.28% of seats).
2012
2017
2022
- Solid bar: vote share
- Outlined bar: seat share
| Party | Candidates | Votes | Vote share | Seats | Seat share | Seat share less vote share (points) |
|---|---|---|---|---|---|---|
| BJP | 376 | 3,80,51,721 | 41.29% | 255 | 63.28% | +21.99 |
| SP | 347 | 2,95,43,934 | 32.06% | 111 | 27.54% | −4.51 |
| BSP | 403 | 1,18,73,137 | 12.88% | 1 | 0.25% | −12.63 |
| RLD | 33 | 26,30,168 | 2.85% | 8 | 1.99% | −0.87 |
| INC | 399 | 21,51,234 | 2.33% | 2 | 0.50% | −1.84 |
| ADAL | 17 | 14,93,181 | 1.62% | 12 | 2.98% | +1.36 |
| SBSP | 19 | 12,52,925 | 1.36% | 6 | 1.49% | +0.13 |
| NINSHAD | 10 | 8,40,584 | 0.91% | 6 | 1.49% | +0.58 |
| JDL | 16 | 1,91,874 | 0.21% | 2 | 0.50% | +0.29 |
| Other parties (277) | 1,797 | 24,72,633 | 2.68% | 0 | 0.00% | −2.68 |
| Independents | 1,025 | 10,24,193 | 1.11% | 0 | 0.00% | −1.11 |
| NOTA (none of the above) | 6,37,313 | 0.69% | ||||
| Total | 4,442 | 9,21,62,897 | 100.00% | 403 | 100.00% |
| Party | Candidates | Votes | Vote share | Seats | Seat share | Seat share less vote share (points) |
|---|---|---|---|---|---|---|
| BJP | 384 | 3,44,03,299 | 39.67% | 312 | 77.42% | +37.75 |
| BSP | 403 | 1,92,81,340 | 22.23% | 19 | 4.71% | −17.52 |
| SP | 311 | 1,89,23,769 | 21.82% | 47 | 11.66% | −10.16 |
| INC | 114 | 54,16,540 | 6.25% | 7 | 1.74% | −4.51 |
| RLD | 277 | 15,45,811 | 1.78% | 1 | 0.25% | −1.53 |
| ADAL | 11 | 8,51,336 | 0.98% | 9 | 2.23% | +1.25 |
| SBSP | 8 | 6,07,911 | 0.70% | 4 | 0.99% | +0.29 |
| NINSHAD | 72 | 5,40,539 | 0.62% | 1 | 0.25% | −0.38 |
| Other parties (294) | 1,811 | 21,70,683 | 2.50% | 0 | 0.00% | −2.50 |
| Independents | 1,462 | 22,29,453 | 2.57% | 3 | 0.74% | −1.83 |
| NOTA (none of the above) | 7,57,643 | 0.87% | ||||
| Total | 4,853 | 8,67,28,324 | 100.00% | 403 | 100.00% |
| Party | Candidates | Votes | Vote share | Seats | Seat share | Seat share less vote share (points) |
|---|---|---|---|---|---|---|
| SP | 401 | 2,20,90,571 | 29.13% | 224 | 55.58% | +26.45 |
| BSP | 403 | 1,96,47,303 | 25.91% | 80 | 19.85% | −6.06 |
| BJP | 398 | 1,13,71,080 | 15.00% | 47 | 11.66% | −3.33 |
| INC | 355 | 88,32,895 | 11.65% | 28 | 6.95% | −4.70 |
| PECP | 208 | 17,84,258 | 2.35% | 4 | 0.99% | −1.36 |
| RLD | 46 | 17,63,354 | 2.33% | 9 | 2.23% | −0.09 |
| JaKP | 208 | 9,43,614 | 1.24% | 0 | 0.00% | −1.24 |
| AD | 76 | 6,78,924 | 0.90% | 1 | 0.25% | −0.65 |
| QED | 43 | 4,17,552 | 0.55% | 2 | 0.50% | −0.05 |
| NCP | 127 | 2,48,283 | 0.33% | 1 | 0.25% | −0.08 |
| IEMC | 18 | 1,90,052 | 0.25% | 1 | 0.25% | −0.00 |
| Other parties (210) | 2,865 | 47,29,460 | 6.24% | 0 | 0.00% | −6.24 |
| Independents | 1,691 | 31,34,336 | 4.13% | 6 | 1.49% | −2.64 |
| Total | 6,839 | 7,58,31,682 | 100.00% | 403 | 100.00% |
| Election | Gallagher index | Loosemore-Hanby index |
|---|---|---|
| Assembly 2012 | 19.70 | 27.45 |
| Assembly 2017 | 30.37 | 39.32 |
| Assembly 2022 | 18.20 | 24.02 |
| Lok Sabha 2024 (a different kind of election) | 11.20 | 14.77 |
Both indices are computed on the votes polled for candidates; NOTA is left out because it cannot win a seat, and each independent is counted on their own. The Lok Sabha 2024 row covers the State's 80 Lok Sabha seats and is not directly comparable with an assembly election.
A vote share in the tables is a share of all valid votes, NOTA included, as the Election Commission prints it. A party has its own row when it won a seat or polled 1% or more; the rest are added up as "Other parties". In the chart, "Others" is those parties and all independents together.
2How many parties really compete
By votes, the effective number of parties in 2022 was 3.38; by seats it was 2.09. In 2012 the two figures were 5.27 and 2.72.
The effective number of parties (Laakso-Taagepera) is the number of equal-sized parties that would give the same spread: two equal parties give 2, and the larger one party grows, the lower the number. The same measure on one seat's candidates gives the effective number of candidates; in the median seat it was 4.10 in 2012, 3.07 in 2017 and 2.71 in 2022.
- By votes
- By seats
2012
2017
2022
| Election | By votes | By seats |
|---|---|---|
| Assembly 2012 | 5.27 | 2.72 |
| Assembly 2017 | 3.80 | 1.62 |
| Assembly 2022 | 3.38 | 2.09 |
| Lok Sabha 2024 (a different kind of election) | 3.26 | 2.56 |
| Effective number of candidates | 2012 | 2017 | 2022 |
|---|---|---|---|
| <2 | 0 | 1 | 4 |
| 2–2.5 | 7 | 29 | 113 |
| 2.5–3 | 28 | 139 | 197 |
| 3–3.5 | 59 | 175 | 73 |
| 3.5–4 | 90 | 39 | 13 |
| 4+ | 219 | 20 | 3 |
| Median | 4.10 | 3.07 | 2.71 |
The count is on the votes polled for candidates (NOTA left out), and each independent is an entry of their own, because independents are not one party.
3Volatility: how far votes moved between elections
Between 2017 and 2022 the Pedersen index of volatility was 16.59; between 2012 and 2017 it was 28.12.
The Pedersen index adds up the change in every party's vote share and halves it: the net share of the vote that moved between parties. A party present at only one of the two elections counts with its whole share as change.
The same arithmetic between the 2022 assembly election and the 2024 Lok Sabha election gives 10.62. These are two different kinds of election (different seats, different candidates, and parties do not stand everywhere), so do not read that figure as equal to an assembly-to-assembly comparison.
The grey bar compares two different kinds of election.
| Party | 2017 | 2022 | Change (points) |
|---|---|---|---|
| SP | 22.01% | 32.28% | +10.27 |
| BSP | 22.43% | 12.97% | −9.46 |
| INC | 6.30% | 2.35% | −3.95 |
| BJP | 40.02% | 41.57% | +1.56 |
| Independents | 2.59% | 1.12% | −1.47 |
| RLD | 1.80% | 2.87% | +1.08 |
| Pedersen index | 16.59 |
| Party | 2012 | 2017 | Change (points) |
|---|---|---|---|
| BJP | 15.00% | 40.02% | +25.02 |
| SP | 29.13% | 22.01% | −7.12 |
| INC | 11.65% | 6.30% | −5.35 |
| BSP | 25.91% | 22.43% | −3.48 |
| PECP | 2.35% | 0.27% | −2.09 |
| Independents | 4.13% | 2.59% | −1.54 |
| JaKP | 1.24% | 0.00% | −1.24 |
| Pedersen index | 28.12 |
| Party | 2022 | 2024 | Change (points) |
|---|---|---|---|
| INC | 2.35% | 9.53% | +7.18 |
| BSP | 12.97% | 9.46% | −3.52 |
| RLD | 2.87% | 1.02% | −1.85 |
| SP | 32.28% | 33.84% | +1.56 |
| Pedersen index | 10.62 |
Shares in this section are of the votes polled for candidates (NOTA left out), so the 2017 and 2022 figures are slightly higher than the vote shares in the tables above. All independents are one group here, because an independent at one election cannot be matched to one at the next.
Parties are matched by the name in the Commission's list of parties, not by abbreviation. The Commission changed the abbreviation of these parties: Adarsh Samaj Party, ASP in 2012 and ADRSP in 2017; Asankhya Samaj Party, Aa S P in 2012 and ASSP in 2017; Rashtriya Jan Adhikar Party, RJAP in 2012 and RAJADP in 2017; Communist Party of India (Marxist), CPM in 2017 and CPI(M) in 2022. In 32 more cases only the capital letters changed. A party that split, merged or registered under a new name is a different party to the Commission and is counted as one here.
4Seat flows: which party's seats went where
Of 403 seats, 278 were won by the same party in 2017 and in 2022; between 2012 and 2017 the figure was 82.
Each band in the diagram is the seats one party won at one election and a party won at the next; its thickness is the number of seats. Parties that won at least 5 seats at one of the three elections are drawn on their own; the rest, with independents, are "Others". The tables below list every party separately. Wins by independents at two elections are not counted as "the same party".
- BJP
- SP
- BSP
- INC
- RLD
- ADAL
- SBSP
- NINSHAD
- Others
| Won in 2017 | Won in 2022 | Seats |
|---|---|---|
| BJP | BJP | 232 |
| BJP | SP | 59 |
| SP | SP | 36 |
| BSP | SP | 11 |
| SP | BJP | 10 |
| BJP | ADAL | 8 |
| BJP | RLD | 6 |
| BSP | BJP | 5 |
| ADAL | ADAL | 4 |
| ADAL | BJP | 4 |
| INC | SP | 4 |
| BJP | NINSHAD | 3 |
| BJP | SBSP | 3 |
| INC | BJP | 2 |
| Independents | JDL | 2 |
| SBSP | BJP | 2 |
| SBSP | SBSP | 2 |
| ADAL | SP | 1 |
| BJP | INC | 1 |
| BSP | BSP | 1 |
| BSP | RLD | 1 |
| BSP | SBSP | 1 |
| INC | INC | 1 |
| Independents | NINSHAD | 1 |
| NINSHAD | NINSHAD | 1 |
| RLD | RLD | 1 |
| SP | NINSHAD | 1 |
| Total | 403 |
| Won in 2012 | Won in 2017 | Seats |
|---|---|---|
| SP | BJP | 162 |
| BSP | BJP | 70 |
| BJP | BJP | 40 |
| SP | SP | 36 |
| INC | BJP | 24 |
| SP | BSP | 13 |
| SP | ADAL | 8 |
| RLD | BJP | 7 |
| BJP | SP | 5 |
| BSP | SP | 4 |
| BSP | BSP | 3 |
| PECP | BJP | 3 |
| SP | SBSP | 3 |
| BSP | INC | 2 |
| INC | INC | 2 |
| Independents | BJP | 2 |
| Independents | Independents | 2 |
| AD | BJP | 1 |
| BJP | BSP | 1 |
| BJP | INC | 1 |
| BSP | SBSP | 1 |
| IEMC | BJP | 1 |
| INC | Independents | 1 |
| INC | SP | 1 |
| Independents | ADAL | 1 |
| Independents | SP | 1 |
| NCP | BJP | 1 |
| PECP | INC | 1 |
| QED | BJP | 1 |
| QED | BSP | 1 |
| RLD | BSP | 1 |
| RLD | RLD | 1 |
| SP | INC | 1 |
| SP | NINSHAD | 1 |
| Total | 403 |
By-elections are not included: each column is the general election result.
5Margins
In 2022, 30 seats were won by under 1, 50 seats were won by under 2 and 131 seats were won by under 5 percentage points of the votes counted. The median margin was 8.87%.
A margin here is the winner's votes less the runner-up's, as a share of the votes counted in the seat. The median margin was 6.02% in 2012, 11.96% in 2017 and 8.87% in 2022.
2012
2017
2022
| Year | Under 1 point | Under 2 points | Under 5 points | Median margin |
|---|---|---|---|---|
| 2012 | 41 | 74 | 170 | 6.02% |
| 2017 | 20 | 45 | 80 | 11.96% |
| 2022 | 30 | 50 | 131 | 8.87% |
Each column includes the seats in the column before it.
| Margin (% of votes counted) | 2012 | 2017 | 2022 |
|---|---|---|---|
| <1 | 41 | 20 | 30 |
| 1–2 | 33 | 25 | 20 |
| 2–5 | 96 | 35 | 81 |
| 5–10 | 107 | 83 | 91 |
| 10–20 | 103 | 145 | 119 |
| 20–30 | 20 | 70 | 37 |
| 30+ | 3 | 25 | 25 |
| Total | 403 | 403 | 403 |
6Turnout
Across the State, 61.03% of electors voted in 2022. Turnout by seat ran from 39.80% to 76.33%, with the median seat at 61.08%.
The Commission's 2017 Constituency Data Summary leaves out the voters of 11 seats (Dhaurahra, number 141; Lucknow East, number 173; Isauli, number 187; Etawah, number 200; Phulpur, number 256; Pratappur, number 257; Handia, number 258; Meja, number 259; Karachhana, number 260; Bara, number 264; Aurai, number 394). They are left out of every 2017 turnout figure, which covers the other 392 seats.
2012 (403 seats)
2017 (392 seats)
2022 (403 seats)
| Year | Seats covered | Statewide | Median seat | Lowest seat | Highest seat |
|---|---|---|---|---|---|
| 2012 | 403 | 59.52% | 59.49% | 40.90% | 77.21% |
| 2017 | 392 | 61.33% | 61.26% | 41.92% | 77.56% |
| 2022 | 403 | 61.03% | 61.08% | 39.80% | 76.33% |
Statewide: voters in the seats covered as a share of the electors in those seats.
| Turnout (%) | 2012 | 2017 | 2022 |
|---|---|---|---|
| <45 | 2 | 1 | 2 |
| 45–50 | 16 | 8 | 10 |
| 50–55 | 62 | 34 | 35 |
| 55–60 | 139 | 114 | 123 |
| 60–65 | 112 | 130 | 126 |
| 65–70 | 55 | 75 | 85 |
| 70–75 | 15 | 27 | 19 |
| 75+ | 2 | 3 | 3 |
| Total | 403 | 392 | 403 |
Turnout is the Constituency Data Summary's total voters (EVM voters and postal ballots received) as a share of total electors.
7Candidates
4,442 candidates stood in 2022, an average of 11.0 a seat; in 2012 there were 6,839 (17.0 a seat). In 2022, 559 candidates (12.58%) were women, and women won 47 seats.
Counted from the votes, 3,519 of 4,442 candidates (79.22%) lost their deposit in 2022. Under section 158 of the Representation of the People Act, 1951, a candidate loses the deposit if they are not elected and poll no more than one-sixth of the valid votes polled by all the candidates. The Commission's Performance of Political Parties table prints 3,519 forfeited deposits for 2022; our count equals the Commission's figure for every party at all three elections.
- Solid bar: share of candidates
- Outlined bar: share of winners
| Measure | 2012 | 2017 | 2022 |
|---|---|---|---|
| Candidates | 6,839 | 4,853 | 4,442 |
| Average per seat | 17.0 | 12.0 | 11.0 |
| Median seat | 16 | 12 | 11 |
| Fewest in a seat | 7 | 3 | 3 |
| Most in a seat | 34 | 26 | 25 |
| Women candidates | 583 (8.52%) | 482 (9.93%) | 559 (12.58%) |
| Seats won by women | 35 (8.68%) | 42 (10.42%) | 47 (11.66%) |
| Winners' median age | 49 | 51 | 52 |
| Deposits lost (counted from votes) | 5,760 (84.22%) | 3,736 (76.98%) | 3,519 (79.22%) |
| Forfeited deposits (Commission's figure) | 5,760 | 3,736 | 3,519 |
Sex and age are as the Commission records them for each candidate. The Commission's 2017 table prints no grand total; its party rows are added up.
| Party | 2012 | 2017 | 2022 |
|---|---|---|---|
| BJP | 44 / 398 | 46 / 384 | 45 / 376 |
| SP | 37 / 401 | 34 / 311 | 42 / 347 |
| BSP | 32 / 403 | 21 / 403 | 37 / 403 |
| INC | 37 / 355 | 12 / 114 | 155 / 399 |
| RLD | 2 / 46 | 27 / 277 | 2 / 33 |
| ADAL | – | 2 / 11 | 3 / 17 |
| SBSP | 3 / 52 | 1 / 8 | 1 / 19 |
| PECP | 12 / 208 | 3 / 68 | 4 / 28 |
| NINSHAD | – | 7 / 72 | 0 / 10 |
| AD | 7 / 76 | 0 / 2 | – |
| QED | 2 / 43 | – | – |
| NCP | 7 / 127 | 1 / 30 | 0 / 1 |
| IEMC | 3 / 18 | 1 / 13 | – |
| JDL | – | – | 1 / 16 |
| Independents | 120 / 1,691 | 143 / 1,462 | 98 / 1,025 |
| Others | 277 / 3,021 | 184 / 1,698 | 171 / 1,768 |
| Total | 583 / 6,839 | 482 / 4,853 | 559 / 4,442 |
| Party | 2012 | 2017 | 2022 |
|---|---|---|---|
| BJP | 7 / 47 | 36 / 312 | 29 / 255 |
| SP | 20 / 224 | 1 / 47 | 14 / 111 |
| BSP | 3 / 80 | 2 / 19 | 0 / 1 |
| INC | 3 / 28 | 2 / 7 | 1 / 2 |
| RLD | 0 / 9 | 0 / 1 | 0 / 8 |
| ADAL | – | 1 / 9 | 3 / 12 |
| SBSP | – | 0 / 4 | 0 / 6 |
| PECP | 0 / 4 | – | – |
| NINSHAD | – | 0 / 1 | 0 / 6 |
| AD | 1 / 1 | – | – |
| QED | 0 / 2 | – | – |
| NCP | 0 / 1 | – | – |
| IEMC | 0 / 1 | – | – |
| JDL | – | – | 0 / 2 |
| Independents | 1 / 6 | 0 / 3 | – |
| Others | – | – | – |
| Total | 35 / 403 | 42 / 403 | 47 / 403 |
| Party | 2012 | 2017 | 2022 |
|---|---|---|---|
| BJP | 53 (47) | 51 (312) | 53 (255) |
| SP | 50 (224) | 53 (47) | 52 (111) |
| BSP | 46.5 (80) | 49 (19) | – |
| INC | 47.5 (28) | 42 (7) | – |
| RLD | 55 (9) | – | 50.5 (8) |
| ADAL | – | 45 (9) | 50.5 (12) |
| SBSP | – | – | 61.5 (6) |
| NINSHAD | – | – | 41.5 (6) |
| Independents | 37.5 (6) | – | – |
| Total | 49 (403) | 51 (403) | 52 (403) |
A median is given only where a party has at least 5 winners, so that no one person's age is singled out.
| Party | 2012 | 2017 | 2022 |
|---|---|---|---|
| BJP | 229 / 398 | 5 / 384 | 3 / 376 |
| SP | 53 / 401 | 25 / 311 | 6 / 347 |
| BSP | 51 / 403 | 81 / 403 | 287 / 403 |
| INC | 240 / 355 | 29 / 114 | 387 / 399 |
| RLD | 20 / 46 | 266 / 277 | 3 / 33 |
| ADAL | – | 0 / 11 | 0 / 17 |
| SBSP | 48 / 52 | 0 / 8 | 5 / 19 |
| PECP | 193 / 208 | 67 / 68 | 28 / 28 |
| NINSHAD | – | 70 / 72 | 0 / 10 |
| AD | 69 / 76 | 2 / 2 | – |
| QED | 37 / 43 | – | – |
| NCP | 126 / 127 | 30 / 30 | 0 / 1 |
| IEMC | 16 / 18 | 12 / 13 | – |
| JDL | – | – | 14 / 16 |
| Independents | 1,681 / 1,691 | 1,455 / 1,462 | 1,022 / 1,025 |
| Others | 2,997 / 3,021 | 1,694 / 1,698 | 1,764 / 1,768 |
| Total | 5,760 / 6,839 | 3,736 / 4,853 | 3,519 / 4,442 |
| The Commission's printed figure | 5,760 | 3,736 | 3,519 |
This is a count from the votes, not the Returning Officer's order. NOTA is not a candidate, so NOTA votes are not part of the total the one-sixth is taken of.
The "by party" tables list the parties that won a seat at any of the three elections; other parties are added up as "Others" and independents have their own row.
8Reserved seats
In 2022 the Commission's list had 317 seats in the general category, 84 seats reserved for Scheduled Castes and 2 seats reserved for Scheduled Tribes. BJP won the most General seats (195 of 317); BJP won the most SC seats (58 of 84); BJP won the most ST seats (2 of 2).
- BJP
- SP
- BSP
- INC
- RLD
- ADAL
- SBSP
- PECP
- NINSHAD
- Other parties and independents
| Year | Category of seat | Seats | Won by |
|---|---|---|---|
| 2022 | General | 317 | BJP 195SP 95ADAL 7RLD 7NINSHAD 6SBSP 3INC 2BSP 1JDL 1 |
| 2022 | Reserved for Scheduled Castes (SC) | 84 | BJP 58SP 16ADAL 5SBSP 3JDL 1RLD 1 |
| 2022 | Reserved for Scheduled Tribes (ST) | 2 | BJP 2 |
| 2017 | General | 317 | BJP 242SP 40BSP 17INC 7ADAL 6Independents 2NINSHAD 1RLD 1SBSP 1 |
| 2017 | Reserved for Scheduled Castes (SC) | 84 | BJP 69SP 7SBSP 3ADAL 2BSP 2Independents 1 |
| 2017 | Reserved for Scheduled Tribes (ST) | 2 | ADAL 1BJP 1 |
| 2012 | General | 318 | SP 166BSP 65BJP 44INC 24RLD 6Independents 4PECP 4QED 2AD 1IEMC 1NCP 1 |
| 2012 | Reserved for Scheduled Castes (SC) | 85 | SP 58BSP 15INC 4BJP 3RLD 3Independents 2 |
| 2012 | Reserved for Scheduled Tribes (ST) | 0 | none |
The category is the seat's, as the Commission prints it: the 2012 list for 2012, and the 2022 list for 2017 and 2022 (the markers in the 2017 summary file disagree with the Commission's other files in places and are not used). These are counts only: nothing about any candidate or voter is inferred from them.
9Districts
One party won every seat in 14 districts in 2012, 27 districts in 2017 and 25 districts in 2022, out of the State's 75 districts.
| District | Seats | 2012 | 2017 | 2022 |
|---|---|---|---|---|
| Agra | 9 | BSP 6BJP 2SP 1 | BJP 9 | BJP 9 |
| Aligarh | 7 | SP 4RLD 3 | BJP 7 | BJP 7 |
| Ambedkar Nagar | 5 | SP 5 | BSP 3BJP 2 | SP 5 |
| Amethi | 4 | INC 2SP 2 | BJP 3SP 1 | BJP 2SP 2 |
| Amroha | 4 | SP 4 | BJP 3SP 1 | BJP 2SP 2 |
| Auraiya | 3 | SP 3 | BJP 3 | SP 2BJP 1 |
| Ayodhya | 5 | SP 4BJP 1 | BJP 5 | BJP 3SP 2 |
| Azamgarh | 10 | SP 9BSP 1 | SP 5BSP 4BJP 1 | SP 10 |
| Baghpat | 3 | BSP 2RLD 1 | BJP 2RLD 1 | BJP 2RLD 1 |
| Bahraich | 7 | BJP 2INC 2SP 2BSP 1 | BJP 6SP 1 | BJP 4SP 2ADAL 1 |
| Ballia | 7 | SP 5BJP 1BSP 1 | BJP 5BSP 1SP 1 | SP 3BJP 2BSP 1SBSP 1 |
| Balrampur | 4 | SP 4 | BJP 4 | BJP 3SP 1 |
| Banda | 4 | INC 2BSP 1SP 1 | BJP 4 | BJP 3SP 1 |
| Barabanki | 6 | SP 6 | BJP 5SP 1 | BJP 3SP 3 |
| Bareilly | 9 | BJP 3SP 3BSP 2IEMC 1 | BJP 9 | BJP 7SP 2 |
| Basti | 5 | BSP 2SP 2INC 1 | BJP 5 | SP 3BJP 1SBSP 1 |
| Bhadohi | 3 | SP 3 | BJP 2NINSHAD 1 | BJP 1NINSHAD 1SP 1 |
| Bijnor | 8 | BSP 4BJP 2SP 2 | BJP 6SP 2 | BJP 4SP 4 |
| Budaun | 6 | SP 4BSP 2 | BJP 5SP 1 | BJP 3SP 3 |
| Bulandshahr | 7 | BSP 2INC 2SP 2BJP 1 | BJP 7 | BJP 7 |
| Chandauli | 4 | Independents 2BSP 1SP 1 | BJP 3SP 1 | BJP 3SP 1 |
| Chitrakoot | 2 | BSP 1SP 1 | BJP 2 | ADAL 1SP 1 |
| Deoria | 7 | SP 5BJP 1INC 1 | BJP 6SP 1 | BJP 7 |
| Etah | 4 | SP 4 | BJP 4 | BJP 4 |
| Etawah | 3 | SP 3 | BJP 2SP 1 | SP 2BJP 1 |
| Farrukhabad | 4 | SP 3Independents 1 | BJP 4 | BJP 3ADAL 1 |
| Fatehpur | 6 | BSP 3SP 2BJP 1 | BJP 5ADAL 1 | BJP 3SP 2ADAL 1 |
| Firozabad | 5 | SP 3BJP 1BSP 1 | BJP 4SP 1 | SP 3BJP 2 |
| Gautam Buddha Nagar | 3 | BSP 2BJP 1 | BJP 3 | BJP 3 |
| Ghaziabad | 5 | BSP 4RLD 1 | BJP 5 | BJP 5 |
| Ghazipur | 7 | SP 6QED 1 | BJP 3SBSP 2SP 2 | SP 5SBSP 2 |
| Gonda | 7 | SP 6BJP 1 | BJP 7 | BJP 7 |
| Gorakhpur | 9 | BSP 4BJP 3NCP 1SP 1 | BJP 8BSP 1 | BJP 9 |
| Hamirpur | 2 | BJP 1INC 1 | BJP 2 | BJP 2 |
| Hapur | 3 | SP 2INC 1 | BJP 2BSP 1 | BJP 3 |
| Hardoi | 8 | SP 6BSP 2 | BJP 7SP 1 | BJP 8 |
| Hathras | 3 | BSP 2SP 1 | BJP 2BSP 1 | BJP 2RLD 1 |
| Jalaun | 3 | BSP 1INC 1SP 1 | BJP 3 | BJP 2SP 1 |
| Jaunpur | 9 | SP 7BJP 1INC 1 | BJP 4SP 3ADAL 1BSP 1 | SP 4BJP 2ADAL 1NINSHAD 1SBSP 1 |
| Jhansi | 4 | SP 2BJP 1BSP 1 | BJP 4 | BJP 3ADAL 1 |
| Kannauj | 3 | SP 3 | BJP 2SP 1 | BJP 3 |
| Kanpur Dehat | 4 | SP 3BSP 1 | BJP 4 | BJP 4 |
| Kanpur Nagar | 10 | SP 5BJP 4INC 1 | BJP 7SP 2INC 1 | BJP 6SP 3ADAL 1 |
| Kasganj | 3 | SP 2BSP 1 | BJP 3 | BJP 2SP 1 |
| Kaushambi | 3 | BSP 2BJP 1 | BJP 3 | SP 3 |
| Kheri | 8 | SP 4BSP 3BJP 1 | BJP 8 | BJP 8 |
| Kushinagar | 7 | SP 3INC 2BJP 1BSP 1 | BJP 5INC 1SBSP 1 | BJP 6NINSHAD 1 |
| Lalitpur | 2 | BSP 2 | BJP 2 | BJP 2 |
| Lucknow | 9 | SP 7BJP 1INC 1 | BJP 8SP 1 | BJP 7SP 2 |
| Maharajganj | 5 | SP 2BJP 1BSP 1INC 1 | BJP 4Independents 1 | BJP 3INC 1NINSHAD 1 |
| Mahoba | 2 | BJP 1BSP 1 | BJP 2 | BJP 2 |
| Mainpuri | 4 | SP 4 | SP 3BJP 1 | BJP 2SP 2 |
| Mathura | 5 | RLD 3BSP 1INC 1 | BJP 4BSP 1 | BJP 5 |
| Mau | 4 | SP 2BSP 1QED 1 | BJP 3BSP 1 | SP 2BJP 1SBSP 1 |
| Meerut | 7 | BJP 4SP 3 | BJP 6SP 1 | BJP 3SP 3RLD 1 |
| Mirzapur | 5 | SP 3BSP 1INC 1 | BJP 4ADAL 1 | BJP 3ADAL 1NINSHAD 1 |
| Moradabad | 6 | SP 4BJP 1PECP 1 | SP 4BJP 2 | SP 5BJP 1 |
| Muzaffarnagar | 6 | BSP 3SP 2RLD 1 | BJP 6 | RLD 3BJP 2SP 1 |
| Pilibhit | 4 | SP 3BJP 1 | BJP 4 | BJP 4 |
| Pratapgarh | 7 | SP 4Independents 2INC 1 | ADAL 2BJP 2Independents 2INC 1 | JDL 2SP 2ADAL 1BJP 1INC 1 |
| Prayagraj | 12 | SP 8BSP 3INC 1 | BJP 8BSP 2ADAL 1SP 1 | BJP 7SP 4ADAL 1 |
| Raebareli | 6 | SP 5PECP 1 | BJP 3INC 2SP 1 | SP 4BJP 2 |
| Rampur | 5 | INC 2SP 2BSP 1 | SP 3BJP 2 | SP 3BJP 2 |
| Saharanpur | 7 | BSP 4BJP 1INC 1SP 1 | BJP 4INC 2SP 1 | BJP 5SP 2 |
| Sambhal | 4 | SP 4 | BJP 2SP 2 | SP 3BJP 1 |
| Sant Kabir Nagar | 3 | SP 2PECP 1 | BJP 3 | BJP 2NINSHAD 1 |
| Shahjahanpur | 6 | SP 3BSP 2BJP 1 | BJP 5SP 1 | BJP 6 |
| Shamli | 3 | BJP 2INC 1 | BJP 2SP 1 | RLD 2SP 1 |
| Shrawasti | 2 | SP 2 | BJP 1BSP 1 | BJP 1SP 1 |
| Siddharthnagar | 5 | SP 3BJP 1PECP 1 | BJP 4ADAL 1 | BJP 2SP 2ADAL 1 |
| Sitapur | 9 | SP 7BSP 2 | BJP 7BSP 1SP 1 | BJP 8SP 1 |
| Sonbhadra | 4 | SP 2BSP 1Independents 1 | BJP 3ADAL 1 | BJP 4 |
| Sultanpur | 5 | SP 5 | BJP 4SP 1 | BJP 4SP 1 |
| Unnao | 6 | SP 5BSP 1 | BJP 5BSP 1 | BJP 6 |
| Varanasi | 8 | BJP 3BSP 2AD 1INC 1SP 1 | BJP 6ADAL 1SBSP 1 | BJP 7ADAL 1 |
Districts are today's, as the Commission's voter services portal gives them for each seat: a district created or renamed after 2012 is shown under its present name.
Parties, as the Commission's list names them
- AD: Apna Dal
- ADAL: Apna Dal (Soneylal)
- ASPKR: Aazad Samaj Party (Kanshi Ram)
- BJP: Bharatiya Janata Party
- BSP: Bahujan Samaj Party
- IEMC: Ittehad-E-Millait Council
- INC: Indian National Congress
- JaKP: Jan Kranti Party(Rashtrawadi)
- JDL: Jansatta Dal Loktantrik
- NCP: Nationalist Congress Party
- NINSHAD: Nirbal Indian Shoshit Hamara Aam Dal
- PECP: Peace Party
- QED: Quami Ekta Dal
- RLD: Rashtriya Lok Dal
- SBSP: Suheldev Bharatiya Samaj Party
- SP: Samajwadi Party
Download the data
One row for every seat at every election (1,209 rows): turnout, margin, the winner's share, NOTA, the effective number of candidates, candidates, women candidates and deposits lost. Free to reuse under CC BY 4.0 with credit to Oquilia and a link.
What the records do not show
- Alliances: the Commission's result files record each candidate's party, not a pre-election alliance. Every party is counted under its own name here, and a party that stood in only some seats because of an alliance has a statewide vote share made of those seats alone.
- Who the voters were: the result files hold nothing about the people who voted. No figure here says who voted for whom, or why.
- By-elections and defections: every figure is the result on the day of a general election; later by-elections and members changing party are not in it.
- What happens next: these are measures of past results. There is no forecast, seat projection or survey here.
How we counted
Every figure is computed in code from the Election Commission's files: the 2012, 2017 and 2022 detailed results (every candidate's votes in every seat), the Constituency Data Summary, the list of parties and the Performance of Political Parties table. At each election, every party's seats and votes, the number of candidates and the total of valid votes were checked against the Commission's performance table and are equal.
A vote share in a table is a share of all valid votes, NOTA included. The indices are computed on the votes polled for candidates.
Every measure's definition, formula and a worked example
Questions
What were the vote shares and seats in the 2022 Uttar Pradesh assembly election?
BJP: 41.29% of the vote, 255 seats; SP: 32.06% of the vote, 111 seats; ADAL: 1.62% of the vote, 12 seats; RLD: 2.85% of the vote, 8 seats; SBSP: 1.36% of the vote, 6 seats; NINSHAD: 0.91% of the vote, 6 seats; INC: 2.33% of the vote, 2 seats; JDL: 0.21% of the vote, 2 seats; BSP: 12.88% of the vote, 1 seats. The assembly has 403 seats. Source: the Election Commission's detailed results.
What is the Gallagher index for Uttar Pradesh elections?
19.70 in 2012, 30.37 in 2017 and 18.20 in 2022. The higher the figure, the further seat shares were from vote shares.
What is the effective number of parties in Uttar Pradesh?
In 2022 it was 3.38 by votes and 2.09 by seats, on the Laakso-Taagepera measure.
How many seats were won by a small margin in 2022?
30 by under 1, 50 by under 2 and 131 by under 5 percentage points of the votes counted.
How many candidates lost their deposit in 2022?
Counted from the votes, 3,519 of 4,442 (79.22%); the Commission's table prints 3,519.
How many women won in 2022?
47 of 403 seats (11.66%); 559 candidates were women (12.58%).
Sources
These files of the Election Commission of India; each file's SHA-256 is kept in our records.
- 2012.pdf (read 28 November 2026)
- Detailed Results.xlsx (read 28 November 2026)
- Constituency Data Summry.pdf (read 28 November 2026)
- Constituency Data Summry.xlsx (read 28 November 2026)
- Performance of Poltical Parties.xlsx (read 28 November 2026)
- List Of Political Parties Participated.xlsx (read 28 November 2026)
- 10-Detailed Results.xlsx (read 28 November 2026)
- 8-Constituency Data Summery Report.xlsx (read 28 November 2026)
- 5-Performance of Political Parties.xlsx (read 28 November 2026)
- 3-List Of Political Parties Participated.xlsx (read 28 November 2026)
- 33-Constituency-Wise-Detailed-Result.xls (read 28 November 2026)
- 18-Party-Wise-Seat-Won-&-Valid-Votes-Polled-in-Each-State20241225122257.xls (read 28 November 2026)
- 3-List-Of-Political-Parties-Participated.xlsx (read 28 November 2026)
Corrections
If a figure here differs from the Commission's own file, write to editor@oquilia.com with the seat and the year: we correct it and say so on this page.