The circuit is a potential divider, thus: $$V_o=V_i {Z_C \over {Z_R+Z_C}}$$ Where $Z_R$ and $Z_C$ are the impedances of the resistor and capacitor respectively.