There is provided an operating apparatus for a medical apparatus, the operating apparatus including a ring-shaped magnet magnetically polarized in a circumferential direction or a radial direction and configured to rotate along with rotating operation by a user, and a sensor unit configured to detect a magnetic field and to output a signal depending on the detected magnetic field. The sensor unit outputs two-phase signals having different phases.