The number of electors is determined by the population of the state, which basically means the number of members in that state's House of Representatives and two for the Senate, as stated in Source 1: What Is the Electoral College?