Three months if your job is stable and you have no dependants, six if not.
Makes sense, I will aim for four.