What Are Spherical Coordinates?
Spherical coordinates are a 3D coordinate system that names a point by one distance and two angles, instead of the three perpendicular distances used in Cartesian coordinates. A point $P$ is written as the ordered triple $(r, \theta, \varphi)$, where:
$r$ is the straight-line distance from the origin to $P$ (the radius),
$\theta$ is the polar angle (or inclination), measured down from the positive $z$-axis,
$\varphi$ is the azimuthal angle, measured in the $xy$-plane from the positive $x$-axis.
A quick way to picture it: $\varphi$ is like longitude (which way around the globe), $\theta$ is like the angle from the North Pole, and $r$ is how far out from the centre. This is the natural 3D extension of 2D polar coordinates, and it sits alongside the cartesian coordinate system as one of the standard ways to frame a point in space.
How Do You Convert Spherical Coordinates to Cartesian?
This is the most-asked question about the topic, and it comes straight from two right triangles. Drop $P$ onto the $xy$-plane; the projection has length $r\sin\theta$ (the horizontal reach), while the height is $r\cos\theta$.
Spherical to Cartesian. The horizontal reach $r\sin\theta$ then splits into $x$ and $y$ by the azimuthal angle:
$$x = r\sin\theta\cos\varphi \qquad y = r\sin\theta\sin\varphi \qquad z = r\cos\theta$$
Cartesian to spherical. Reverse the relations:
$$r = \sqrt{x^2 + y^2 + z^2} \qquad \theta = \cos^{-1}\left(\frac{z}{r}\right) \qquad \varphi = \tan^{-1}\left(\frac{y}{x}\right)$$
Here is what each symbol means:
$r$ - distance from the origin, always $r \ge 0$.
$\theta$ - polar angle, ranging $0 \le \theta \le 180°$ (or $0$ to $\pi$).
$\varphi$ - azimuthal angle, ranging $0 \le \varphi < 360°$ (or $0$ to $2\pi$).
$x, y, z$ - the Cartesian coordinates of the same point.
As with polar to rectangular conversion, the $\tan^{-1}$ for $\varphi$ needs a quadrant check - add $180°$ when the point sits in the left half of the $xy$-plane.
What Is the Difference Between Spherical and Cylindrical Coordinates?
Both are 3D systems, and choosing between them comes down to the symmetry of the problem. Cylindrical coordinates $(\rho, \varphi, z)$ keep the flat $z$-height of Cartesian coordinates and only make the base polar - ideal for pipes, cans, and anything with an axis of rotation. Spherical coordinates replace height entirely with a second angle, which suits anything organised around a single centre point.
Use cylindrical coordinates when the shape has a long straight axis (a cylinder, a coil, a rotating disk).
Use spherical coordinates when the shape radiates from a point (a planet's gravity, a light bulb's glow, a sphere).
The rule of thumb: match the coordinate system's natural surfaces to your problem, and the algebra collapses. A sphere is one equation, $r = \text{constant}$, in spherical coordinates but a messy $x^2 + y^2 + z^2 = \text{constant}$ in Cartesian.
What Are the Properties of Spherical Coordinates?
Spherical coordinates behave differently from Cartesian ones, and these properties are worth stating on their own:
Surfaces are simple. $r = \text{constant}$ is a sphere, $\theta = \text{constant}$ is a cone, and $\varphi = \text{constant}$ is a half-plane through the $z$-axis.
The origin and poles are special. At $r = 0$ both angles are undefined; on the $z$-axis ($\theta = 0$ or $180°$) the angle $\varphi$ carries no information.
Representations are not unique. Adding $360°$ to $\varphi$ returns the same point, so a single point has many valid triples unless the ranges are restricted.
It generalises polar coordinates. Setting the problem in a single plane recovers the 2D polar system.
It is built for integration. Triple integrals over spheres and balls become far easier in spherical form, a link students meet in higher coordinate geometry and calculus.
Where Are Spherical Coordinates Used?
"Astronomers fixed the stars with two angles and a distance long before algebra existed." The system is the natural language of anything centred on a point.
Astronomy and navigation - a star's position is two angles (like right ascension and declination) plus a distance; GPS and celestial navigation are angular by nature (see the Wikipedia spherical coordinate system).
Physics - gravitational and electric fields from a point source, and quantum orbitals, are described in spherical coordinates because the physics has spherical symmetry.
Engineering - antenna radiation patterns, radar and sonar domes, and 3D scanners report data as distance-and-angles.
Computer graphics - camera orbits and environment mapping rotate a viewpoint using two angles around a target, which is spherical thinking.
Examples of Spherical Coordinates
Example 1
Convert the spherical point $(4, 90°, 0°)$ to Cartesian coordinates.
Use $x = r\sin\theta\cos\varphi$, $y = r\sin\theta\sin\varphi$, $z = r\cos\theta$ with $\sin 90° = 1$, $\cos 90° = 0$.
$$x = 4(1)(1) = 4 \qquad y = 4(1)(0) = 0 \qquad z = 4(0) = 0$$
Final answer: $(4, 0, 0)$ - a point on the $x$-axis.
Example 2
A student converts the spherical point $(2, 0°, 45°)$ and reports $(2\sin 0°\cos 45°, \dots)$, then panics that everything is zero.
Wrong path. The student notices $\theta = 0°$ makes $\sin\theta = 0$, so $x = 0$ and $y = 0$, and concludes the point must be the origin.
Why it breaks. Only $x$ and $y$ vanish. The $z$-coordinate uses $\cos\theta$, and $\cos 0° = 1$, so $z = 2\cos 0° = 2$. The point is not the origin at all.
The rescue. Compute all three coordinates: $x = 2\sin 0°\cos 45° = 0$, $y = 2\sin 0°\sin 45° = 0$, $z = 2\cos 0° = 2$. When $\theta = 0°$ the point sits on the positive $z$-axis, and $\varphi$ is irrelevant there.
Final answer: $(0, 0, 2)$.
Example 3
Convert the Cartesian point $(0, 0, 5)$ to spherical coordinates.
$$r = \sqrt{0 + 0 + 25} = 5, \qquad \theta = \cos^{-1}\left(\frac{5}{5}\right) = \cos^{-1}(1) = 0°$$
With $\theta = 0°$ the point is on the $z$-axis, so $\varphi$ is undefined (conventionally taken as $0°$).
Final answer: $(5, 0°, 0°)$.
Example 4
Convert the spherical point $(6, 90°, 90°)$ to Cartesian coordinates.
With $\sin 90° = 1$, $\cos 90° = 0$:
$$x = 6(1)(0) = 0 \qquad y = 6(1)(1) = 6 \qquad z = 6(0) = 0$$
Final answer: $(0, 6, 0)$ - a point on the $y$-axis.
Example 5
What surface does the equation $r = 3$ describe in spherical coordinates?
Every point at distance 3 from the origin, in every direction, satisfies this. That is the set of all points equidistant from the centre - a sphere of radius 3. In Cartesian form it is $x^2 + y^2 + z^2 = 9$.
Final answer: a sphere of radius 3 centred at the origin.
Example 6
Convert the Cartesian point $(1, 1, \sqrt{2})$ to spherical coordinates.
$$r = \sqrt{1 + 1 + 2} = \sqrt{4} = 2$$ $$\theta = \cos^{-1}\left(\frac{\sqrt{2}}{2}\right) = 45°$$ $$\varphi = \tan^{-1}\left(\frac{1}{1}\right) = 45°$$
Since $(1, 1)$ is in the first quadrant of the $xy$-plane, no adjustment to $\varphi$ is needed.
Final answer: $(2, 45°, 45°)$.
Where Do Students Trip Up on Spherical Coordinates?
The confusion that trips students up most is between the two angles - treating $\theta$ as the "around" angle when it is actually the "down from the top" angle, or vice versa. Fixing $r$ first, then deciding which angle drops from the pole and which sweeps around, clears most of the trouble.
Mistake 1: Swapping the θ and φ conventions
Where it slips in: Moving between a maths textbook and a physics textbook.
Don't do this: Assuming $\theta$ is always the azimuthal angle. Many maths books use $(r, \theta, \varphi)$ with $\theta$ around and $\varphi$ from the pole - the exact reverse of the physics convention.
The correct way: Check the source's definition before computing. This article uses $\theta$ = polar (from the $z$-axis) and $\varphi$ = azimuthal (around); state your convention so results are reproducible.
Mistake 2: Ignoring the quadrant when finding φ
Where it slips in: Using $\tan^{-1}(y/x)$ for a point with negative $x$.
Don't do this: Reporting the raw calculator angle for a point in the second or third quadrant of the $xy$-plane.
The correct way: As in 2D, $\tan^{-1}$ only returns $(-90°, 90°)$. Add $180°$ when $x$ is negative to place $\varphi$ in the correct quadrant.
Mistake 3: Forgetting the angle ranges
Where it slips in: Reporting $\theta = 200°$ or a negative $r$.
Don't do this: Letting $\theta$ exceed $180°$ or leaving $r$ negative.
The correct way: Keep $r \ge 0$, $0 \le \theta \le 180°$, and $0 \le \varphi < 360°$ for a single clean representation.
Conclusion
Spherical coordinates name a 3D point by a radius $r$ and two angles $(\theta, \varphi)$, written $(r, \theta, \varphi)$.
Convert to Cartesian with $x = r\sin\theta\cos\varphi$, $y = r\sin\theta\sin\varphi$, $z = r\cos\theta$, and back with $r = \sqrt{x^2 + y^2 + z^2}$.
A sphere is one equation ($r = \text{constant}$), which is why the system suits point-centred physics, astronomy, and 3D graphics.
The biggest pitfall is swapping the $\theta$ and $\varphi$ conventions, so always state which angle is which.
To take spherical coordinates further with a teacher, explore Bhanzu's geometry tutor or high school math tutor sessions, or browse math classes online for guided 3D coordinate practice.
Read More
Practice These to Solidify Your Understanding
Work through these problems in order:
Convert the spherical point $(2, 90°, 180°)$ to Cartesian coordinates.
Convert the Cartesian point $(0, 4, 0)$ to spherical coordinates.
Describe the surface given by $\theta = 90°$ in spherical coordinates.
Answer to Question 1: $x = 2\sin 90°\cos 180° = -2$, $y = 2\sin 90°\sin 180° = 0$, $z = 2\cos 90° = 0$, so $(-2, 0, 0)$. Answer to Question 2: $r = 4$, $\theta = \cos^{-1}(0/4) = 90°$, $\varphi = \tan^{-1}(4/0) = 90°$, so $(4, 90°, 90°)$. Answer to Question 3: the $xy$-plane, since $\theta = 90°$ means every point lies flat at the equator.
Want a live Bhanzu trainer to work through more coordinate problems with you? Book a free demo class.
Was this article helpful?
Your feedback helps us write better content
