degrees to radians converter

Use this for trigonometry and code that expects angles in radians.

Radians: 0

Formula and algorithm

Worked examples

Straight angle

Input: 180°

Output: 3.141593 rad

180 × π/180 = π ≈ 3.141593 radians.

Right angle

Input: 90°

Output: 1.570796 rad

90 × π/180 = π/2 ≈ 1.570796 radians.

Eighth turn

Input: 45°

Output: 0.785398 rad

45 × π/180 = π/4 ≈ 0.785398 radians.

FAQ

What is 180 degrees in radians?

Exactly π radians, about 3.141593.

Why π/180?

A full circle is 360° and also 2π radians, so 1° = 2π/360 = π/180 radians.

Do trig functions in code use radians?

Most do (e.g. JavaScript Math.sin), so convert degrees to radians first.

Updated: June 7, 2026