The Chicago Bulls clinched to top spot in the Eastern Conference on Tuesday night when the Heat lost to the Celtics.
That means that if the Knicks finish in the seventh, they get Miami in the first round.
New York and Philadelphia are tied for seventh place in the East, but the Knicks hold the tiebreaker based on head-to-head records. With Philly likely to rest Andre Igoudala and Elton Brand, among others, in their final two games, it seems like the Knicks will have an easy time securing the seventh seed.
If the Knicks beat the Clippers on Wednesday and the Sixers lose to Milwaukee, New York clinches the seventh seed.
There's also a slim chance that the Knicks can finish sixth.
If they win their final two games and the Magic lose its final two, then the Knicks will get the sixth spot as they have the head-to-head tiebreaker over Orlando.
The Magic plays Charlotte at home on Wednesday night.
You can follow Ian Begley on Twitter.