I think the residual on a 2 year lease was around 55%. So at the end of the lease you can but it for a predetermined price (some companies don't allow you to buy it but that's rare) or you walk away.
I like to look at the total lease payment plus the buyout vs the payments on the loan.
At...