Roll, pitch, and yaw are the three rotational axes of a rigid body moving through space. They describe every possible way an airplane, a boat, a drone, a spacecraft, a camera, or your own head can turn relative to its own centre of mass. Translation (moving through space) gives you three degrees of freedom — up/down, left/right, forward/backward — and roll, pitch, and yaw give you the other three, for a total of six.

  • Roll is rotation around the front-to-back (longitudinal) axis. Think of tilting your head toward your shoulder, or an airplane banking into a turn. If you are a ship, roll is what seasickness is made of.
  • Pitch is rotation around the side-to-side (lateral) axis. Nodding your head "yes", an airplane climbing or diving, a skateboard doing an ollie.
  • Yaw is rotation around the vertical axis. Shaking your head "no", a car turning at an intersection, a ship changing heading without leaning over.

Where the words came from

The vocabulary comes from nautical and aviation engineering, where naming these three axes precisely was a matter of survival. The terms appeared in ship handling long before airplanes existed — Old English ġeagian or Middle English yawen meant to deviate from a straight course, which is exactly what a ship does when a wave hits it at an angle. "Pitch" comes from the pitching motion of a ship's bow rising and falling into the swell. "Roll" is self-explanatory to anyone who has tried to sleep on a small boat in open water.

Early aviation pioneers borrowed the words wholesale because the problems were analogous and the mathematics carried over directly. An airplane is just a submarine in a thinner fluid, as far as rotational dynamics is concerned.

Where they live now

Today the triad is everywhere. Flight controllers for quadcopters run PID loops independently on each of the three axes. Game engines use Euler angles (usually in yaw-pitch-roll order) to orient cameras and characters. The IMUs in phones, game controllers, and AR headsets measure the three rotations using tiny MEMS gyroscopes. Robotics uses them to describe the orientation of an end effector at the tip of an arm. Cinematographers use them to describe what a gimbal does.

Gimbal lock — the loss of one degree of freedom when two of the axes happen to align — is the famous pathology of this representation. It is why Apollo 11 astronauts had to care about a specific angle, and why modern systems often use quaternions under the hood instead. But roll, pitch, and yaw remain the words people use out loud, because they map cleanly to physical intuition: tilt, nod, turn. Those three verbs cover every rotation of every rigid thing in the universe.