Sign convention for spherical mirrors

What is the sign convention for this formulation of the spherical mirror equation?

$$1/i + 1/o = 1/f$$

f is negative for convex mirrors. i is image distance. o is object distance.

(How can the proper signs the numbers plugged in for i and o be determined?)