Math & Calculators

Angle Converter

All tools

Enter an angle in degrees and get the equivalent in radians and gradians.

How it works

Four simple steps

1

Enter degrees

Any value, including decimals and negatives.

2

Convert instantly

Radians and gradians appear as you type.

3

Use in code

Paste the radian value into trig or canvas calls.

4

Copy the output

Keep all three units for your notes.

Angle Converter

About Angle Converter

Your design spec says rotate 30 degrees, but Math.sin and the canvas API want radians. Or a surveying formula uses gradians and you think in degrees. One number in, both conversions out.

Type an angle in degrees, including decimals or negative values, and the output lists degrees, radians and gradians. Radians are degrees multiplied by pi divided by 180, so 180 degrees is about 3.14159 radians. Gradians divide a right angle into 100 parts, so they are degrees multiplied by 10/9, and 90 degrees becomes 100 gradians. The radian value is shown at full floating-point precision for pasting into code.

The input is degrees only. To go the other way, multiply radians by 180 and divide by pi, or check a guess by entering degrees until the radian line matches. A common bug in graphics code is passing degrees straight to a trigonometry function, which silently produces wrong positions rather than an error, so it is worth converting once and storing radians. CSS accepts deg, rad, grad and turn directly, so you can often skip conversion in stylesheets.

For other measurement types, the general unit converter covers length, mass, temperature and data. To try rotations visually, the CSS filter generator uses degrees for hue-rotate. More converters are on the math tools hub. All conversion happens in your browser.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

The tool takes degrees as input only. Multiply radians by 180 and divide by pi; for example 1.5708 radians is about 90 degrees. You can confirm by entering 90 and checking the radian line.

Mainly in surveying and some engineering fields, especially in parts of Europe, because a right angle is a round 100. Most programming and design tools use degrees or radians.

It is shown at full JavaScript precision so you can paste it into code without losing accuracy. Round it to four or five decimals for display or documentation.

View more FAQs

Related tools

View all

Unit Converter

Convert units of measurement.

Open

Number Base Converter

Binary, Octal, Hex conversions.

Open

Percentage Calculator

Calculate percentages quickly.

Open

Discount, VAT & Tip Calculator

Add discounts, tax/VAT, tips, and bill splits - all in your browser.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools