Code and sensors speak radians, drawings speak degrees
Programming languages compute sine and cosine on radians, gyroscopes and robot joints report radians, and physics problems use them throughout. Drawings, protractors, CAD dimension lines and roof plans use degrees. Anyone who passes an angle from a script to a drawing, who checks a calculator that was left in the wrong mode, or who reads a joint angle from a robot log, has to switch between the two. This page converts radians to degrees in one multiplication. It treats the angle as a plane angle with no direction, and it keeps the sign you enter, so a negative angle stays negative.
Where 57.2958 comes from
A full circle is 2π radians and 360 degrees, so one radian equals 360/(2π) = 180/π degrees, which is 57.2957795131°. That is a little less than 57 degrees and 17 minutes. The formula is degrees = radians × 57.2957795131. The radian is the SI unit of plane angle, defined as the angle subtended by an arc equal in length to the radius, and the degree is a non-SI unit accepted for use with it. By hand, multiply by 57.3 for a quick answer. The factor is exact up to the number of digits of π used, and 57.29578 is enough for nearly all work.
Ten radians is more than a turn and a half
The default of 10 rad returns 572.958°, which is one full turn of 360° plus 212.958°. The page does not wrap the angle, so the result keeps the extra turn. A robot joint or a rotating stage that logs 10 rad has turned 1.59 times, and for a direction you would subtract 360 to get 212.96°. In drafting or navigation you usually want the angle reduced to a range, such as 0° to 360° or −180° to 180°, and that step is a separate decision. If your angle is meant to lie within a circle and the result exceeds 360, check that the input was not an accumulated value.
Common angles as a check
A few anchors make mistakes obvious. Half of π, about 1.5708 rad, is 90°, and π, 3.1416 rad, is 180°. An angle of 0.5236 rad is 30°, and 0.7854 rad is 45°. One radian is 57.2958°, and 2 rad is 114.5916°. In the other direction, 1° is 0.0174533 rad. If your answer for an input near 1 does not land near 57, the page was set to the wrong direction. These values are worth memorizing because a plot of an angle in code often displays radians, and the eye can then spot a slip such as a value of 90 passed to a function that expects 1.57.
Roof pitch from a slope
A roof that rises 6 inches over a 12 inch run has a slope of 0.5, and the angle is the arctangent of that ratio, which a calculator or a script returns as 0.4636 rad. The page converts it to 26.565°, the roof angle that a carpenter cuts on a miter saw or sets on a bevel gauge. A shallower 4 in 12 pitch gives 0.3217 rad, which is 18.435°. Using a value in radians directly on a saw or a protractor leads to an obvious error, since 0.4636 degrees is almost flat. The page does not compute the arctangent, so do that step first with a tool in the correct mode.
Sensor and servo angles
A joint sensor that reports 0.785 rad is at 44.98°, close to 45°. An inertial sensor that integrates a gyroscope output gives an angle in radians, and a dashboard for a person who wants to see tilt in degrees needs the conversion. A servo that accepts a command of 0.25 rad moves 14.32°, and a motion of 2 rad is 114.59°. For a mechanism with a limited range, convert the limits too: a hinge limited to 1.2 rad stops at 68.75°. Display degrees to one decimal place for people, and keep radians in the code, so that the conversion happens once at the edge of the system.
From degrees to radians
To convert the other way, choose degrees as the source and radians as the target. A right angle is 1.5708 rad, 45° is 0.7854 rad, and 1° is 0.01745 rad. This direction is the one that a script needs when a drawing gives a bevel angle and a trigonometric function wants radians. Divide the degrees by 57.2957795131, or multiply by π/180. A common bug is to pass degrees to a function that expects radians, which silently returns a plausible but wrong value, so convert at the point where the data enters the code and name the variable with its unit, for example angleRad. A bevel of 22.5° for an octagonal frame corner, for instance, is 0.3927 rad when a script computes the cut.
Mode errors and what the converter cannot see
The most common mistake with angles is a calculator or a program left in the wrong mode. Computing sin(30) in a calculator set to radians gives −0.988, not 0.5, and a bridge or a roof drawn from such a number looks wrong at once or, worse, a little wrong. The page cannot tell which unit a number came from, so it relies on you to select the source correctly. It also does not wrap angles, convert between direction conventions or reduce a bearing to compass form. State the unit next to every angle in a document, and check one known value, such as π rad to 180°, before trusting a long list. When angles come from a log file, scan the first few numbers: values between −6.3 and 6.3 usually mean radians, and values up to a few hundred usually mean degrees.