StringMash.com

Polar to Cartesian converter

Turn a distance and an angle into (x, y), with the cosines and sines worked out.

Conversion
14 characters
Updates as you type

Show the steps
xyθr
  1. x = r cos θ = 2 × cos 60° = 2 × 0.5 = 1
  2. y = r sin θ = 2 × sin 60° = 2 × 0.866 = 1.7321
  3. The angle was read as degrees.

Using the converter

Type r and then θ. It reads them the way they're written in books: `2, 60`, `r = 2, θ = 60°`, `2∠60°` and `2 cis 60°` are all the same point. The x and y values appear underneath, and the working shows each cosine and sine.

Angles are read as degrees unless the Angles setting says radians. Anything written with π, like `π/3` or `3pi/4`, is read as radians whatever the setting, and so is anything followed by rad.

How it works

Drop a line from the point to the x axis and you have a right-angled triangle with r as its hypotenuse. The side along the x axis is r cos θ and the side going up is r sin θ. So x = r cos θ and y = r sin θ.

For r = 2 at 60°, cos 60° is 0.5 and sin 60° is about 0.8660, so the point is (1, 1.7321). The signs take care of themselves. At 150° the cosine is negative, and x comes out negative without any adjustment.

Negative r and angles past 360°

A negative r is allowed. It means go the opposite way, so (−2, 0°) is the same point as (2, 180°), and the working says so.

Angles wrap round. 420° is 60° plus a full turn and lands on the same point, which is why one point has endless polar forms but only one Cartesian one.

At right angles the converter gives exact answers. cos 90° is printed as 0, not as the 6.1 × 10⁻¹⁷ a calculator's rounding can leave behind.

Where polar coordinates came from

Grégoire de Saint-Vincent and Bonaventura Cavalieri each worked with the idea in the first half of the 17th century. Isaac Newton described the conversion in his Method of Fluxions, written in 1671 and not published until 1736, and Jacob Bernoulli used a pole and a polar axis in Acta Eruditorum in 1691. The name came later, from 18th-century Italian writers, and reached English in George Peacock's 1816 translation of Lacroix's calculus textbook.

Questions

What is the formula for polar to Cartesian?

x = r cos θ and y = r sin θ. Work out the cosine and sine of the angle, then multiply each by r.

How do I enter an angle in radians?

Set Angles to radians, or write it with π, like π/4, or follow it with rad. Anything with π is always read as radians.

What is polar to rectangular?

The same conversion. Rectangular is another name for Cartesian coordinates.

What does a negative r mean?

The point is the same distance away in the opposite direction. (−2, 30°) is the same point as (2, 210°).

Sources

Added . What's new