Angle Units: Degrees, Radians, and Gradians

Angle Units: Degrees, Radians, and Gradians

A right angle is 90 degrees — except when it’s π/2 radians, or 100 gradians. Angles are one quantity with three systems, and the choice depends on who’s measuring.

The three systems

System Full circle Where it’s used
Degrees 360° Everyday life, navigation, carpentry
Radians 2π Mathematics, physics, programming
Gradians 400 Old-school surveying (nearly extinct)

Why radians exist

Degrees are arbitrary — 360 comes from ancient Babylonian counting. Radians are natural: one radian is the angle that cuts an arc exactly one radius long on a circle. That definition makes calculus clean (sin and cos behave beautifully in radians), which is why every programming language’s trig functions use them.

The classic bug: sin(90) in code doesn’t give you 1 — it gives you sin(90 radians), a meaningless angle. Students and programmers rediscover this daily.

Converting

  • Degrees → radians: multiply by π/180. 180° = π.
  • Radians → degrees: multiply by 180/π.
  • Gradians: 400 to a circle — divide by 400 instead of 360. Only matters if you inherit old survey data.

The angle converter handles all three instantly.

The practical anchors

  • 90° = π/2 ≈ 1.571 rad
  • 180° = π ≈ 3.142 rad
  • 45° = π/4 ≈ 0.785 rad

When a programming task involves angles and the results look crazy, the first suspect is units: degrees where the language expects radians, or vice versa. Convert deliberately, and the trig falls into line.