Skip to content
Calcapedia
School & Grades

Electoral College Calculator

Assign states to two candidates on a clickable tile map and see each total, the undecided votes, and how many more each needs to reach 270.

Level: Grades 3–4

  • Common Core standard 3.NBT.A.2Fluently add and subtract within 1000 using strategies and algorithms based on place value, properties of operations, and/or the relationship between addition and subtraction.
  • Common Core standard 3.OA.D.8Solve two-step word problems using the four operations. Represent these problems using equations with a letter standing for the unknown quantity. Assess the reasonableness of answers using mental computation and estimation strategies including rounding.
  • Common Core standard 4.NBT.B.4Fluently add and subtract multi-digit whole numbers using the standard algorithm.
Printable worksheet

Tile map

Tap or click a state to cycle it: undecided, then Candidate A, then Candidate B. Maine and Nebraska open a district chooser. With a keyboard, use the arrow keys to move and Enter or Space to change a state. The lists in the form update to match.

Candidate A 121Candidate B 148undecided 269270 to win

  • Candidate A (solid)
  • Candidate B (striped)
  • Undecided (outline)

Electoral College Calculator

Inputs

Leave blank to use "Candidate A".

Leave blank to use "Candidate B".

Postal codes separated by commas. For a split, use ME-AL, ME-1, ME-2 or NE-AL, NE-1, NE-2, NE-3.

Any state in neither list counts as undecided.

Result

Outcome

No one has 270 yet

Candidate A has 121, Candidate B has 148, and 269 votes are undecided. No one has 270 yet.

Candidate A's electoral votes
121
Candidate B's electoral votes
148
Undecided votes
269
Votes Candidate A still needs
149Out of 269 undecided.
Votes Candidate B still needs
122Out of 269 undecided.

See the step-by-step solution ↓

States by assignment
States by assignment
CodeState or districtVotesAssigned to
AZArizona11Candidate A
COColorado10Candidate A
ILIllinois19Candidate A
KYKentucky8Candidate A
ME-1Maine district 11Candidate A
MNMinnesota10Candidate A
NCNorth Carolina16Candidate A
OROregon8Candidate A
PAPennsylvania19Candidate A
UTUtah6Candidate A
VAVirginia13Candidate A
ALAlabama9Candidate B
GAGeorgia16Candidate B
INIndiana11Candidate B
ME-ALMaine at-large2Candidate B
MAMassachusetts11Candidate B
NENebraska5Candidate B
NJNew Jersey14Candidate B
NYNew York28Candidate B
TXTexas40Candidate B
WAWashington12Candidate B
AKAlaska3Undecided
ARArkansas6Undecided
CACalifornia54Undecided
CTConnecticut7Undecided
DEDelaware3Undecided
DCDistrict of Columbia3Undecided
FLFlorida30Undecided
HIHawaii4Undecided
IDIdaho4Undecided
IAIowa6Undecided
KSKansas6Undecided
LALouisiana8Undecided
ME-2Maine district 21Undecided
MDMaryland10Undecided
MIMichigan15Undecided
MSMississippi6Undecided
MOMissouri10Undecided
MTMontana4Undecided
NVNevada6Undecided
NHNew Hampshire4Undecided
NMNew Mexico5Undecided
NDNorth Dakota3Undecided
OHOhio17Undecided
OKOklahoma7Undecided
RIRhode Island4Undecided
SCSouth Carolina9Undecided
SDSouth Dakota3Undecided
TNTennessee11Undecided
VTVermont3Undecided
WVWest Virginia4Undecided
WIWisconsin10Undecided
WYWyoming3Undecided

