Rectangular to Polar Calculator

This rectangular to polar calculator converts a point given as rectangular (Cartesian) coordinates x and y into polar coordinates, a radius r and an angle theta. The radius is the straight line distance from the origin, found with Pythagoras as the square root of x squared plus y squared. The angle is measured anticlockwise from the positive x axis and is found with the two argument arctangent, atan2, which returns the correct angle in all four quadrants. The calculator gives the angle in both degrees and radians. Polar coordinates are useful in physics, engineering, navigation, complex numbers and computer graphics, wherever distance and direction are more natural than horizontal and vertical components. Enter x and y and read the radius and angle. The formula, a worked example and the assumptions are below.

Conservation Amendment Bill
 
Angle (degrees) 
Angle (radians) 

The formula

For a point (x, y): the radius is r = sqrt(x^2 + y^2), and the angle is theta = atan2(y, x), measured from the positive x axis. Using atan2 rather than plain arctan gives the correct quadrant for the angle.

Worked example

The point (3, 4) has r = sqrt(9 + 16) = 5 and theta = atan2(4, 3), about 53.13 degrees. Enter 3 and 4 above to confirm.

Frequently asked questions

How do I convert (x, y) to polar?

Radius r = sqrt(x^2 + y^2), angle theta = atan2(y, x). The angle is measured anticlockwise from the positive x axis.

Why use atan2 instead of arctan?

Plain arctan(y/x) loses the quadrant and fails when x is zero. atan2(y, x) returns the correct angle for any point.

What range is the angle in?

atan2 returns an angle between -180 and 180 degrees (-pi and pi radians).

Who this calculator is for

This calculator is for students, engineers and anyone converting between Cartesian and polar coordinates.

What this calculator assumes

  • You enter the x and y coordinates.
  • The angle is measured from the positive x axis using atan2.
  • Results are rounded for display.

Formula and sources

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-06-21 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.