There are now many examples of single molecule rotors, motors, and switches in the literature that, when driven by photons, electrons, or chemical reactions, exhibit well-defined motions. As a step toward using these single molecule devices to perform useful functions, one must understand how they interact with their environment and quantify their ability to perform work on it. Using a single molecule rotary switch, we examine the transfer of electrical energy, delivered via electron tunneling, to mechanical motion and measure the forces the switch experiences with a noncontact q-plus atomic force microscope. Action spectra reveal that the molecular switch has two stable states and can be excited resonantly between them at a bias of 100 mV via a oneelectron inelastic tunneling process which corresponds to an energy input of 16 zJ. While the electrically induced switching events are stochastic and no net work is done on the cantilever, by measuring the forces between the molecular switch and the AFM cantilever, we can derive the maximum hypothetical work the switch could perform during a single switching event, which is ∼55 meV, equal to 8.9 zJ, which translates to a hypothetical efficiency of ∼55% per individual inelastic tunneling electron-induced switching event. When considering the total electrical energy input, this drops to 1 × 10 −7 % due to elastic tunneling events that dominate the tunneling current. However, this approach constitutes a general method for quantifying and comparing the energy input and output of molecular-mechanical devices.