Here are the vote totals for the Republican and Democratic primaries in New Hampshire, and the resulting delegate counts.

REPUBLICANS

With 95% of precincts reporting. (Some candidates have dropped out of the race, but their names were still on the ballot.)

Candidate Vote % N.H. delegates Total delegates
Donald Trump 35.3 10 17
John Kasich 15.8 3 4
Ted Cruz 11.7 2 10
Jeb Bush 11.0 2 3
Marco Rubio 10.5 0 7
Chris Christie 7.4 0 0
Carly Fiorina 4.1 0 0
Ben Carson 2.3 0 0
Rand Paul 0.7 0 0
Mike Huckabee 0.1 0 0
Rick Santorum 0.1 0 0

It takes 1,237 delegates to win the Republican nomination.

DEMOCRATS

With 96% of precincts reporting. (Martin O'Malley has dropped out, but still appeared on the ballot.)

Candidate Vote % N.H. delegates Total delegates
Bernie Sanders 60.1 13 34
Hillary Clinton 38.2 9 32
Martin O'Malley 0.3 0 0

In addition, hundreds of superdelegates have declared their endorsements. Those are party officials who support the candidate of their choice. When those commitments are taken into account, Clinton would have 394 delegates and Sanders would have 42. It takes 2,382 delegates to win the Democratic nomination.

Source: Associated Press