Is trading in your iPhone to Verizon saving money or wasting money?

If I trade in my phone for $400 I have to pay it off for 36 months. Is it worth it or will I lose money in the long run?