Skip to content

Polar Coordinates Calculator

Convert Cartesian to polar and polar to Cartesian coordinates with steps, plus cylindrical and spherical coordinates in degrees or radians (physics or maths angles).

Calculator Details

Polar coordinates (r, θ):(5, 53.13010235°)See results ↓

Which coordinate system you have and which you want

Horizontal coordinate

Vertical coordinate

Degrees or radians, for angles typed and shown

Your Results

Polar coordinates (r, θ): (5, 53.13010235°)

Polar coordinates (r, θ)

(5, 53.13010235°)

θ from 0 to a full turn: 53.13010235°

Radius r

5

Angle θ

53.13010235°

Quadrant

I

The point (3, 4) is at radius r = 5 and angle θ = 53.1301023542° (53.1301023542° measured from 0 to a full turn).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Step by step
FormulaYour numbers
r = √(x² + y²)√(3² + 4²) = 5
θ = atan2(y, x)atan2(4, 3) = 53.1301023542°

atan2(y, x) is the arctangent that looks at the signs of x and y, so the angle lands in the right quadrant (plain arctan(y/x) cannot tell (1, 1) from (−1, −1)).

xy
The point projected onto the xy-plane, at 53.13010235° from the +x axis (53.13010235°).

How This Calculator Works

How it's calculated

Polar: r = √(x² + y²), θ = atan2(y, x); x = r cos θ, y = r sin θ

Cylindrical: the polar formulas in the xy-plane, z unchanged

Spherical: distance = √(x² + y² + z²), polar angle = arccos(z ÷ distance), azimuth = atan2(y, x)

Your numbers: r = √(x² + y²): √(3² + 4²) = 5; θ = atan2(y, x): atan2(4, 3) = 53.1301023542°. The point is 5 from the origin at 53.13010235°.

Frequently Asked Questions

How do you convert Cartesian coordinates to polar?

r = √(x² + y²) and θ = atan2(y, x). For (3, 4): r = √(9 + 16) = 5 and θ = atan2(4, 3) ≈ 53.13°, so the polar coordinates are (5, 53.13°).

How do you convert polar coordinates to Cartesian?

x = r cos θ and y = r sin θ. For (2, 150°): x = 2 cos 150° = −√3 ≈ −1.732 and y = 2 sin 150° = 1.

Why use atan2 instead of arctan(y/x)?

arctan(y/x) only returns angles between −90° and 90°, so it gives the same answer for (1, 1) and (−1, −1). atan2 looks at the signs of x and y separately and returns the angle in the correct quadrant, from −180° to 180°. For (−1, −1) it gives −135°, which is 225° measured the long way round.

What are cylindrical coordinates?

Polar coordinates in the xy-plane plus the height z: (r, θ, z). They suit shapes with an axis of symmetry, such as pipes, cans and coils. (1, −3, 5) in Cartesian is (√10, −71.57°, 5) in cylindrical coordinates.

What are spherical coordinates?

A distance from the origin and two angles: the polar angle down from the +z axis (0° to 180°) and the azimuth around the z-axis from +x. Latitude and longitude are a variant: longitude is the azimuth and latitude is 90° minus the polar angle.

Which is θ and which is φ in spherical coordinates?

It depends on the field. Physics and the ISO 80000-2 standard write (r, θ, φ) with θ the polar angle from +z and φ the azimuth. Most US calculus textbooks, including OpenStax, write (ρ, θ, φ) with θ the azimuth and φ the polar angle. Pick the convention your course or textbook uses; the numbers don’t change, only the labels.

Can the angle be negative or more than 360°?

Yes. Angles that differ by a full turn point the same way, so (5, −90°), (5, 270°) and (5, 630°) are the same point. The calculator reports the azimuth from −180° to 180° and also from 0° to 360°.

What is the polar angle of the origin?

It is undefined: the origin has r = 0, so every angle describes it. The calculator shows 0, as atan2(0, 0) does in most programming languages. Points on the z-axis likewise have no defined azimuth.

Formulas from OpenStax Calculus Volume 3 §1.3 (polar) and §2.7 (cylindrical and spherical). Spherical angle names follow your choice: physics and ISO 80000-2:2019 (θ polar from +z, φ azimuth) or the maths convention of most calculus texts (θ azimuth, φ polar); the numbers are the same either way. Angles use the principal range: azimuth in (−180°, 180°], also shown from 0° to 360°, and polar angle from 0° to 180°. Results are rounded to 12 significant figures (floating point), so exact surds such as √3 appear as decimals. Not included: negative radii, other angle origins (compass bearings measured clockwise from north), elliptic or parabolic coordinates, and converting equations (r = 2 sin θ to x² + (y − 1)² = 1).

Polar Coordinates Calculator: Cartesian, Polar, Cylindrical and Spherical

By FindMySum · Last reviewed

This polar coordinates calculator converts a point between Cartesian (x, y) and polar (r, θ) coordinates, shows every step, and draws the point on the plane. For three dimensions it converts between Cartesian (x, y, z), cylindrical and spherical coordinates, with a switch for the two ways the spherical angles are named. Angles can be in degrees or radians.

Worked example: the point (3, 4)

The calculator opens with x = 3 and y = 4.

  1. Radius. r = √(x² + y²) = √(9 + 16) = √25 = 5. This is the distance from the origin, from Pythagoras.
  2. Angle. θ = atan2(4, 3) ≈ 53.130°, measured counter-clockwise from the positive x-axis. Both coordinates are positive, so the point is in quadrant I and the angle is between 0° and 90°.
  3. Result. (3, 4) in Cartesian coordinates is (5, 53.13°) in polar coordinates, or (5, 0.9273 rad).

