Cartesian to Cylindrical
Cylindrical coordinates (r,θ,z) extend 2D polar to 3D. r = √(x²+y²) is distance from z-axis; θ = atan2(y,x) is azimuthal angle; z stays unchanged. Ideal for pipes, wires, and rotational symmetry.
Did our AI summary help? Let us know.
Same r and θ formulas as 2D polar in the xy-plane. D in plane equation Ax+By+Cz+D=0 does not affect angle. Inverse: x = r·cos(θ), y = r·sin(θ), z = z.
Ready to run the numbers?
Why: Cylindrical coordinates simplify problems with axial symmetry: electric fields around wires, pipe flow, pressure vessels. The xy-plane is treated as 2D polar; z is independent.
How: r = √(x²+y²), θ = atan2(y,x), z = z. Use atan2 for correct quadrant. On the z-axis (x=y=0), r=0 and θ is undefined.
Run the calculator when you are ready.
Enter Cartesian Coordinates
For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
r = √(x²+y²), θ = atan2(y,x), z = z.
— 3D Geometry
Inverse: x = r cos θ, y = r sin θ.
— Conversion
Key Takeaways
- • Cylindrical = polar + z: , ,
- • r is the radial distance from the z-axis in the xy-plane
- • θ is the azimuthal angle in the xy-plane from the x-axis
- • z is unchanged — identical to Cartesian z
- • Ideal for problems with cylindrical symmetry: pipes, wires, rotating fluids
Did You Know?
Electric fields around infinite wires and magnetic fields in solenoids are naturally expressed in cylindrical coordinates.
Pipe flow and axial flow problems use cylindrical coordinates. The Navier-Stokes equations simplify in cylindrical form.
Pressure vessels, shafts, and cylindrical structures are analyzed using cylindrical coordinates for stress and strain.
Cylindrical coordinates are simply polar (r,θ) in the xy-plane plus z. The xy-plane is treated as 2D polar.
The Laplace equation in cylindrical coordinates separates variables, enabling solutions for potential fields.
When x = y = 0, r = 0 and θ is undefined. The point lies on the z-axis.
Understanding Cartesian to Cylindrical
Cylindrical coordinates extend 2D polar to 3D. The (x,y) plane is converted to (r,θ) with the same formulas as polar; z stays the same.
Use atan2(y,x) to get the correct quadrant for θ.
Expert Tips
Same as Polar
The r and θ formulas are identical to 2D polar. Only the xy-plane is considered; z is independent.
z-Axis
On the z-axis (x=y=0), r=0 but θ is undefined. Many conventions use θ=0 by default.
Angle Range
θ is typically normalized to [0, 2π) or (-π, π]. This calculator uses [0°, 360°).
Inverse Conversion
To go back: x = r·cos(θ), y = r·sin(θ), z = z. Use the Cylindrical to Cartesian calculator.
Frequently Asked Questions
What is the formula for r?
r = √(x² + y²). It is the perpendicular distance from the z-axis to the point.
Why does z stay the same?
z measures height above the xy-plane in both Cartesian and cylindrical. The coordinate systems share the same z-axis.
What happens on the z-axis?
When x = y = 0, r = 0. The angle θ is undefined because there is no unique direction in the xy-plane.
How is this different from spherical?
Cylindrical uses (r,θ,z): r is distance from z-axis. Spherical uses (ρ,θ,φ): ρ is distance from origin.
When is cylindrical preferred?
Problems with cylindrical symmetry: wires, pipes, rotating cylinders, axial flow.
Can I convert cylindrical to Cartesian?
Yes: x = r·cos(θ), y = r·sin(θ), z = z. Use our Cylindrical to Cartesian calculator.
What is the unit vector for r?
In cylindrical coordinates, the radial unit vector is (cos θ, sin θ, 0) in Cartesian components.
How to Use This Calculator
- Enter Cartesian (x, y, z) or click a sample example to auto-fill and calculate.
- Click Calculate to get cylindrical (r, θ, z).
- Review the step-by-step solution and metrics.
- Use Copy Results to share.
Note: Angles are normalized to [0°, 360°). Standard floating-point arithmetic applies.
Related Calculators
Cylindrical To Cartesian Calculator
Cylindrical To Cartesian Calculator - Calculate and learn about coordinate-geometry concepts
MathematicsCartesian To Polar Calculator
Cartesian To Polar Calculator - Calculate and learn about coordinate-geometry concepts
MathematicsCartesian To Spherical Calculator
Cartesian To Spherical Calculator - Calculate and learn about coordinate-geometry concepts
MathematicsCylindrical Coordinates Calculator
Cylindrical Coordinates Calculator - Calculate and learn about coordinate-geometry concepts
MathematicsPolar To Cartesian Calculator
Polar To Cartesian Calculator - Calculate and learn about coordinate-geometry concepts
MathematicsSpherical To Cartesian Calculator
Spherical To Cartesian Calculator - Calculate and learn about coordinate-geometry concepts
Mathematics