Polar to Cartesian Converter screenshot

Polar to Cartesian Converter

Convert polar coordinates to x = r·cos θ and y = r·sin θ, in degrees or radians.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Exact where arithmetic allows

Polar to Cartesian Converter

Convert polar coordinates to x = r·cos θ and y = r·sin θ, in degrees or radians.

What the page prints, and what it refuses

Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page converts a radius and an angle into Cartesian coordinates. A radius of 2 at 135° gives x = −1.414214 and y = 1.414214, the mirror of the Cartesian-to-polar example.

The angle can be in degrees or radians, chosen from a list, and the unit is printed on the result. The radius must be non-negative: a negative radius is not a polar coordinate but a direction reversed by 180°, which the page explains rather than silently accepting.

The two projections

x = r·cos θ and y = r·sin θ project the radius onto each axis. Squaring and adding them recovers r², which is the check line the page prints.

Degrees are converted to radians before the trigonometric call, and a result within 1e-12 of zero is printed as 0 so that a right angle does not show 1.2e-16.

How to use Polar to Cartesian Converter

Enter the radius, the angle and whether the angle is in degrees or radians, then press Run.

The result prints x and y, restates r and θ with the unit, and checks x² + y² against r².

What to Expect

Best for

  • Converting polar coordinates to a point
  • Checking a rotation
  • Plotting a point by hand

Not ideal for

  • A negative radius
  • A three-dimensional spherical coordinate
  • An angle in turns rather than degrees or radians

What this tool keeps

  • The radius, the angle and the chosen unit

What may need cleanup

  • Nothing: the coordinates are final doubles

Common errors

  • A negative radius is refused with the reason
  • An unknown unit is refused with the closed list

Example use cases

  • Convert r = 2, θ = 135°
  • Convert an angle in radians
  • Check a point on the unit circle

Sample input

r = 2, θ = 135°

Sample output

x = −1.414214, y = 1.414214

Who this is for

  • Students learning polar coordinates
  • Readers checking a rotation

Frequently asked questions

Why can the radius not be negative?

In polar form r is a distance, so it cannot be below zero. A negative value would mean the same point as the positive radius with the angle turned by 180°, and the page refuses rather than guess which was intended.

Why is a tiny x printed as zero?

cos 90° is not exactly zero in floating point, so the page treats values within 1e-12 of zero as zero. The tolerance is stated on the page.

Which unit is the default?

Degrees, because that is the common input. Radians are one choice away and the result names the unit it used.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.