Going back, x = 5 cos 53.13° = 3 and y = 5 sin 53.13° = 4. Switch the mode to "Polar → Cartesian" and the calculator starts from exactly these numbers.

Why the angle needs atan2

The tempting formula θ = arctan(y ÷ x) gives the right answer only in quadrants I and IV. The points (1, 1) and (−1, −1) have the same ratio y ÷ x = 1, so arctan returns 45° for both, although the second point is on the opposite side of the origin, at 225°. It also fails on the y-axis, where x = 0 and the ratio is undefined.

The two-argument arctangent atan2(y, x), available in every programming language and spreadsheet, fixes both problems. It looks at the signs of x and y and returns an angle between −180° and 180°. Textbooks reach the same answer with a rule: add 180° to arctan(y ÷ x) when x is negative. The calculator reports the atan2 angle and the same direction measured from 0° to 360°, since courses differ on which range they want.

PointQuadrantatan20° to 360°
(3, 4)I53.13°53.13°
(−1, 1)II135°135°
(−2, −2√3)III−120°240°
(0, −5)negative y-axis−90°270°

Cylindrical coordinates

Cylindrical coordinates add height to polar coordinates: a point is (r, θ, z), where r and θ locate its shadow on the xy-plane and z is how far above or below that plane it sits. Converting is the polar conversion plus copying z. The point (1, −3, 5) has r = √10 ≈ 3.162, θ = atan2(−3, 1) ≈ −71.57° (or 288.43°) and z = 5. Equations with an axis of symmetry become simple: the cylinder x² + y² = 4 is just r = 2, which is where the name comes from. Physics texts following ISO 80000-2 write cylindrical coordinates as (ρ, φ, z); the meaning is the same.

Spherical coordinates and the θ/φ confusion

Spherical coordinates describe a point by its distance from the origin and two angles. The polar angle is measured down from the positive z-axis, from 0° at the top to 180° at the bottom. The azimuth is the same angle as in polar coordinates, measured around the z-axis from +x.

The formulas are distance = √(x² + y² + z²), polar angle = arccos(z ÷ distance) and azimuth = atan2(y, x), and back again x = distance × sin(polar) × cos(azimuth), y = distance × sin(polar) × sin(azimuth), z = distance × cos(polar).

The difficulty is the names. Physicists and the international standard ISO 80000-2 write (r, θ, φ) and call the polar angle θ and the azimuth φ. Most calculus textbooks, including OpenStax Calculus, write (ρ, θ, φ) and do the opposite: θ is the azimuth, the same θ as in polar coordinates, and φ is the polar angle. A homework answer can be marked wrong simply because the two angles are swapped. The calculator therefore asks which convention you use and labels every result with the matching letters. For (1, 1, 1) it gives a distance of √3 ≈ 1.732, a polar angle of about 54.74° and an azimuth of 45° in either convention; only which one is called θ changes.

Degrees or radians

Both work as long as you are consistent. Calculus uses radians, because derivatives and integrals of sine and cosine come out cleanly only in radians, so textbooks give answers such as (5, 0.9273) or (8, π/3, π/6). Engineering and navigation tend to use degrees. The calculator converts the angles you type and shows its answers in the unit you choose; radians appear as decimals, so π/3 shows as 1.047198.

Accuracy

The conversions use trigonometric functions, so results are floating-point numbers rounded to 12 significant figures. Exact values such as √3 or π/6 appear as decimals; values that should be zero, such as cos 90°, are cleaned to 0 rather than shown as 6 × 10⁻¹⁷. At the origin the angle is undefined, and the calculator shows 0, as atan2(0, 0) does.

More questions

Are polar coordinates unique?

No. Adding any whole number of turns to the angle gives the same point, so (5, 53.13°) and (5, 413.13°) coincide. Some textbooks also allow a negative radius, which points the opposite way: (−5, 233.13°) is the same point again. To get one answer, calculators restrict r to zero or more and the angle to one turn.

How are polar coordinates related to complex numbers?

A complex number x + yi plotted on the plane has the same polar form: its modulus is r and its argument is θ. 3 + 4i has modulus 5 and argument 53.13°, so it equals 5(cos 53.13° + i sin 53.13°), or 5e^(0.9273i) with the angle in radians. The complex number calculator works in that form.

Where are spherical coordinates used?

Anywhere a problem has a centre point: the gravitational or electric field of a charge, the shape of atomic orbitals, antenna radiation patterns, the sky in astronomy (altitude and azimuth), and positions on Earth (latitude, longitude and height). Integrals over balls and spheres are much simpler in spherical coordinates.

How do I convert latitude and longitude to spherical coordinates?

Longitude is the azimuth, measured east from the prime meridian. Latitude is measured up from the equator, so the polar angle from the North Pole is 90° minus the latitude. Toronto at 43.65° N, 79.38° W has a polar angle of 46.35° and an azimuth of −79.38°. Real geodesy uses an ellipsoid rather than a sphere, which shifts positions by up to about 21 km.

What is the area element in polar coordinates?

dA = r dr dθ. A small patch of the plane between r and r + dr and between θ and θ + dθ is nearly a rectangle with sides dr and r dθ. In cylindrical coordinates the volume element is r dr dθ dz, and in spherical coordinates it is ρ² sin φ dρ dθ dφ in the maths convention.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy