It can be challenging to figure out how much you need to spend