Home · Everyday · Vectors & Complex Numbers · Spherical Coordinates Calculator

Spherical Coordinates Calculator

Convert between Cartesian and spherical coordinates (physics convention) — radius, azimuth and polar angle.

Your figures

Example result — edit the figures to make it yours

3

ρ (distance from origin)

θ (azimuth, in the xy-plane) = 63.4349°; φ (polar angle, down from the +z axis) = 48.1897°. This page uses the physics convention (ρ, θ, φ).

θ (azimuth)63.4349°
φ (polar)48.1897°

What this calculator does

Convert between Cartesian and spherical coordinates (physics convention) — radius, azimuth and polar angle. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

ρ = √(x² + y² + z²); θ = atan2(y, x); φ = arccos(z / ρ)

Angles are measured in degrees: polar angle from the positive x-axis, spherical polar angle from the positive z-axis.

The conversion applies the standard right-handed coordinate definitions.

Switch the direction to convert back; the two directions are exact inverses.

Worked example

With the example inputs this page opens with (x (or r) 1, y (or θ polar, degrees) 2, z (or φ azimuth, degrees) 2), the result is 3 — ρ (distance from origin). θ (azimuth, in the xy-plane) = 63.4349°; φ (polar angle, down from the +z axis) = 48.1897°. This page uses the physics convention (ρ, θ, φ).

Quick reference

Quick reference — varying x (or r)
x (or r)ρ (distance from origin)
0.52.8723
0.82.9394
13
1.253.0923
1.53.2016
23.4641

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Spherical Coordinates Calculator work?

Convert between Cartesian and spherical coordinates (physics convention) — radius, azimuth and polar angle. Coordinates · Direction → Converted coordinates. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Spherical Coordinates Calculator need?

Coordinates · Direction → Converted coordinates. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Spherical Coordinates Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.