# Spherical Coordinates Calculator

Created by Bogna Szyk
Reviewed by Steven Wooding
Last updated: Dec 18, 2022

The spherical coordinates calculator is a tool that converts between rectangular and spherical coordinate systems. It describes the position of a point in a three-dimensional space, similarly to our cylindrical coordinates calculator. For a two-dimensional space, instead of using this Cartesian to spherical converter, you should head to the polar coordinates calculator.

## Rectangular and spherical coordinates

Coordinates are sets of values that describe the position of any given point in space. For a three-dimensional space, you need precisely three coordinates to define a point uniquely.

The Cartesian system, also known as the rectangular coordinate system, is constructed by drawing three lines in space. They all cross a common point, called the origin, and are perpendicular to one another. These lines are called the axes of the system. Each pair of axes defines a plane: these are called the XY, XZ, and YZ planes. The coordinates of any arbitrary point are defined as the distance between that point and the planes.

We define the spherical coordinate system by a fixed origin and a zenith direction. The zenith is an imaginary point located directly above the origin. The direction from the origin to the zenith is called the zenith direction.

Each arbitrary point in space has three spherical coordinates. The first one, called radial distance or radius (r), is simply the three-dimensional distance between the origin and this point. The second one - the polar angle (θ) - is the angle from the zenith direction to the line that connects the point with the origin. The third one is called the azimuth angle (φ).

When you create a reference plane that passes through the origin and is orthogonal to the zenith, then φ is the angle between the point's orthogonal projection to the plane and a fixed reference direction on that plane.

## Converting Cartesian to spherical

When converting from the rectangular to the spherical system, our spherical coordinate calculator assumes that the origins of both systems overlap. It also assumes that the z-axis is equivalent to the zenith direction. The spherical reference plane coincides with the XY plane.

You should use the following formulas for the conversion:

• r = √(x² + y² + z²);

• θ = arccos(z/r);

• φ = arctan(y/x),

where:

• (x, y, z) - Cartesian coordinates; and
• (r, θ, φ) - Spherical coordinates.

## Converting spherical to Cartesian

The spherical coordinates calculator is also able to recalculate the spherical coordinates into rectangular ones. It uses the following equations:

• x = r × sin θ × cos φ;

• y = r × sin θ × sin φ;

• z = r × cos θ.

Don't forget to check our other coordinate geometry calculators like the average rate of change calculator.

Bogna Szyk
Cartesian (x, y, z) to spherical (r, θ, φ)
x
y
z
r
θ
deg
φ
deg
Spherical (r, θ, φ) to Cartesian (x, y, z)
r
θ
deg
φ
deg
x
y
z
People also viewed…

Addiction calculator tells you how much shorter your life would be if you were addicted to alcohol, cigarettes, cocaine, methamphetamine, methadone, or heroin.

### Area of a hemisphere

Use this surface area of a hemisphere calculator and answer the questions: How to find the surface area of a hemisphere? What is the area of a hemisphere formula?

### Lost socks

Socks Loss Index estimates the chance of losing a sock in the laundry.