Question: what is the formula for determining the number of electors from each state?
Answer: The formula for determining the number of votes for each state is simple: each state gets two votes for its two US Senators, and then one more additional vote for each member it has in the House of Representatives.