A game-by-game breakdown of every Heat possibility in NBA East playoff race for seeds Nos. 4-6

The Miami Heat enter the final weekend of the NBA season positioned to finish No. 4, No. 5 or No. 6 in the Eastern Conference, with a fourth seed highly unlikely, a fifth seed fully in their control, and the odds leaning toward a sixth seed.

For Erik Spoelstra’s team, it is a situation not fully in its control, one that will be defined by five games, only two directly involving the Heat.

With road victories Saturday night against the Milwaukee Bucks and Sunday night against the Detroit Pistons, the Heat would assure themselves of no worse than a No. 5 playoff seed. In such a scenario, the Heat would open the best-of-seven first-round of the NBA playoffs against the Atlanta Hawks or New York Knicks.

However, if the Hawks defeat the league-worst Houston Rockets on Sunday night, the Heat would be shut out of the opportunity for the No. 4 seed and would be guaranteed of having to play the first round of the playoffs as a road team.

There is a chance the Heat could wrap up no worse than No. 5 on Saturday, should the New York Knicks lose their afternoon home game to the Charlotte Hornets and the Heat win later in Milwaukee.

The Hawks currently stand No. 4 in the East at 40-31, with the Heat No. 5 (by virtue of tiebreaker) at 39-31 and the Knicks at No. 6 at 39-31.

The Hawks hold the three-team tiebreaker advantage for No. 4, with the Heat No. 5 and Knicks No. 6 in that scenario. Head-to-head, the Hawks hold the tiebreaker over the Heat, the Heat hold the tiebreaker over the Knicks, and the Knicks hold the tiebreaker over the Hawks.

“I like our chances against anybody, honestly,” forward Jimmy Butler said after Thursday night’s victory over the Philadelphia 76ers, having helped lead the Heat to last season’s NBA Finals. “Nobody intimidates us. We take who we got. I think it’s gonna be difficult to beat us four times.

“For all of us, we know what were’ capable of. We want to get back there. We can get back there.”

A look, in order, at the remaining games on the regular-season schedule that impact the Heat’s playoff seeding, with the postseason to open next weekend.

Saturday, 1 p.m., Charlotte Hornets at New York Knicks: This will be the penultimate game of the season for the Knicks, their last against a team involved in a playoff race.

For the Hornets, the stakes are high, at risk of falling below No. 8 in the East and then having to win twice in the play-in round. Charlotte will arrive desperate.

Saturday, 8 p.m., Miami Heat at Milwaukee Bucks: The Bucks will enter still in contention for No. 2 in the East, one game behind the Brooklyn Nets with two games remaining for each team (and holding the head-to-head tiebreaker with Brooklyn). The Nets play at 1 p.m. against the Chicago Bulls, who are eliminated from postseason contention.

With a loss, the Heat would be eliminated from contention for No. 4 in the East. With a win, a top-five seed would be assured if the Knicks lose earlier in the day.

Sunday, 1 p.m., Boston Celtics at New York Knicks: With Boston locked into a Tuesday play-in game, the Celtics assuredly will rest their rotation players, setting up something along the lines of Tacko Fall, Luke Kornet, Jabari Parker, Tremont Waters and Semi Ojeleye vs. the Knicks.

With a Knicks home win Saturday against the Hornets, and a Heat loss on Saturday night in Milwaukee, the Knicks could lock up a top-five seed with a win in this spot.

Sunday, 7 p.m., Houston Rockets at Atlanta Hawks: A win here and the Hawks lock up a top-five seed.

While the Rockets are playing for ping-pong balls, they already are assured of the top seed in the NBA draft lottery, so it’s not necessarily a tanking spot, merely an overmatched spot.

If the Hawks and Knicks both win out, and the Heat lose once, then it finishes Knicks at No. 4, Hawks at No. 5, Heat at No. 6.

Sunday, 8 p.m., Miami Heat at Detroit Pistons: The only way this game does not have seeding impact for the Heat is if the Heat lose Saturday in Milwaukee and the Knicks win their matinees on Saturday and Sunday, in which case the Heat would be locked into No. 6, and a first-round matchup against the Bucks or Nets.