We obtain a formula for the number of horizontal equilibria of a planar convex body K with respect to a center of mass O in terms of the winding number of the evolute of \partial K with respect to O. The formula extends to the case where O lies on the evolute of \partial K and a suitably modified version holds true for non-horizontal equilibria.