Step-by-step solution

  1. Add the electoral votes of the states given to Candidate A (AZ 11, CO 10, IL 19, KY 8, ME-1 1, MN 10, NC 16, OR 8, PA 19, UT 6, VA 13).

    11+10+19+8+1+10+16+8+19+6+13=121
  2. Add the electoral votes of the states given to Candidate B (AL 9, GA 16, IN 11, ME-AL 2, MA 11, NE 5, NJ 14, NY 28, TX 40, WA 12).

    9+16+11+2+11+5+14+28+40+12=148
  3. Any vote not given to a candidate is undecided, so subtract both totals from all 538 electoral votes.

    538−121−148=269
  4. To reach 270, Candidate A needs 270 minus 121 more votes, out of the 269 still undecided.

    270−121=149
  5. To reach 270, Candidate B needs 270 minus 148 more votes, out of the 269 still undecided.

    270−148=122
  6. A candidate needs 270 of the 538 electoral votes, a majority, to win. Compare each total with 270.

    No one has 270 yet

Test yourself

20 quick questions built from this calculator's formula: work out results, predict what happens when an input changes, and work backward from an answer. Every answer comes with the working.

What this calculator does

Give states to two made-up candidates and see who reaches the 270 electoral votes needed to win. The President of the United States is chosen by 538 electors, not directly by the national popular vote. Each state gets one elector for each member of Congress it has: its House seats plus its two senators. The District of Columbia gets 3. A candidate needs a majority of the electors, 270, to win.

Click or tap states on the tile map, or type postal codes into the two lists. The calculator shows each candidate's total and the votes still undecided. It also shows how many of those each candidate still needs. Maine and Nebraska can be split by congressional district, as their laws allow. The vote counts are the ones in force for the 2024 and 2028 elections, based on the 2020 census. The calculator makes no predictions. Its starting example is made up and isn't a real election.

Where it's used

Why this math matters outside the classroom:

  • Civics class tallies. Students give a mock map of states to two candidates and add the votes, such as 54 + 40 + 30 = 124 for the three largest states.
  • Reading the threshold. A class checks why 270 is a majority: half of 538 is 269, so one more than half is 270.
  • Gap to the target. A student with 121 votes assigned works out 270 − 121 = 149 still needed, then compares it with the undecided votes.
  • Census and seats. Students see that a state's electoral votes are its House seats plus two, so 38 seats give Texas 40 votes.
  • Split states. A lesson on Maine shows its 4 votes as 2 at-large plus 1 for each of its 2 districts, so a 3–1 split is possible.

Grade level and standards: Grades 3–4; Common Core State Standards for Mathematics 3.NBT.A.2, 3.OA.D.8, 4.NBT.B.4. © Copyright 2010. National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

How to use it

  1. If you like, name the two candidates. Otherwise they're called Candidate A and Candidate B.
  2. Click a state on the tile map to switch it from undecided to candidate A, to candidate B, and back. Or type postal codes into each list, separated by commas.
  3. For Maine or Nebraska, open the district chooser on the map. Or type ME-AL, ME-1, ME-2 or NE-AL, NE-1, NE-2, NE-3. This assigns the at-large (statewide) votes and each district separately.
  4. Read each total, the undecided votes, and how many more each candidate needs. The table lists every state and who it's assigned to.

What the inputs mean

Candidate A's name
Only used to label the results. Leave blank for Candidate A.
Candidate B's name
Leave blank to use "Candidate B".
States assigned to candidate A
Two-letter postal codes such as CA, TX or DC, separated by commas, semicolons or new lines. Full state names work too, if you separate them with commas. A state code on its own means the whole state.
States assigned to candidate B
Any state in neither list counts as undecided. A state can't be in both lists. Maine or Nebraska can't be given both as a whole state and by its parts.

Formula and method

Candidate total = sum of the electoral votes of the states (and districts) assigned to that candidate
Undecided = 538 − total A − total B
Votes still needed = 270 − candidate total (0 once at 270 or more)
State electoral votes = House seats + 2 senators;  DC = 3

Winning takes a majority of all 538 electors. Half of 538 is 269, so a majority is 270. The two totals and the undecided votes always add up to 538. That means at most one candidate can reach 270.

