Unit converters · Durations and angles
Convert an angle (degrees, radians, gradians)
Every angle routes through the radian, the SI unit. A half turn is π radians, 180 degrees or 200 gradians: three ways of describing the same opening.
Calculate
How the calculator works
The value is converted into radians, then into the target unit. The degree divides the turn into 360, the gradian into 400, and a turn is 2π radians. The gradian, inherited from the revolutionary metric system, is still used in French surveying, where a right angle conveniently equals 100 gradians.
Formula and method
θ(rad) = x × kfrom ; y = θ(rad) / kto
k is the unit's factor to the radian.
π rad = 180°
The fundamental relation of trigonometry.
1 turn = 2π rad = 360° = 400 gon
Three ways of splitting the same full turn.
The radian is the SI unit of plane angle: the angle subtending an arc equal in length to the radius. Trigonometric functions in programming languages, JavaScript included, expect radians. The sexagesimal degree comes from Babylonian tradition; the gradian from the metric system.
Worked example
180 degrees in radians
x = 180, from deg to rad.
- 180 × π/180 = π.
- π ≈ 3.141593.
π radians, about 3.1416.
1 turn in gradians
x = 1, from turn to grad.
- 1 turn = 2π rad.
- 2π / (π/200) = 400.
400 gradians.
Input notes
- Value
- The angle alone, without the unit. Negative values are accepted.
- From
- Starting unit. The default is the degree.
- To
- Target unit. The default is the radian, expected by trigonometric functions.
Assumptions and limits
Assumptions
- 1 turn = 2π radians = 360 degrees = 400 gradians.
- π is the JavaScript constant Math.PI.
- Angles are not wrapped into 0–360: 720° stays 720°.
Limits
- No degrees-minutes-seconds notation (45° 30′ 15″).
- No normalisation modulo a turn.
- Solid angles, measured in steradians, are out of scope.
How to read the result
A right angle is 90 degrees, π/2 radians or 100 gradians. If a trigonometric calculation returns something unexpected, check the unit first: most libraries expect radians while problems are usually stated in degrees. In surveying, the gradian avoids fractions since a quarter turn comes out round.
Common mistakes
Passing degrees to a sine function that expects radians.
sin(30) in radians is not 0.5. Convert first: 30° = π/6 rad.
Confusing gradians with degrees.
100 gradians is 90 degrees, not 100 degrees.
Treating 45° 30′ as 45.30°.
30 minutes of arc is half a degree, so 45.5°.
Comparison
| Angle | Degrees | Radians | Gradians |
|---|---|---|---|
| Quarter turn | 90 | π/2 | 100 |
| Half turn | 180 | π | 200 |
| Three quarters | 270 | 3π/2 | 300 |
| Full turn | 360 | 2π | 400 |
Related calculations
- Duration converterEvery duration routes through the second. Months and years are deliberately absent: their length varies, unlike the week, which is always 604,800 seconds.
- Length converterEvery value goes through the meter, then to the target unit. The inch is 25.4 mm exactly since the 1959 agreement, as in the NIST SI conversion factors.
- Pythagorean theoremTwo modes: √(a² + b²) for the hypotenuse, or √(c² − a²) for the missing leg. The triangle must be right-angled; a “leg” longer than the hypotenuse is rejected.
- Triangle areaPick the data you have: a base and its perpendicular height, three side lengths, or two sides and the included angle. A collapsed (zero-area) triangle is rejected.
- Data storage converterThe maths routes through the bit. Decimal prefixes (1 kB = 1,000 bytes) and binary ones (1 KiB = 1,024 bytes) are handled separately, as IEC 80000-13 specifies.
- Energy converterEvery energy routes through the joule. A kilowatt-hour is exactly 3.6 million joules, and a food kilocalorie 4,184 joules.
Frequently asked questions
How many radians in 180 degrees?
Exactly π radians.
By definition a half turn is π radians. Numerically that is about 3.141593, the value of π shown to six decimals.
What is the gradian for?
Surveying.
The gradian divides the turn into 400, so a right angle is 100. That roundness simplifies field calculations, and surveyors in France still use it.
Must I convert before using a sine?
Yes, into radians.
Standard trigonometric functions expect radians. An angle in degrees must be multiplied by π/180 before being passed to sin, cos or tan.
Author and update
Written by Rédaction HexaCalc (editorial team). Content last updated: August 25, 2026. No third-party medical or financial review is claimed.
- NIST Guide to the SI, Appendix B: Conversion Factors — National Institute of Standards and Technology
- Circle, area and circumference — Wolfram MathWorld
Solving a right triangle?
The Pythagorean theorem finds the hypotenuse or a missing leg.
Pythagorean theoremCategory: Unit converters