By RWT Robotics Editorial Team Updated
Cartesian systems are robots that move a tool along three straight, perpendicular axes (X, Y and Z), so every position the controller commands maps directly to a coordinate in a rectangular workspace. A gantry arm is the bridge-style version of the same idea: the moving beam is supported at both ends rather than hanging off one side. This guide covers the coordinate system first, then how these machines work, where they beat articulated arms and where they fall short.
The rundown
- A Cartesian XYZ coordinate is an ordered triple (x, y, z) of signed distances from an origin along three perpendicular axes.
- A Cartesian robot has one sliding joint per axis, so its joint values are its XYZ position.
- Moving a tool from (0, 0, 0) to (400, 300, 120) mm takes three independent linear moves and about 514 mm of straight-line travel.
- ROS REP 103 uses a right-handed frame with x forward, y left and z up, and a URDF prismatic joint with axis xyz=”1 0 0″ slides along X.
- Six-axis arms need inverse kinematics to reach an XYZ point. Cartesian robots do not.
Coordinates first, machines second
Cartesian XYZ coordinates describe any point in 3D space as (x, y, z) distances along three perpendicular axes from an origin. Cartesian robots are machines built so their motors move along exactly those axes. The sections below explain the coordinates first and then the machines built around them, because the math explains why the machines are so simple to program.
What are Cartesian XYZ coordinates?
Cartesian XYZ coordinates locate a point in three-dimensional space with three numbers, each giving the signed distance from a fixed origin along one of three mutually perpendicular axes. The point (2, -1, 5) sits 2 units along X, 1 unit in the negative Y direction and 5 units along Z.
Origin and axes
The origin is the point (0, 0, 0), where the three axes cross. Each axis is a number line with a positive and a negative direction, so a coordinate carries a sign as well as a size. A negative x value means the point is on the opposite side of the origin from the +X arrow.
The units come from the application. A CAD model might use millimetres, a ROS robot uses metres, and a geodetic system uses metres from the centre of the Earth.
Coordinate planes and octants
Three coordinate planes pass through the origin: the XY plane (where z = 0), the YZ plane (x = 0) and the XZ plane (y = 0). Together they split space into eight octants, one for each combination of signs. The first octant holds every point where x, y and z are all positive.
In 2D, the two axes split the plane into four quadrants, numbered I to IV counterclockwise from the top-right quadrant where both values are positive. Machine builders often put the origin at a workspace corner for exactly this reason: every reachable point then lands in the first quadrant or octant, and no commanded coordinate is negative.
The right-hand rule
The right-hand rule fixes which way +Z points once X and Y are chosen. Point the fingers of your right hand along +X, curl them toward +Y, and your thumb points along +Z.
A frame that passes this test is right-handed. Mirror one axis and the frame becomes left-handed, which flips the sign of rotations and cross products. Mixing the two conventions is a classic source of mirrored parts and robots that turn the wrong way.
Engineer's note
Before trusting a machine frame, run the right-hand rule on it. If X points right and Y points toward you, a right-handed Z points down into the table, not up. Many “Z up” setups quietly turn out to be left-handed.
2D, 3D and n-dimensional coordinates
Cartesian coordinates are not limited to three axes. A flat plane uses two values, written (x, y). Three-dimensional space uses the triple (x, y, z). Mathematics extends the same idea to n dimensions, where a point is a list of n numbers (xโ, xโ, โฆ xโ).
Robotics uses all three. A laser cutter’s head works in a 2D XY plane, a gantry works in 3D, and a robot’s full configuration is often treated as a point in an n-dimensional space with one axis per joint.
Where the name comes from
The system is named after Renรฉ Descartes, the 17th-century French philosopher and mathematician. His La Gรฉomรฉtrie, published in 1637 as an appendix to Discourse on the Method, used algebra to solve geometric problems and tied curves to equations, which laid the groundwork for analytic geometry. Pierre de Fermat developed coordinate geometry independently around the same time.
Did you know?
The St Andrews MacTutor biography of Descartes points out that La Gรฉomรฉtrie never sets out the standard “Cartesian coordinate system” as taught today. Descartes picked axes to suit each problem, and Britannica notes he was not the first to attempt a coordinate system.
From math frames to robot frames
ROS uses the same right-handed geometry. REP 103, the ROS convention for units and coordinate frames, says all frames are right-handed, and that for a robot body x points forward, y points left and z points up. It also standardises on SI units, so distances are in metres.
That convention is why a URDF joint with axis xyz="1 0 0" means motion along X. The three numbers form a unit vector in the joint’s own frame: 1 along X, 0 along Y, 0 along Z.
What is a Cartesian robot?
A Cartesian robot is a manipulator with three linear (prismatic) joints whose axes line up with X, Y and Z. Each motor slides the tool in a straight line along one axis.