Each state's count comes from the census, the national population count every ten years. After each census, the 435 House seats are divided among the states by population. Then two votes are added for each state's senators. The 23rd Amendment gives the District of Columbia as many electors as the state with the fewest people, which is 3.

Maine and Nebraska give two votes to the statewide winner (the at-large votes). They give one vote to the winner of each congressional district. Maine has 2 districts and Nebraska has 3, so their 4 and 5 votes can be divided. Every other state and DC gives all of its votes to one candidate.

Worked example

Candidate A is given AZ, CO, IL, KY, ME-1, MN, NC, OR, PA, UT and VA. Candidate B is given AL, GA, IN, MA, ME-AL, NE, NJ, NY, TX and WA. Everything else is undecided.

  1. A: 11 + 10 + 19 + 8 + 1 + 10 + 16 + 8 + 19 + 6 + 13 = 121.
  2. B: 9 + 16 + 11 + 11 + 2 + 5 + 14 + 28 + 40 + 12 = 148.
  3. Undecided: 538 − 121 − 148 = 269.
  4. A still needs 270 − 121 = 149, and B still needs 270 − 148 = 122. Both must come from the 269 undecided votes.

Result: No one has 270 yet: Candidate A has 121 and Candidate B 148, with 269 votes undecided. Maine's district 2 is among the undecided votes.

Understanding the result

The 'still needs' figure is the gap to 270. Compare it with the undecided votes. If a candidate needs more votes than are undecided, that candidate can no longer reach 270.

A 269–269 tie is possible because 538 is an even number. It's the only way to assign every vote without anyone reaching 270.

The totals count electors, not votes cast by the public. A candidate can reach 270 while getting fewer popular votes nationwide.

Assumptions and limitations

  • Electoral votes follow the 2020-census allocation used for the 2024 and 2028 elections.
  • Every elector votes for the candidate they were assigned to. Faithless electors (see the FAQ below) aren't modelled.
  • Only two candidates are tracked. Votes for any third candidate would sit in the undecided total.
  • This is a counting tool. It doesn't predict or project any election, and it uses no polling or results data.
  • The allocation will change after the 2030 census. The counts here apply through the 2028 election.
  • If three or more candidates win electors and no one has a majority, the House would choose among the top three. This calculator doesn't model that.

Frequently asked questions

Why is 270 the number needed to win?

There are 538 electors: 435 for the House seats, 100 for the senators and 3 for DC. A candidate needs a majority of them, which means more than half. Half of 538 is 269, so the smallest majority is 270.

What happens in a 269–269 tie?

Under the 12th Amendment, the House of Representatives chooses the President in what's called a contingent election. Each state's group of representatives casts a single vote. A candidate needs a majority of the states, 26 of 50. The Senate separately chooses the Vice President. Each senator votes, and a majority of the whole Senate, 51, is needed. The same process applies whenever no candidate has a majority of electors.

What is the difference between winner-take-all and the district method?

Forty-eight states and DC give all of their electors to whoever wins the state's popular vote. Maine and Nebraska give two electors to the statewide winner and one to the winner of each congressional district. So their votes can be divided between candidates, as in the example above.

What are faithless electors?

A faithless elector is one who votes for someone other than the candidate they promised to support. They have been rare and have never changed an outcome. Many states now bind their electors by law. In 2020, the Supreme Court ruled that states may enforce those promises.

Can I type state names instead of codes?

Yes. Full names such as New York or South Carolina work when you separate entries with commas. Codes work in capital or small letters. DC, D.C. and District of Columbia all mean the District. If an entry isn't recognized, the error message names it so you can fix it.

Sources

How this calculator is checked

Method: Electoral votes per state = 2020-census House apportionment (U.S. Census Bureau Table 1) + 2 senators; DC = 3 under the 23rd Amendment; majority = 270 of 538; contingent election per the 12th Amendment. Every state's count is re-derived from the census table in the tests. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-18. Found a problem? Tell us.

Embed this calculator

Put this Electoral College Calculator on your own website or blog for free. Paste this code where you want it to appear: