We give explicit formulas for the ranks of the third and fourth homotopy groups of all oriented closed simply connected four-manifolds in terms of their second Betti numbers. We also show that the rational homotopy type of these manifolds is classified by their rank and signature.