Good news, New York. Turns out there’s an upside to being ranked at the bottom when it comes to the best states in which to do business: The only place to go is up.

And that’s where we’re going, thanks to recent changes in the state tax code. But mute the applause. According to the Tax Foundation, we’ll be moving from last to . . . third from last. The foundation says we’ve moved up because of changes that trimmed the state’s corporate-tax rate to 6.5 percent from 7.1 percent for this year’s budget — and simplified corporate-tax rules somewhat.

Had these changes been in effect last year, when the Tax Foundation was preparing its 2014 report, New York’s corporate-tax system would have ranked fourth best. This in turn would have pushed our overall ranking to 48th, up from 50th — ahead of New Jersey and California.

The foundation is not the only group to find our performance underwhelming. In its latest “Rich States, Poor States” study, the American Legislative Exchange Council used 15 measures (taxes, minimum-wage laws, debt, etc.) to gauge which states are “poised to achieve greater economic prosperity” and which “are stuck on the path to a lackluster economy.” Where did New York land? At the bottom.

Mike Durant, state director for the National Federation of Independent Businesses, sums it up well: “We’re not competing with the other basket cases. Other states, like Indiana and Michigan, have jumped up sharply in the rankings because they’ve made a decision that it’s more important to have a big economy than a big government. We need to be in that league, and we’re no where close.”