Skip to content
FiftyCalc Free calculators for all 50 states

Cylindrical Coordinates Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Choose the direction, then enter either x, y and z, or ρ, φ (in degrees) and z.

Result

Sample figures

ρ = √(x² + y²)—

φ = atan2(y, x) (degrees) —

  • x = ρ cos φ—
  • y = ρ sin φ—
  • z—
  • Distance from the origin √(ρ² + z²)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Cylindrical Coordinates Calculator

Convert: choose Cartesian (x, y, z) to cylindrical or Cylindrical (ρ, φ, z) to Cartesian. Prefilled example: Cartesian (x, y, z) to cylindrical.

x, or ρ (distance from the z-axis): enter a number. Prefilled example: 3.

y, or φ in degrees: enter a number. Prefilled example: 4.

z (the same in both systems): enter a number. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Convert: choose Cartesian (x, y, z) to cylindrical or Cylindrical (ρ, φ, z) to Cartesian.
  2. x, or ρ (distance from the z-axis): enter a number.
  3. y, or φ in degrees: enter a number.
  4. z (the same in both systems): enter a number.
  5. Read the result: ρ = √(x² + y²); the panel also shows φ = atan2(y, x) (degrees), x = ρ cos φ, y = ρ sin φ, z and Distance from the origin √(ρ² + z²).

How this calculator works

Cylindrical coordinates (ρ, φ, z) are polar coordinates in the xy-plane plus the height z: x = ρ cos φ, y = ρ sin φ, z = z. Back: ρ = √(x² + y²), φ = atan2(y, x), z = z (ISO 80000-2 uses ρ, φ, z).

φ is given in degrees between −180° and 180°; atan2 keeps the correct quadrant. The distance from the origin is √(ρ² + z²) = √(x² + y² + z²). Converted values are rounded to 10 decimal places.

The formula

  1. ρ={u2+v2if m=1uotherwise
Symbols used in the formula
SymbolMeaning
mConvert (1: Cartesian (x, y, z) to cylindrical; 2: Cylindrical (ρ, φ, z) to Cartesian)
ux, or ρ (distance from the z-axis)
vy, or φ in degrees
ρρ = √(x² + y²)

Worked example

ConvertCartesian (x, y, z) to cylindrical
x, or ρ (distance from the z-axis)3
y, or φ in degrees4
z (the same in both systems)5
φ = atan2(y, x) (degrees)53.1301
x = ρ cos φ3
y = ρ sin φ4
z5
Distance from the origin √(ρ² + z²)7.0711
  1. ρ=32+42=5

ρ = √(x² + y²) 5

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is (3, 4, 5) in cylindrical coordinates?

ρ = 5, φ = atan2(4, 3) ≈ 53.1301° and z = 5.

What is (ρ, φ, z) = (2, 60°, −1) in Cartesian coordinates?

x = 2 cos 60° = 1, y = 2 sin 60° ≈ 1.7321 and z = −1.

Questions answered

Related calculators