With prospects such as Markelle Fultz and Lonzo Ball leading a star-studded NBA draft class, teams are hoping to land one of the top two or three picks in the 2017 draft lottery on May 16 (ESPN/WatchESPN, 8 p.m. ET). What are the odds for each lottery team?

More: Lottery Mock Draft | Ford's Big Board

The NBA formula gives the greatest chance of winning the top pick to the worst team in the lottery and the smallest chance to the best team in the lottery, according to each team's regular-season record. The Boston Celtics (thanks to the Nets' league-worst record) have the best odds this season, followed by the Phoenix Suns and Los Angeles Lakers.

The lottery is used to select which teams get the first three picks in the draft. Then the other 11 teams that qualified for the lottery are placed in the draft in reverse order of their win percentages, with the worst teams drafting ahead of the better teams.

Tiebreaker: In case of a tie, the lottery odds are divided between the teams that are tied. For instance, the Knicks and Wolves ended up tied for the sixth-worst record, so they will split the odds (ping-pong-ball combinations) apportioned for sixth and seventh in the lottery.

Here's the current lottery order:

2017 NBA Lottery Odds TEAM NO. 1 (%) TOP 2 (%) TOP 3 (%) TOP 4 (%) TOP 5 (%) Boston Celtics (via Nets) 25.0 46.5 64.3 >99.9 >99.9 Phoenix Suns 19.9 38.7 55.8 87.7 >99.9 Los Angeles Lakers 15.6 31.3 46.9 *Note2 *Note2 Philadelphia 76ers 11.9 24.5 37.8 47.7 82.7 Orlando Magic 8.8 18.5 29.1 29.1 55.3 Minnesota Timberwolves 5.3 11.3 18.3 18.3 18.3 New York Knicks 5.3 11.3 18.3 18.3 18.3 Sacramento Kings *Note3 6.1 9.9 9.9 9.9 Dallas Mavericks 1.7 3.7 6.1 6.1 6.1 New Orleans Pelicans 1.1 2.4 4.0 *Note4 *Note4 Charlotte Hornets 0.8 1.7 2.9 2.9 2.9 Detroit Pistons 0.7 1.5 2.5 2.5 2.5 Denver Nuggets 0.6 1.3 2.2 2.2 2.2 Miami Heat 0.5 1.1 1.8 1.8 1.8

Trades and pick protections