how do you determine how many electoral votes are in each state has
Electoral College (United States) Each state chooses electors, equal in number to that state's combined total of senators and representatives. There are a total of 538 electors, corresponding to the 435 representatives and 100 senators, plus the three electors for the District of Columbia as provided by the Twenty-third Amendment.[7] The Constitution bars any federal official, elected or appointed, from being an elector. The Office of the Federal Register is charged with administering the Electoral College.[8] Since the mid-19th century when all electors have been popularly chosen, the Electoral College has elected the candidate who received the most popular votes nationwide, except in four elections: 1876, 1888, 2000, and 2016. In 1824, there were six states in which electors were legislatively appointed, rather than popularly elected, so the true national popular vote is uncertain; the electors failed to select a winning candidate, so the matter was decided by the House of Representatives.[9]
United States presidential nominating convention Each party sets its own rules for the participation and format of the convention. Broadly speaking, each U.S. state and territory party is apportioned a select number of voting representatives, individually known as delegates and collectively as the delegation. Each party uses its own formula for determining the size of each delegation, factoring in such considerations as population, proportion of that state's Congressional representatives or state government officials who are members of the party, and the state's voting patterns in previous presidential elections. The selection of individual delegates and their alternates, too, is governed by the bylaws of each state party, or in some cases by state law.