A surgical device for clipping tissue is disclosed. The surgical device comprises a housing, a shaft extending from the housing, an end effector extending from the shaft, a motor, a rotary input configured to rotate in response to the motor, and a clip magazine comprising a plurality of clips. The shaft defines a shaft axis. The clip magazine is operably connected to the rotary input. The clip magazine is movable in a first direction through a clip feed stroke in response to the rotation of the rotary input. The clip magazine is movable in a second direction in response to the rotation of the rotary input. The second direction is transverse to the first direction.