cartesian to polar coordinate conversion calculator

enter the value and click "calculate", the calculation result will be displayed.
For (x1, y1) and (x2, y2)
If (x1 > x2) then x = x1 - x2 else x = x2 - x1
If (y1 > y2) then y = y1 - y2 else y = y2 - y1
R = Sqrt(x2+y2)       Angle = tan -1(y/x)

enter a value:
cartesian coordinates

X1:
Y1:
X2:
Y2:

calculation result:polar coordinates

R:
Angle:
deg
cartesian to polar coordinate conversion calculator

function description
cartesian coordinate system-polar coordinate system conversion

enter the value, click "calculate" and display the result.

the rectangular coordinates are (x, y), where x and y are the horizontal and vertical distances from the origin to the point respectively.

the polar coordinates are (r, q), where r is the distance between the starting point and the point, and q is the angle between the positive direction of the x-axis and the point.

calculation formula
point 1 coordinates (x1, y1), point 2 coordinates (x2, y2)

if x1 > x2, then x = x1 - x2, otherwise if x2 > x1, then x = x2 - x1.

if y1 > y2, then y = y1 - y2, otherwise if y2 > y1, then y = y2 - y1.

R=∨(x2+y2)
angle=tan−1(yx)
usage example
input data: x1: 5; y1: 8; x2: 3; y2: 6,

click "calculate" to output the results.

output result: polar coordinate r is 2.8284; angle is 45 degrees.

search calculator