Polar, Cylindrical and Spherical Coordinate Converter
Convert points between Cartesian (x, y, z), polar, cylindrical and spherical coordinates in 2D and 3D.
How to use this calculator
Choose the system you have and type the coordinates separated by commas. Angles use the unit you choose. In spherical coordinates, ρ is the distance from the origin, θ the angle in the xy-plane from the x-axis (azimuth) and φ the angle down from the positive z-axis (polar angle), the convention used in most mathematics textbooks.
Formula
Polar/cylindrical: x = r cos θ, y = r sin θ, z = z; r = √(x² + y²), θ = atan2(y, x). Spherical: x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ; ρ = √(x² + y² + z²), φ = arccos(z ÷ ρ).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What are polar coordinates?
A way to locate a point in a plane by its distance r from the origin and its angle θ from the positive x-axis.
What is the difference between cylindrical and spherical coordinates?
Cylindrical coordinates add a height z to polar coordinates. Spherical coordinates use the distance from the origin and two angles.
Why do physics books swap θ and φ?
Physics often uses θ for the polar angle and φ for the azimuth. This converter uses the mathematics convention; swap them if your course uses the physics one.
What range does the angle have?
θ is given from −180° to 180° (atan2). Add 360° to negative angles for the range 0°–360°.
Where are these coordinates used?
Navigation, robotics, electromagnetism, planetary motion and 3D graphics.
How do I convert 2D points?
Enter two values for Cartesian (x, y) or polar (r, θ).
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Strang, G., & Herman, E. J. (2016). Cylindrical and spherical coordinates. In Calculus volume 3 (Section 2.7). OpenStax. View source
- Abramson, J. (2021). Precalculus 2e. OpenStax. View source
- Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source