ISO 8373, the standard that defines robot vocabulary, describes a Cartesian (also called rectangular) robot as one whose arm has three prismatic joints with axes aligned to a Cartesian coordinate frame. Put simply, each motor moves the tool in a straight line along one axis. Nothing rotates unless a rotary axis is added at the end, which vendors usually label “theta” or “C”.
That arrangement is why the term “cartesian x y z” fits so well. Commanding the tool to (X, Y, Z) is a direct instruction, with no trigonometry in between.
ISO 8373:2021 defines an industrial robot as an automatically controlled, reprogrammable, multipurpose manipulator programmable in three or more axes. Two-axis linear units are common in automation, but they fall outside that industrial-robot definition and are usually called positioning systems.
Gantry vs cantilever
| Configuration | How it is built | Typical strength | Typical drawback |
|---|---|---|---|
| Gantry | Beam supported on both ends by parallel rails | Long spans, heavy loads, high stiffness | Large footprint, needs overhead or frame space |
| Cantilever | Axis supported on one end only | Open access from three sides, compact | Deflection grows with reach and load |
| Single or two-axis | One or two linear modules | Cheap, simple transfer tasks | Limited to a line or plane |
How does a Cartesian robot move in X, Y and Z?
A Cartesian robot moves in X, Y and Z by driving one linear module per axis, so each motor changes exactly one coordinate. The controller turns a target point into three axis positions and moves them, either one after another or together along a straight line.
Each axis is a linear module made of a rail, a carriage and a drive. The common drives are:
- Ball screws for precision and good stiffness over moderate strokes.
- Toothed belts for long strokes and fast moves where some compliance is tolerable.
- Rack and pinion for very long gantries, including floor-to-ceiling installations.
- Linear motors for high speed and accuracy with no mechanical transmission.
Because each axis carries the same kind of load across its stroke, positioning behaviour stays fairly consistent throughout the workspace. An articulated arm, by contrast, changes its stiffness and resolution as its joints fold and extend.
Engineer's note
When a spec sheet quotes repeatability for a Cartesian system, check which drive and stroke it applies to. A belt axis and a ball-screw axis from the same vendor can differ a lot, so the headline figure rarely describes the whole machine.
Worked example: moving a gantry tool to (400, 300, 120) mm
To reach a point, a gantry moves each axis by the difference between the target and current coordinate. Take a workspace origin at the back-left floor corner. To keep the frame right-handed with Z up, X runs from the back toward the front, Y runs to the right along the back edge, and Z points up. The tool starts at (0, 0, 0) and is commanded to (400, 300, 120) mm.
| Axis | Start (mm) | Target (mm) | Move |
|---|---|---|---|
| X | 0 | 400 | Carriage travels 400 mm toward the front |
| Y | 0 | 300 | Carriage travels 300 mm to the right |
| Z | 0 | 120 | Tool rises 120 mm above the floor |
The straight-line distance from start to target is:
d = โ(400ยฒ + 300ยฒ + 120ยฒ)
= โ(160000 + 90000 + 14400)
= โ264400
โ 514 mm
The axis targets are just the coordinates themselves, so there is nothing to solve. A six-axis arm would have to compute six joint angles through inverse kinematics to put its tool at the same point, and could have several valid answers.
How the axes move changes the path. If the controller moves them one at a time, the tool follows a three-segment staircase route, one leg per axis, of 400 + 300 + 120 = 820 mm. With coordinated linear interpolation (a G1 move in G-code), all three axes start and stop together and the tool travels the 514 mm diagonal. In that case the X axis, with the longest stroke, sets the pace and the other two scale their speeds to match.
Converting Cartesian XYZ to other coordinates
Cartesian XYZ is one of several ways to describe the same point, and conversion formulas link them. Engineers switch systems when another one fits the geometry or the hardware better.
| System | Coordinates | Typical use |
|---|---|---|
| Cartesian (rectangular) | (x, y, z) | CAD, CNC, 3D printing, gantry robots |
| Cylindrical | (r, ฮธ, z) | Pipes, rotary tables, cylindrical robots |
| Spherical | (r, ฮธ, ฯ) | Radar, antenna pointing, polar robots |
| Earth-centred, Earth-fixed (ECEF) | (X, Y, Z) metres from Earth’s centre | GNSS processing, geodesy |
| Geodetic | Latitude, longitude, ellipsoid height | Maps, surveying, navigation |
| Joint space | One value per joint | Robot controllers and motion planners |
Spherical and cylindrical coordinates
Cylindrical coordinates replace x and y with a radius and an angle around the Z axis, so x = r cos ฮธ and y = r sin ฮธ while z stays the same. Spherical coordinates describe a point by its distance from the origin plus two angles, one from the vertical axis and one around it.
ISO 8373 names robots after these systems too. A cylindrical robot rotates and slides, and a polar (spherical) robot combines two rotations with one extension.
Earth-centred XYZ vs latitude and longitude
Geodesy uses a giant Cartesian frame with its origin at the Earth’s centre of mass, Z toward the North Pole and X through the point where the equator meets the prime meridian. GPS receivers work in this Earth-centred, Earth-fixed XYZ frame internally, then report latitude, longitude and height for people to read.
For converting between the two, the US National Geodetic Survey’s Coordinate Conversion and Transformation Tool (NCAT) handles latitude/longitude/height, XYZ, UTM, State Plane Coordinates and USNG. NCAT replaced NGS’s older standalone XYZ conversion page.
Cartesian space vs joint space
Cartesian space describes where the tool is, while joint space describes what each motor is doing. On a Cartesian robot the two are effectively the same thing: the X, Y and Z joint values are the tool’s position, offset only by where the tool is mounted.
A six-axis arm is different. Its joint values are angles, so turning a target XYZ point and orientation into joint angles needs inverse kinematics. That solve can fail near singularities or return several valid poses. Removing that problem is the main software advantage of a Cartesian design.
Where are Cartesian XYZ systems used?
Cartesian XYZ motion drives 3D printers, CNC routers, laser cutters, pick-and-place machines and factory gantries. Any job inside a rectangular box, from a desktop to a hall-sized frame, is a natural fit.
Desktop 3D printers, CNC routers, laser cutters and electronics pick-and-place machines are all Cartesian systems, even though the ISO 8373 industrial-robot definition does not cover every one of them. In factories, gantry robots load machine tools, palletise cases, and handle sheet metal and automotive parts across spans no floor-mounted arm could reach. Suppliers including Gรผdel, Festo, Bosch Rexroth and IAI build modular axes or complete gantry systems, and they are only one corner of the much wider field of robotics companies.
Machine tools follow their own axis naming. ISO 841, the numerical-control coordinate standard, ties the Z axis to the main spindle, so on a vertical mill Z is up and down, while on a lathe it runs along the spindle.
Software and modelling
Most industrial units run on a PLC or a dedicated motion controller, and machine-tool variants accept G-code. In ROS, each axis is modelled as a prismatic joint in URDF, so tools like MoveIt can plan for a gantry the same way they plan for an arm.
<joint name="x_axis" type="prismatic">
<parent link="base_link"/>
<child link="x_carriage"/>
<axis xyz="1 0 0"/>
<limit lower="0.0" upper="1.2" effort="500" velocity="1.0"/>
</joint>
The limits above are placeholder values for illustration, not a real product spec. Each axis element is a unit vector in that joint’s frame, so xyz="1 0 0" slides along X, 0 1 0 along Y and 0 0 1 along Z. Under REP 103, prismatic limits are in metres, not millimetres.
Limits worth knowing
A Cartesian robot cannot reach around obstacles or into a box from the side, and it cannot reorient a part without extra rotary axes. Its frame is always larger than its working volume, which costs floor or ceiling space. Pricing depends heavily on stroke, payload and drive type, so a price for one configuration says little about another.
Reality check
“Cartesian” describes kinematics, not quality. Accuracy, speed and payload come down to the specific axes, drives and frame, so compare datasheets rather than categories.
FAQ
Is a gantry robot the same as a Cartesian robot?
A gantry robot is one type of Cartesian robot. All gantries use linear XYZ axes, but not every Cartesian robot is a gantry, since cantilever designs are also common.
Why choose a Cartesian robot over a six-axis arm?
Cartesian robots suit large rectangular work areas, heavy or long parts, simple programming and consistent accuracy. Six-axis arms win when the tool needs to approach from many angles.
Is a 3D printer a Cartesian robot?
Most are. A typical printer moves the nozzle or bed along X, Y and Z with belts or lead screws, which fits the definition exactly.
Are Cartesian coordinates always XYZ?
No. XYZ is the three-dimensional case. A flat plane uses two Cartesian coordinates, written (x, y), and mathematics extends the system to any number of dimensions, where a point is a list of n values. All versions share the same idea: perpendicular axes, a common origin and signed distances along each axis.
Is XYZ two-dimensional or three-dimensional?
XYZ is three-dimensional. The X and Y axes define a flat plane, and the Z axis adds depth or height at right angles to both. Two-dimensional work, such as a laser cutter head moving over a sheet, needs only X and Y. Once a third independent direction matters, the full XYZ system is needed.
What exactly is an XYZ coordinate?
An XYZ coordinate is an ordered triple (x, y, z) of signed distances from the origin, measured along three perpendicular axes. Order matters: (3, 1, 2) and (1, 3, 2) are different points. The sign shows the side of the origin, so (-3, 1, 2) sits three units along the negative X direction.
Which comes first, x or y?
In Cartesian coordinates, x is written first by convention. Other systems use their own order. Geographic coordinates, for example, are usually written latitude first, then longitude. A 2D Cartesian coordinate is written (x, y), with the horizontal value before the vertical one, and a 3D coordinate is written (x, y, z). A common memory aid says you walk along the corridor (x) before you take the stairs (y). G-code and robot software keep the same order.
Why is it called the Cartesian coordinate system?
It is named after Renรฉ Descartes, the French philosopher and mathematician whose 1637 work La Gรฉomรฉtrie used algebra to describe geometric shapes. “Cartesian” comes from Cartesius, the Latin form of his name. Historians note that Pierre de Fermat developed similar ideas independently, and that the modern system took shape after Descartes.
Does a Cartesian robot need inverse kinematics?
Not in any meaningful sense. Each linear joint moves along one axis, so the joint values match the tool’s X, Y and Z position, apart from fixed tool offsets. A six-axis arm must compute joint angles from a target pose, which is slower to solve and can return several answers.
The practical takeaway
If a task fits inside a box and the tool never has to tilt, start with a Cartesian layout and run the right-hand rule on its frame before writing any motion code. Most of the hard problems on these machines come from badly defined coordinates, not from the mechanics.
Credits and sources
By RWT Robotics Editorial Team
- Published ยท Updated









