Skip to main content

Polar / Rectangular Coordinate Converter: (x,y) ⇄ (r,θ)

Convert (x, y) to (r, θ) and back, degrees or radians, with a live coordinate diagram, browser-only

  • Runs locally
  • Category Format Converter
  • Best for Turning pasted content or local files into a handoff-friendly format.

Convert between rectangular (Cartesian) coordinates (x, y) and polar coordinates (r, θ). Pick a direction, type the numbers, and read the answer. r = √(x²+y²) and θ = atan2(y, x); going back, x = r·cosθ and y = r·sinθ. Everything runs in your browser.

Try an example
Result
r = 1.41421
θ = 45°
Quadrant: I
Diagram
Every conversion is plain JavaScript that runs in this browser tab. The coordinates you type never leave the page; the shareable link encodes them in the URL only when you choose to share it.

What this tool does

Convert between rectangular (Cartesian) coordinates (x, y) and polar coordinates (r, θ) in both directions, with the angle in degrees or radians. Going to polar, the radius is r = √(x²+y²) and the angle is θ = atan2(y, x), which keeps the quadrant correct and never divides by zero when x is 0. Going back to rectangular, x = r·cosθ and y = r·sinθ. You can normalise the angle to the [0, 360) convention used in navigation and surveying, or to the (−180, 180] convention used in signal processing and physics. A small SVG diagram draws the point, the radius line and the axes so you can sanity-check the quadrant at a glance. Tiny floating-point dust like cos(90°) returning 6e-17 is snapped to zero so the answers read cleanly. One-click copy and a shareable URL reproduce your exact inputs, direction and units. Everything runs in your browser; no coordinates are uploaded.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Format Converter · Student
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Polar / Rectangular Coordinate Converter fits into your work

Use it when the main problem is getting content from one practical format into another.

Conversion jobs

  • Turning pasted content or local files into a handoff-friendly format.
  • Previewing a conversion before you use it in a larger workflow.
  • Cleaning small format mismatches without opening a full editor.

Conversion checks

  • Try a small sample first when the source format is messy.
  • Check character encoding, separators, and line endings after conversion.
  • Keep the source until the converted output has been reviewed.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
  2. 2 Complex Number Calculator Complex number calculator — +-×÷ + conjugate + modulus + argument + polar/Cartesian conversion + powers + roots + Euler form, complex plane visualization. Open
  3. 3 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open

Real-world use cases

  • Convert an impedance to rectangular form for series math

    Your circuit gives an impedance in polar form, but adding impedances needs the resistance and reactance parts. Set polar to rectangular, enter the magnitude and angle, and read the R and X components. Now you can add it to another impedance component by component before converting the sum back to polar form.

  • Place a point on graph paper from a bearing

    You measured a tree at 40 degrees, 12 metres from a benchmark and need its grid offset. Switch to polar to rectangular, enter r = 12 and angle = 40, and read x = 9.19 east and y = 7.71 north. The diagram shows the radius line landing in quadrant one so you can confirm the direction before marking the sheet.

Common pitfalls

  • Reading r as a signed value. The radius is always zero or positive, so a negative number in the r box is not a valid polar radius. To point the other way, add 180 degrees to the angle instead.

  • Typing an angle into the x or y box by habit. In polar to rectangular the two inputs are magnitude and angle, not coordinates. Entering a degree value where x expects a length gives a point at the wrong distance.

  • Expecting an exact 0 where the math gives floating-point dust. cos(90) is mathematically 0 but raw code returns a tiny residue; this tool snaps it to 0, so do not treat a clean 0 here as a bug in your own code.

Privacy

The radius, the angle, the degree-radian switch and the SVG diagram are all computed by JavaScript inside your browser tab. The x, y, r and angle values you type stay on the page and are never sent to a server or stored. Only the share link puts your inputs into the URL, so copy the result text instead when the numbers should stay private.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-07-02