In this paper, we give some sufficient condition on the number of proper solvable subgroups of a group to be nilpotent or solvable. In fact, we show that every group with at most 5 (respectively, 58) proper solvable subgroups is nilpotent (respectively, solvable). Also these bounds cannot be improved.