Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Radians to Degrees

Radians to Degrees

Read a radian joint position, URDF limit or planner output as the decimal degrees a teach pendant, rotary axis or shop drawing works in.

Reading Radian Joint Angles as Machine Degrees

A robot cell speaks two dialects at once. The controller publishes joint positions as radians — that is what the ROS convention mandates, and what kinematics solvers, URDF joint limits and motion planners all carry internally. The teach pendant beside it, the fixture drawing on the bench and the rotary axis on the machine tool next door are all marked in degrees. Anyone reading a log, checking a joint limit against a drawing, or lining a robot up with a fourth-axis part is translating between the two all day.

Conversion factor: 1 rad = 180/π = 57.29577951308232°. A joint sitting at 2.35619449 rad is therefore at 135.000°, and the 1.5707963 rad you see everywhere in a URDF limit is simply 90° written the way the solver wants it.

Where the Two Dialects Meet

Joint state topics and logs

A published joint position is a bare float in radians. Reading 0.5236 off a plot tells you very little until it becomes 30°, at which point you can see it against the mechanical stop drawn on the arm.

Rotary axes on the machine

A fourth or fifth axis is commanded in degrees, and feedrates for it are degrees per minute. A trajectory generated in a radian-native planner has to be scaled before it can appear as an axis word.

URDF and model files

Joint limits, fixed-joint offsets and RPY orientations in a robot description are radians by specification, while the CAD model they were derived from listed those same angles in degrees.

Calibration and alignment reports

Squareness and runout results often arrive in milliradians or arc seconds from a metrology package, and have to be compared against a tolerance the shop wrote in decimal degrees.

From a Logged Value to a Number You Can Command

The sequence is the same whether the radian figure came from a controller log, a planner's output or a joint limit in a description file.

1

Paste the radian figure in full

Drop the whole value into the left field — 1.5707963, −0.7853982, 2.0943951 — rather than rounding it first. Spaces inside the number are ignored and a comma is accepted as the decimal mark, so a value copied from a European-locale log still parses.

2

Compare the degree result against the drawing

The right field updates live as you type, so you can walk a series of logged positions through one after another and watch where a joint approaches the mechanical limit marked on the assembly drawing.

3

Swap to prepare a radian-side value

Setting a joint limit from a drawing runs the other way. The swap button (↔) turns the pair into ° → rad so a 135° hard stop becomes the 2.35619449 the description file needs.

4

Switch the target to milliradians for alignment work

Both dropdowns are searchable and list every angle unit in the app, so a squareness figure can be read as milliradians for the metrology report and as degrees for the shop tolerance without retyping it.

Watch the sign convention, not just the magnitude. Positive rotation is counter-clockwise about the joint axis in a robot description, while a rotary table's positive direction depends on how it was mounted and on the machine's own convention. The conversion is direction-agnostic — the arithmetic cannot tell you that a mirrored axis needs its sign flipped.

Joint and Rotary-Axis Angles Side by Side

Values that recur in robot logs and machine setup sheets, with the degree figure a pendant or an axis word would carry. The last column is a rough sense of what that angle costs at the tool: an arc length at a 500 mm reach, which is where a small radian error stops being abstract.

Radians in the log Degrees Typical meaning Arc at 500 mm reach
0.001 0.057296° One milliradian — an alignment or squareness figure 0.5 mm
0.01 0.572958° A jog increment for fine teaching 5 mm
0.1 5.729578° A coarse jog step 50 mm
0.5 28.647890° A mid-range wrist position 250 mm
1 57.295780° One radian — the arc equals the reach itself 500 mm
1.5707963 90.000000° A quarter turn; the commonest URDF joint limit 785 mm
2.3561945 135.000000° An indexing position on a rotary table 1 178 mm
3.1415927 180.000000° The wrap point where a continuous joint flips sign 1 571 mm
6.2831853 360.000000° A full revolution of a continuous axis 3 142 mm

What Helps When You Are Chasing a Joint Value

Walk through a log without re-entering units

Both fields recalculate on every keystroke, so a run of logged positions can be checked one after another by overtyping the number and reading the degree column.

Set a joint limit from a shop drawing

Swapping the pair runs the conversion the other way, which is the direction you need when the tolerance was written in degrees and the description file wants radians.

Milliradians and degrees from one entry

Because the unit lists are complete on both sides, an alignment result reads as mrad for the metrology sheet and as decimal degrees for the machine offset without a second calculation.

Clean numbers for a setup sheet

Copy puts the plain value on the clipboard with no unit and no thousands spacing, which is what a controller variable or a spreadsheet cell will accept.

Questions from the Robot Cell and the Shop Floor

Why does the controller log radians when the pendant shows degrees?

They serve different audiences. The ROS standard on units and conventions fixes radians for all angular quantities and radians per second for angular rates, so that planners, transform trees and controllers can be mixed without a unit negotiation at every boundary. The pendant exists for an operator standing at the cell, and degrees are what that person can picture. Both are looking at the same joint; only the presentation layer differs.

Can a rotary axis be commanded in radians instead?

In practice, no. Rotary axis words in a part program carry degrees, and the feedrate that goes with them is degrees per minute — there is no modal setting for angular units the way there is for millimetres and inches. Some controls will accept an angle typed as degrees, minutes and seconds and reduce it internally, but the underlying unit is still the degree. Any radian value coming out of a planner has to be scaled before it reaches the program.

My joint reads −3.1 rad one moment and +3.1 the next. What happened?

The value wrapped. A continuous joint is normally reported in the interval −π to +π, so crossing 180° makes the sign jump even though the physical motion was a fraction of a degree. Converted, −3.1 rad is −177.62° and +3.1 rad is +177.62° — the arm moved 4.76°, not 355°. Anything that differentiates the signal, such as a velocity estimate or a naive move-to-target, has to unwrap first by adding or subtracting 2π (360°) before the subtraction.

How many decimal places of a radian value should I keep?

Match the machine's resolution rather than picking a habit. Three decimals of a radian is a granularity of 0.0573° — coarser than most rotary tables, which index to 0.001°. Four decimals gives 0.0057°, five gives 0.00057°, which is finer than a 17-bit joint encoder resolves at 0.00275° per count. As a rule, keep at least five decimals for anything that will be commanded, and only round for a report a human reads.

Where do milliradians show up in machine and robot work?

Wherever a small angle is more useful as a slope than as a fraction of a circle. Laser interferometer and autocollimator reports quote pitch, yaw and squareness in milliradians or arc seconds; beam-steering and optical mounting specifications do the same. One milliradian is 0.0572958°, and its appeal is that it converts to length almost directly — a milliradian over a metre is a millimetre, which is why alignment technicians reach for it. The dropdown carries mrad alongside degrees and radians, so the same entry serves the report and the machine offset.

rad
°

Joint and Rotary-Axis Angles

0.01 rad=0.5729578 °
0.1 rad=5.7295780 °
0.5 rad=28.6478898 °
1 rad=57.2957795 °
1.5707963 rad=90 °
3.1415927 rad=180 °

Radian (rad)

The unit a controller thinks in: joint states, URDF limits and angular rates are all radian-based, and one radian sweeps an arc equal to the link length.

Degree (°)

The unit the cell is built in. Pendants, fixture drawings, rotary-axis words and feedrates in degrees per minute all expect this side of the pair.

Paste the full radian value from the log — rounding it first costs resolution
Use swap (↔) to go the other way when a joint limit comes off a drawing in degrees
Switch the target unit to mrad to read alignment and squareness figures
Runs entirely in your browser — no log data is sent anywhere
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords