Cartesian to Polar Converter
Convert a point to polar form: r = √(x² + y²), θ in degrees and radians, and the quadrant named.
Cartesian to Polar Converter
Convert a point to polar form: r = √(x² + y²), θ in degrees and radians, and the quadrant named.
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 Cartesian point into polar coordinates. The point (−1, 1) has r = √2 ≈ 1.414214 and θ = 135°, which is 2.356194 radians, and it lies in the second quadrant.
The angle is measured counter-clockwise from the positive x-axis and normalised into 0° … 360°, so a point below the axis gets a positive angle rather than a negative one. The origin has no angle at all, and the page says that instead of printing zero.
Why the angle needs a quadrant
r = √(x² + y²) is always non-negative, but atan(y/x) alone cannot distinguish (1, 1) from (−1, −1). The page uses atan2(y, x), which reads the signs of both coordinates and returns the correct quadrant.
The check line multiplies r back by cos θ and sin θ, recovering the original x and y. That is the identity the conversion depends on, printed with the actual numbers.
How to use Cartesian to Polar Converter
Enter x and y, then press Run.
The result prints r, θ in degrees, θ in radians, the quadrant and the check.
What to Expect
Best for
- Converting a point to polar form
- Checking an angle's quadrant
- Working with rotations and phasors
Not ideal for
- A three-dimensional point
- A negative radius, which polar form does not use
- An angle in gradians
What this tool keeps
- Both coordinates exactly as typed
What may need cleanup
- Nothing: the values are final doubles
Common errors
- A non-numeric coordinate is refused by name
- An empty coordinate is refused with the format
Example use cases
- Convert (−1, 1)
- Convert a point on an axis
- Check a phasor angle
Sample input
x = −1, y = 1
Sample output
r = 1.414214, θ = 135° = 2.356194 rad, quadrant II
Who this is for
- Students learning polar coordinates
- Engineers working with phasors
Frequently asked questions
Why is θ measured from the positive x-axis?
That is the standard polar convention, and the page states it. An angle measured from the y-axis would give every answer a different offset.
What about the origin?
r is 0 and the angle is undefined, because a zero-length vector has no direction. The page prints that instead of an arbitrary zero.
Is the angle always positive?
Yes, normalised into 0° up to but not including 360°. The radians line carries the same value, so the two cannot disagree.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.