The winner of American Idol is determined by the votes of the viewers. The contestant with the most votes is declared the winner.