In order to become the Republican party's 2016 presidential nominee, hopefuls need to win the support of a majority of the 2,472 delegates to the GOP National Convention. The Democratic nominee will need to win a majority of the 4,765 delegates to the Democratic National Convention. The total number of delegates includes those who are pledged and unpledged. Each state party determines how each of type of delegate is allocated within the state. In cases where states use local caucuses or primaries to elect delegates to a state or congressional district convention, the AP projects how many delegates each candidate will be awarded. The AP interviews unpledged delegates to learn their preferences, which are also reflected in the delegate totals.