The Total Cost Formula

Multiply monthly payments by total duration, add upfront fees, and subtract cash in hand.