rack-and-pinion. noun. a device for converting rotary into linear motion and vice versa, in which a gearwheel (the pinion) engages with a flat toothed bar (the rack)