Cylindrical Coordinates Calculator
Convert between cylindrical, Cartesian, and spherical coordinates with interactive 3D visualization. Calculate r, θ, z values instantly.
About
Coordinate system errors propagate silently through integration bounds, vector field computations, and boundary condition definitions. A sign mistake in the θ component or a forgotten r factor in the volume element dV = r ⋅ dr ⋅ dθ ⋅ dz invalidates the entire result. This calculator performs exact conversions between cylindrical (r, θ, z), Cartesian (x, y, z), and spherical (ρ, θ, φ) coordinate systems using standard ISO 31-11 conventions. It handles quadrant-aware arctangent via atan2 and supports both degree and radian input.
The tool assumes the physics convention for spherical coordinates where θ is the azimuthal angle and φ is the polar angle measured from the positive z-axis. Note: the mathematics convention swaps θ and φ. Verify which convention your textbook uses before applying results. The interactive 3D visualization renders the point and its projections onto coordinate planes to build geometric intuition.
Formulas
The fundamental conversion from cylindrical to Cartesian coordinates uses the polar projection onto the xy-plane.
The inverse transformation from Cartesian to cylindrical recovers the radial distance and azimuthal angle.
Conversion between cylindrical and spherical coordinates (physics convention where φ is the polar angle from the z-axis).
The gradient operator in cylindrical coordinates applies scale factors to partial derivatives.
The Laplacian in cylindrical coordinates includes the critical 1r factor.
Where r = radial distance from z-axis, θ = azimuthal angle in xy-plane measured from positive x-axis, z = height along the vertical axis, ρ = radial distance from origin (spherical), φ = polar angle from positive z-axis (physics convention).
Reference Data
| Property | Cylindrical | Cartesian | Spherical |
|---|---|---|---|
| Coordinates | (r, θ, z) | (x, y, z) | (ρ, θ, φ) |
| Range of r / ρ | r ≥ 0 | x ∈ R | ρ ≥ 0 |
| Range of θ | [0, 2π) | - | [0, 2π) |
| Range of φ | - | - | [0, π] |
| Volume Element | r dr dθ dz | dx dy dz | ρ2 sinφ dρ dθ dφ |
| Scale Factor h1 | 1 | 1 | 1 |
| Scale Factor h2 | r | 1 | ρ |
| Scale Factor h3 | 1 | 1 | ρ sinφ |
| Unit Vectors | er, eθ, ez | ex, ey, ez | eρ, eθ, eφ |
| Orthogonal | Yes | Yes | Yes |
| Best for Symmetry | Axial / Cylindrical | None (general) | Radial / Spherical |
| Common Applications | Pipes, solenoids, rotating shafts | General mechanics, CAD | Gravity, EM radiation, antennas |
| Laplacian Form | 1r ∂∂r(r ∂f∂r) + ... | ∂2f∂x2 + ∂2f∂y2 + ∂2f∂z2 | Complex (see formulas) |
| x from Cylindrical | r cosθ | - | ρ sinφ cosθ |
| y from Cylindrical | r sinθ | - | ρ sinφ sinθ |
| z from Cylindrical | z | - | ρ cosφ |
| r from Cartesian | √x2 + y2 | - | - |
| θ from Cartesian | atan2(y, x) | - | atan2(y, x) |
| ρ from Cartesian | - | - | √x2 + y2 + z2 |
| Jacobian Determinant | r | 1 | ρ2 sinφ |
| ISO Convention | ISO 31-11 | ISO 31-11 | ISO 31-11 (physics) |