About the Cylindrical Coordinate System
Cylindrical coordinates describe a point in 3D space using three values: r, the radial distance from the z-axis to the point's projection on the xy-plane; θ (theta), the angle that projection makes with the positive x-axis; and z, the height above or below the xy-plane — identical to the Cartesian z. This calculator converts a Cartesian point (x, y, z) into its cylindrical equivalent (r, θ, z).
The conversion formulas
- Radius: r = √(x² + y²) — the straight-line distance from the z-axis, found with the Pythagorean theorem.
- Angle: θ = atan2(y, x) — the two-argument arctangent, which correctly places θ in the right quadrant for any sign combination of x and y.
- Height: z = z — the vertical coordinate carries over unchanged.
The reverse conversion, from cylindrical back to Cartesian, uses x = r·cos(θ), y = r·sin(θ), and z = z.
Where cylindrical coordinates are used
Cylindrical coordinates are the natural choice whenever a system has rotational symmetry around an axis: pipes and cylinders in engineering, robotic-arm positioning, electromagnetic field problems, and cylindrical or polar plots in physics and CAD software. Because θ wraps around a circle, this system often simplifies equations that would be awkward in pure Cartesian (x, y, z) form.