The Blue Jackets have gotten by on a thin margin of error for two months, so it’s no surprise their Stanley Cup playoffs fate will be decided on the final day of the season.

The Blue Jackets staved off elimination with a 3-1 victory over the Dallas Stars last night in front of 16,918 at American Airlines Center. Mark Letestu and Cam Atkinson scored third-period power-play goals, and goaltender Sergei Bobrovsky made 31 saves for his 20th victory of the season.

“We came in here and did our job, won our game,” center Brandon Dubinsky said. “It’s not done yet, but we’ve given ourselves a chance. That’s all we can ask for, a chance.”

The Blue Jackets will need a victory over Nashville on Saturday night at Nationwide Arena and a regulation loss by Detroit, which plays here against the Stars that night.

That is the most likely scenario for the Blue Jackets to gain their second playoff spot in 12 seasons.

The other possibility is a victory on Saturday and hoping the Minnesota Wild gets no more than a point in its final two games — tonight against Edmonton and Saturday at Colorado.

Minnesota and Columbus each have 53 points, and the Wild holds the tiebreaker over the Blue Jackets, which is most regulation and overtime victories.

Either way, the Blue Jackets’ season will come down to Saturday, something no one would have believed when they were last in the NHL at 5-12-2 on Feb. 24.

“It’s going to be fun on Saturday,” defenseman Jack Johnson said. “It’s going to be great. This is how you turn Columbus into a hockey town.”

The Blue Jackets finished their season-high six-game trip with a 5-1 record. They had only five road victories all season before the trip began on April 13.

“I’m sure (Nationwide Arena) is going to be loud,” coach Todd Richards said. “I think the players have earned that; I think the fans have earned it.”