Spherical Coordinates Calculator
Convert Cartesian x, y, z to spherical radius, azimuth and polar angle, away from the z-axis.
Formula
ρ=√(x²+y²+z²); θ=atan2(y,x); φ=acos(z/ρ).
Radius ρ ≈ sqrt((1)^2+(1)^2+(0)^2) · Azimuth θ ≈ 2×atan((1)÷(sqrt((1)^2+(1)^2)+(1)))×180÷pi · Polar angle φ ≈ 2×atan(sqrt((1)^2+(1)^2)÷((1.414213562)+(0)))×180÷pi
How to use
- Enter x, y and z in cm.
- Keep x or y nonzero.
- Read ρ and both angles in degrees.
Examples
- (0,3,4) gives ρ=5 cm, θ=90° and φ≈36.869898°.
Frequently asked questions
Which angle convention is used?
θ is azimuth from +x in [0°,360°); φ is measured from +z.
Can I enter a point on the z-axis?
No. Its azimuth is not uniquely defined, so x and y cannot both be zero.
Are negative coordinates allowed?
Yes. The azimuth accounts for all four quadrants.
Sources
Updated: