Cylindrical to Cartesian Coordinates Converter

Cylindrical to Cartesian Coordinates Converter

Growing AI Skill PRO

Enter Calculation

Formula

x=ρcos⁡θ,y=ρsin⁡θ,z=zwhere{ρ=Radius ρθ=Azimuth θ (deg)×π180\begin{gathered} x = \rho\cos\theta, \quad y = \rho\sin\theta, \quad z = \text{z} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} \rho &= {{\text{Radius } \rho}} \\ \theta &= {{\text{Azimuth } \theta \text{ (deg)}}} \times \frac{\pi}{180} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Cartesian Coordinates (x, y, z)
(1.5, 2.598076, 4)
rectangular coordinates
x 1.5
y 2.5980762114
z 4

Report an error on this page

What is the Cylindrical to Cartesian Converter?

This tool converts a point in 3D space given in cylindrical coordinates — the radial distance rho, the azimuthal angle theta, and the height z — into standard Cartesian (rectangular) coordinates (x, y, z). Cylindrical coordinates are widely used in physics and engineering for problems with rotational symmetry, such as pipes, wires, and electromagnetic fields, while Cartesian coordinates are the everyday x-y-z system.

How to use it

Enter the radial distance rho (the distance from the z-axis to your point), the azimuthal angle theta (measured in the xy-plane from the positive x-axis), and the height z. Choose whether theta is given in degrees or radians, then read off the converted (x, y, z) values. All inputs accept any real number, including negatives and zero.

Top-down view of the xy-plane showing right triangle with rho as hypotenuse, x and y as legs
Top view: x = rho cos theta and y = rho sin theta form a right triangle in the xy-plane.

The formula explained

The conversion is pure trigonometry. The angle is first converted to radians: if degrees are selected, multiply theta by pi/180. Then \(x = \rho\cos\theta\) and \(y = \rho\sin\theta\), which break the radial distance into its horizontal components. The height z is unchanged: \(z = z\). Because the formulas only multiply, there is never a division-by-zero issue; when \(\rho = 0\) the point lies on the z-axis and \(x = y = 0\).

$$x = \rho\cos\theta, \quad y = \rho\sin\theta, \quad z = \text{z}$$

$$\text{where}\quad \left\{ \begin{aligned} \rho &= \text{Radius } \rho \\ \theta &= \text{Azimuth } \theta \text{ (deg)} \times \frac{\pi}{180} \end{aligned} \right.$$

Advertisement

Worked example

Take \(\rho = 3\), \(\theta = 60\) degrees, \(z = 4\). Converting the angle: $$60 \cdot \frac{\pi}{180} = 1.0472 \text{ rad}$$ Then \(\cos(60\degree) = 0.5\) and \(\sin(60\degree) = 0.8660254\). So $$x = 3 \cdot 0.5 = 1.5, \quad y = 3 \cdot 0.8660254 = 2.5980762$$ and z stays 4. The Cartesian point is \((1.5, 2.5980762, 4)\).

Diagram showing cylindrical coordinates rho, theta, z projected onto Cartesian x, y, z axes
Cylindrical coordinates (rho, theta, z) projected onto the Cartesian x, y, z axes.

Common Angles: Cosine and Sine Lookup Table

In cylindrical coordinates the Cartesian values are \(x = \rho\cos\theta\) and \(y = \rho\sin\theta\), with \(z\) unchanged. For a given angle, the ratios \(x/\rho\) and \(y/\rho\) are exactly \(\cos\theta\) and \(\sin\theta\). Multiply them by \(\rho\) to get the point. Decimals are rounded to 4 places.

θ (degrees) θ (radians) cos θ (exact) sin θ (exact) x/ρ y/ρ
0° \(0\) \(1\) \(0\) 1 0
30° \(\frac{\pi}{6}\) \(\frac{\sqrt{3}}{2}\) \(\frac{1}{2}\) 0.8660 0.5
45° \(\frac{\pi}{4}\) \(\frac{\sqrt{2}}{2}\) \(\frac{\sqrt{2}}{2}\) 0.7071 0.7071
60° \(\frac{\pi}{3}\) \(\frac{1}{2}\) \(\frac{\sqrt{3}}{2}\) 0.5 0.8660
90° \(\frac{\pi}{2}\) \(0\) \(1\) 0 1
120° \(\frac{2\pi}{3}\) \(-\frac{1}{2}\) \(\frac{\sqrt{3}}{2}\) -0.5 0.8660
135° \(\frac{3\pi}{4}\) \(-\frac{\sqrt{2}}{2}\) \(\frac{\sqrt{2}}{2}\) -0.7071 0.7071
150° \(\frac{5\pi}{6}\) \(-\frac{\sqrt{3}}{2}\) \(\frac{1}{2}\) -0.8660 0.5
180° \(\pi\) \(-1\) \(0\) -1 0
270° \(\frac{3\pi}{2}\) \(0\) \(-1\) 0 -1
360° \(2\pi\) \(1\) \(0\) 1 0

To convert degrees to radians, multiply by \(\frac{\pi}{180}\).

Advertisement

Example Conversions Across Quadrants and Edge Cases

Case ρ θ z Result (x, y, z)
Quadrant I 4 30° 2 (4·0.8660, 4·0.5, 2) ≈ (3.464, 2, 2)
Quadrant II 3 120° -1 (3·(-0.5), 3·0.8660, -1) = (-1.5, 2.598, -1)
Quadrant III 5 210° 0 (5·(-0.8660), 5·(-0.5), 0) ≈ (-4.330, -2.5, 0)
Quadrant IV 2 300° 4 (2·0.5, 2·(-0.8660), 4) ≈ (1, -1.732, 4)
On the z-axis (ρ = 0) 0 any (e.g. 77°) 7 (0, 0, 7), since θ has no effect
Negative ρ -2 30° 1 (-2·0.8660, -2·0.5, 1) ≈ (-1.732, -1, 1)
Equivalent: positive ρ 2 210° 1 (2·(-0.8660), 2·(-0.5), 1) ≈ (-1.732, -1, 1), the same point
θ beyond 360° 3 450° 0 450° = 90° + 360°, so (3·0, 3·1, 0) = (0, 3, 0)

Note on sign conventions

  • θ is measured counterclockwise from the positive x-axis in the xy-plane (the usual mathematical convention). Some fields measure it differently, so check your source.
  • ρ is normally defined as ≥ 0. A negative ρ is allowed in the formula and is equivalent to adding 180° to θ: \((-\rho, \theta) \equiv (\rho, \theta + 180^\circ)\).
  • Angles differing by a multiple of 360° (or \(2\pi\) radians) give the same point.
  • The signs of x and y follow the quadrant of θ: Q1 (+, +), Q2 (−, +), Q3 (−, −), Q4 (+, −). The height z is the same in both systems.
  • Make sure the angle unit (degrees or radians) matches the value you enter; for example, 90 read as radians gives a very different point than 90°.

FAQ

What units does rho and z use? Any consistent length unit you like — the converter is dimensionless, so x, y, and z come out in the same units you put in.

Can the angle be negative or over 360 degrees? Yes. Trigonometric functions handle any angle, so values like -45° or 720° work correctly.

How do I go the other way? The inverse (Cartesian to cylindrical) uses \(\rho = \sqrt{x^2 + y^2}\), \(\theta = \operatorname{atan2}(y, x)\), and \(z = z\).

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators