If your lease was a good deal with an inflated residual to lower the monthly payment, then the purchase price of the vehicle would be really high. Which then wouldn’t be a good idea to purchase. However, if your lease was a bad deal where the residual was not inflated, then purchasing the vehicle after the lease might be a good idea.

Determining factor?

The whole determining factor is the deal of your lease. In addition, make sure you check the market for the price of the vehicle. Furthermore, do all the diligence of researching to see if everything lines up. Negotiation at the end of the lease for the vehicle price is something to take into account as well.