Bookmarks    
nPr and nCr    
Random Number    
SD Calculator    
Sample Size    
Percent Error    
Density    
Molarity    
Molar Mass    
Ohm's Law    
Watts to Amps    
Voltage Drop    
Long Division    
Mixed Numbers    
Rounding    
Nth Root    
Exponents    
Half-Life    
Polar Form    
De Moivre    
3D Distance    
Point to Line    
Cross Product    
Determinant    
Sin Cos Tan    
Triangle Area    
Scale Factor    
Sector Area    
Ellipse Area    
Cube Volume    
Box Volume    
Sphere Volume    
Cone Volume    
Pipe Volume    
Time Duration    
Time Card    
Present Value    
Future Value    
Churn Rate    
A/B Test Calc    
SEO Traffic    
Ideal Weight    
Fat Intake    
Child Height    
Golf Handicap    
Heat Index    
Wind Chill    
Dew Point    
Download Time    
kWh to Cost    
AC Size (BTU)    
Heating Costs    
LED Savings    
Trip Gas Cost    
Tire Size    
Solar Output    
Solar Payback    
Battery Size    
Wall Area    
Gravel Needed    
Mortar Mix    
Slope Grade    
Curtain Size    
Soil Needed    
Sod Needed    
Ramp Length    
Blind Size    
Drain Slope    
Board Feet    
Heat Loss    
Furniture Fit    
Moving Boxes    
Plywood Cuts    
Shelf Sag    
   Add
Probability and random number calculators
Independent Events
Independent Events
Two Events Solver
Two Events Solver
Repeated Trials
Repeated Trials
Bayes' Theorem
Bayes' Theorem
Expected Value
Expected Value
Binomial Distribution
Binomial Distribution
nPr and nCr
nPr and nCr
Circular Permutation
Circular Permutation
With Repetition
With Repetition
Random Number
Random Number
Averages and statistics calculators
Average Calculator
Average Calculator
Mean Median Mode
Mean Median Mode
SD Calculator
SD Calculator
Quartiles & IQR
Quartiles & IQR
Frequency Table
Frequency Table
Correlation (r)
Correlation (r)
Normal Probability
Normal Probability
Z-Score Calculator
Z-Score Calculator
Confidence Interval
Confidence Interval
Sample Size
Sample Size
Mark & Recapture
Mark & Recapture
P-Value Calculator
P-Value Calculator
Percentage and ratio calculators
Percentage Calc
Percentage Calc
Percent Change
Percent Change
Percent Difference
Percent Difference
Percent Error
Percent Error
Ratio Calculator
Ratio Calculator
Discount Calculator
Discount Calculator
Sales Tax Calculator
Sales Tax Calculator
Margin Calculator
Margin Calculator
Speed calculators
Speed Calculator
Speed Calculator
Density and concentration calculators
Density
Density
Molarity
Molarity
Molar Mass
Molar Mass
Physics and electricity calculators
Ohm's Law
Ohm's Law
Watts to Amps
Watts to Amps
Resistor Colors
Resistor Colors
Voltage Drop
Voltage Drop
Unit conversion calculators
Weight Converter
Weight Converter
Shoe Size Converter
Shoe Size Converter
Integer and signed number calculators
Long Division
Long Division
LCM Calculator
LCM Calculator
GCF Calculator
GCF Calculator
Integer Calculator
Integer Calculator
Prime Factorization
Prime Factorization
Diophantine Solver
Diophantine Solver
Modulo Calculator
Modulo Calculator
Factor Calculator
Factor Calculator
Roman Numerals
Roman Numerals
Fraction, decimal and rounding calculators
Fraction Calculator
Fraction Calculator
Mixed Numbers
Mixed Numbers
Simplify Fractions
Simplify Fractions
Fraction to Decimal
Fraction to Decimal
Decimal to Fraction
Decimal to Fraction
Rounding
Rounding
Equation and inequality calculators
Linear Equation
Linear Equation
Linear Systems
Linear Systems
Quadratic Formula
Quadratic Formula
Absolute Value
Absolute Value
Quadratic Inequality
Quadratic Inequality
Polynomial calculators
Binomial Theorem
Binomial Theorem
Square root and nth root calculators
Simplify Radicals
Simplify Radicals
Nth Root
Nth Root
Exponent and logarithm calculators
Exponents
Exponents
Log Calculator
Log Calculator
Number of Digits
Number of Digits
Scientific Notation
Scientific Notation
Sci. Notation Math
Sci. Notation Math
Half-Life
Half-Life
Complex number calculators
Complex Numbers
Complex Numbers
Polar Form
Polar Form
De Moivre
De Moivre
Function and graph calculators
Slope Calculator
Slope Calculator
Linear Function
Linear Function
Direct & Inverse Variation
Direct & Inverse Variation
y = ax² Calculator
y = ax² Calculator
Distance Formula
Distance Formula
3D Distance
3D Distance
Section Formula
Section Formula
Point to Line
Point to Line
Lat/Long Distance
Lat/Long Distance
Complete the Square
Complete the Square
Circle Equation
Circle Equation
Conic Sections
Conic Sections
Polar Coordinates
Polar Coordinates
Sequence calculators
Arithmetic Sequence
Arithmetic Sequence
Geometric Sequence
Geometric Sequence
Fibonacci Sequence
Fibonacci Sequence
Recurrence Relation
Recurrence Relation
Vector calculators
Vector Calculator
Vector Calculator
Cross Product
Cross Product
Matrix calculators
Matrix Calculator
Matrix Calculator
Determinant
Determinant
Inverse Matrix
Inverse Matrix
Plane geometry calculators
Sin Cos Tan
Sin Cos Tan
Degrees ⇔ Radians
Degrees ⇔ Radians
a sin θ + b cos θ
a sin θ + b cos θ
Triangle Solver
Triangle Solver
Triangle Area
Triangle Area
Right Triangle
Right Triangle
Pythagorean Theorem
Pythagorean Theorem
Polygon Angles
Polygon Angles
Scale Factor
Scale Factor
Parallel Lines
Parallel Lines
Rectangle Area
Rectangle Area
Parallelogram Area
Parallelogram Area
Trapezoid Area
Trapezoid Area
Circle Calculator
Circle Calculator
Sector Area
Sector Area
Inscribed Angle
Inscribed Angle
Ellipse Area
Ellipse Area
Solid geometry calculators
Cube Volume
Cube Volume
Cube Surface Area
Cube Surface Area
Box Volume
Box Volume
Box Surface Area
Box Surface Area
Cylinder Volume
Cylinder Volume
Cylinder Surface
Cylinder Surface
Sphere Volume
Sphere Volume
Sphere Surface
Sphere Surface
Spherical Cap Volume
Spherical Cap Volume
Cap Surface Area
Cap Surface Area
Ellipsoid Volume
Ellipsoid Volume
Ellipsoid Surface
Ellipsoid Surface
Pyramid Volume
Pyramid Volume
Pyramid Surface
Pyramid Surface
Cone Volume
Cone Volume
Cone Surface Area
Cone Surface Area
Frustum Volume
Frustum Volume
Frustum Surface Area
Frustum Surface Area
Pipe Volume
Pipe Volume
Capsule Volume
Capsule Volume
Capsule Surface Area
Capsule Surface Area
Date and time calculators
Age Calculator
Age Calculator
Days Between Dates
Days Between Dates
Date Calculator
Date Calculator
Hours From Now
Hours From Now
Day of the Week
Day of the Week
Time Calculator
Time Calculator
Time Zone Converter
Time Zone Converter
Hours Calculator
Hours Calculator
Time Duration
Time Duration
Time Card
Time Card
Finance and economics calculators
Compound Interest
Compound Interest
Simple Interest
Simple Interest
Interest Calculator
Interest Calculator
TVM Calculator
TVM Calculator
Present Value
Present Value
Future Value
Future Value
ROI Calculator
ROI Calculator
IRR Calculator
IRR Calculator
Payback Period
Payback Period
Average Return
Average Return
GDP Calculator
GDP Calculator
Web marketing and ad metric calculators
CTR Calculator
CTR Calculator
Conversion Rate
Conversion Rate
CPC, CPM & CPA
CPC, CPM & CPA
ROAS Calculator
ROAS Calculator
Break-Even CPA
Break-Even CPA
LTV Calculator
LTV Calculator
CAC Calculator
CAC Calculator
Churn Rate
Churn Rate
A/B Test Calc
A/B Test Calc
A/B Sample Size
A/B Sample Size
SEO Traffic
SEO Traffic
Break-Even Point
Break-Even Point
Markup vs. Margin
Markup vs. Margin
CAGR Calculator
CAGR Calculator
Health and fitness calculators
BMI Calculator
BMI Calculator
Sleep Calculator
Sleep Calculator
Calorie Calculator
Calorie Calculator
BMR Calculator
BMR Calculator
TDEE Calculator
TDEE Calculator
Ideal Weight
Ideal Weight
Body Fat Calculator
Body Fat Calculator
Lean Body Mass
Lean Body Mass
Calories Burned
Calories Burned
Protein Intake
Protein Intake
Macro Calculator
Macro Calculator
Carb Calculator
Carb Calculator
Fat Intake
Fat Intake
Child Height
Child Height
Sports calculators
Golf Handicap
Golf Handicap
Pace Calculator
Pace Calculator
1RM Calculator
1RM Calculator
Target Heart Rate
Target Heart Rate
Weather calculators
Heat Index
Heat Index
Wind Chill
Wind Chill
Dew Point
Dew Point
Computer calculators
Base Converter
Base Converter
Subnet Calculator
Subnet Calculator
Download Time
Download Time
Household energy and budget calculators
Electricity Cost
Electricity Cost
kWh to Cost
kWh to Cost
Yearly kWh to Cost
Yearly kWh to Cost
AC Size (BTU)
AC Size (BTU)
AC Running Cost
AC Running Cost
Heating Costs
Heating Costs
Gas vs Electric
Gas vs Electric
LED Savings
LED Savings
Salary Calculator
Salary Calculator
Budget Calculator
Budget Calculator
Car calculators
Trip Gas Cost
Trip Gas Cost
EV Charging Cost
EV Charging Cost
EV vs Gas Cost
EV vs Gas Cost
MPG Calculator
MPG Calculator
Tire Size
Tire Size
Solar power and battery calculators
Solar Output
Solar Output
Solar Panel Count
Solar Panel Count
Solar Payback
Solar Payback
Battery Size
Battery Size
Home and DIY calculators
Tile Calculator
Tile Calculator
Stair Calculator
Stair Calculator
Concrete Volume
Concrete Volume
Wall Area
Wall Area
Wallpaper Rolls
Wallpaper Rolls
Paint Calculator
Paint Calculator
Flooring Needed
Flooring Needed
Exterior Walls
Exterior Walls
Gravel Needed
Gravel Needed
Mortar Mix
Mortar Mix
Slope Grade
Slope Grade
Lumber Cut List
Lumber Cut List
Lot Coverage/FAR
Lot Coverage/FAR
Sheet Vinyl Roll
Sheet Vinyl Roll
Insulation Needed
Insulation Needed
Curtain Size
Curtain Size
TV Size & Distance
TV Size & Distance
Soil Needed
Soil Needed
Sod Needed
Sod Needed
Block Calculator
Block Calculator
Brick Calculator
Brick Calculator
Deck Materials
Deck Materials
Ramp Length
Ramp Length
Pilot Hole Size
Pilot Hole Size
Room Ventilation
Room Ventilation
Paint Thinning
Paint Thinning
Baseboard & Trim
Baseboard & Trim
Blind Size
Blind Size
Picture Hanging
Picture Hanging
Drain Slope
Drain Slope
Screw Calculator
Screw Calculator
Board Feet
Board Feet
Fence Calculator
Fence Calculator
Wood Shrinkage
Wood Shrinkage
Caulk Calculator
Caulk Calculator
Heat Loss
Heat Loss
Furniture Fit
Furniture Fit
Moving Boxes
Moving Boxes
Storage Capacity
Storage Capacity
Plywood Cuts
Plywood Cuts
Shelf Sag
Shelf Sag

Degrees to Radians Converter (Exact Answers in Terms of π, with a Unit Circle)

Choose "degrees to radians" or "radians to degrees" and enter your value. The result comes with a unit circle diagram.

Negative angles and angles over 360° (2π) are fine. For radians, you can enter values with π such as "π/6", "2π/3" or "1.5π" (typing pi also works) as well as decimals such as "1.5".
Result and figure
Enter an angle in degrees (or a value in radians) in the fields on the left and press "Calculate". The result and a unit circle diagram will appear here.

What you can do on this page

  • Converts degrees to radians. The answer is shown both as an exact value in terms of \(\pi\), as in \(30^\circ \to \dfrac{\pi}{6}\), and as a decimal (12 significant digits)
  • Also converts radians to degrees. You can enter values with \(\pi\) such as "π/6", "2π/3" or "1.5π" (typing pi also works) as well as decimals such as "1.5"
  • Negative angles (such as −45°) and angles over \(360^\circ\) (\(2\pi\)) work too
  • The result comes with a unit circle diagram, so you can see that the arc length on a circle of radius \(1\) is the value in radians
  • A table of special angles (\(0^\circ\) to \(360^\circ\)), a plain-language explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are all on this page
\(\pi\) is pi (\(\approx 3.14159\)). For degrees to radians, the result is shown as \(\dfrac{\text{degrees}}{180}\) reduced to simplest form, multiplied by \(\pi\).

What is this calculation used for?

Keeping calculus with trig functions simple (math and physics)

The neat rule "the derivative of \(\sin x\) is \(\cos x\)" is true only when the angle \(x\) is measured in radians. If you differentiate with degrees, an extra factor of \(\dfrac{\pi}{180}\) (about 0.01745) appears every time, and the formulas keep getting messier.
Calculus, college physics and engineering write every angle in radians because this is the measure that makes the formulas simplest. Converting between degrees and radians is the way into that world.

Finding arc lengths and sector areas quickly (design and manufacturing)

With the central angle in radians, the arc length is just radius × angle (\(s = r\theta\)), and the area of a sector is \(A = \dfrac{1}{2}r^2\theta\). For example, a curve with a radius of 6 feet and a central angle of \(\dfrac{\pi}{3}\) (\(60^\circ\)) is \(6 \times \dfrac{\pi}{3} = 2\pi \approx 6.28\) feet long.
In degrees, the formula gets longer, like \(2\pi r \times \dfrac{a}{360}\). So when designing road curves or curved parts, the standard practice is to convert to radians first.

Describing how fast motors and turbines spin (mechanical and electrical engineering)

In engineering, the speed of a rotating machine is given as the angle it turns per second, the angular velocity \(\omega\) (in rad/s). For example, a motor running at 3,600 rpm (revolutions per minute) turns \(3600 \times 2\pi \div 60 = 120\pi \approx 377\) rad/s, since one turn is \(2\pi\) radians.
With the angular velocity in radians, the speed at the tip is simply radius × angular velocity (\(v = r\omega\)), so every rotation calculation is just multiplication. The \(\omega\) in motor spec sheets and physics textbooks is in this unit.

Using trig functions correctly in code (games and computer graphics)

In almost every programming environment, including Python, JavaScript and Excel, sin and cos take radians. A classic beginner mistake is to write sin(30) expecting \(\sin 30^\circ = 0.5\) and get −0.988 instead. The correct way is to convert degrees to radians first: sin(30 × π/180).
When a game moves a character by a given angle, or when you draw a graph, this "people think in degrees, programs take radians" conversion happens all the time.

Estimating distances from latitude and longitude (maps and GPS)

The link between an angle at the center of the Earth and the arc on its surface is also arc length = radius × angle in radians. The Earth's radius is about 3,959 miles, so one degree of latitude north to south is about \(3959 \times \dfrac{\pi}{180} \approx 69\) miles.
The geography fact "one degree of latitude is about 69 miles (111 km)" comes straight from a degrees-to-radians conversion, and GPS distance calculations and map apps use the same idea.

Formulas and figures

Definition of radian measure (180° = π radians)
Figure (radian measure: on a circle of radius 1, the arc length is the size of the angle)
Standard notation (the usual math form)
In words (symbols replaced with words)
\(180^\circ\) \(=\) \(\pi\)
① \(180^\circ\): half a turn in degrees \(=\) ② \(\pi\): the same in radians (the arc length of half a circle of radius \(1\))
The formula in words
① In degree measure, \(180^\circ\) (half a turn)
② is, in radian measure, \(\pi\) radians (the arc length of half a circle of radius \(1\))
Quick example
In the same way, a quarter turn (\(90^\circ\)) is half of the half-circle arc, so
\(90^\circ\) \(=\) \(\dfrac{\pi}{2}\) radians
\(90^\circ = \dfrac{\pi}{2} \approx 1.5708\)
Key idea
Radian measure gives the size of an angle as the length of the arc it cuts off on a circle of radius \(1\). The circumference of a circle of radius \(1\) is \(2\pi \times 1 = 2\pi\) (circumference = diameter × pi), so a full turn of \(360^\circ\) is \(2\pi\), and a half turn of \(180^\circ\) is half of that, \(\pi\). "\(1\) radian" is the angle whose arc is exactly as long as the radius. In degrees it is about \(57.3^\circ\). That may look like an odd number, but measuring angles by length makes the formulas of calculus and physics as simple as possible. This is why radians take over from Precalculus onward.
Degrees to radians (multiply by π/180)
Table of special angles (degrees and radians from 0° to 360°)
Standard notation (the usual math form)
\(\theta\) \(=\) \(a\) \(\times\) \(\dfrac{\pi}{180}\)
In words (symbols replaced with words)
③ \(\theta\): angle in radians \(=\) ① \(a\): angle in degrees (the number without °) \(\times\) ② \(\dfrac{\pi}{180}\): radians in \(1^\circ\)
The formula in words
① Take the \(a\): angle in degrees (the number without °)
② multiply it by \(\dfrac{\pi}{180}\) (the radians in \(1^\circ\), from \(180^\circ = \pi\))
③ and you get the \(\theta\): angle in radians
Quick example
Converting \(30^\circ\) to radians:
\(30^\circ\) in radians \(=\) \(30\) \(\times\) \(\dfrac{\pi}{180}\)
\(30 \times \dfrac{\pi}{180} = \dfrac{30\pi}{180} = \dfrac{\pi}{6} \approx 0.5236\)
Key idea
The trick is to leave \(\pi\) as it is and simplify only the fraction \(\dfrac{a}{180}\). For \(30^\circ\), \(\dfrac{30}{180} = \dfrac{1}{6}\), so the answer is \(\dfrac{\pi}{6}\). For \(120^\circ\), \(\dfrac{120}{180} = \dfrac{2}{3}\), so it is \(\dfrac{2\pi}{3}\). In high school math, the answer is usually left in terms of \(\pi\) instead of as a decimal (so you can keep working with the exact value). Substitute \(\pi \approx 3.14159\) only at the end, when you need a decimal.
Radians to degrees (multiply by 180/π)
Standard notation (the usual math form)
\(a\) \(=\) \(\theta\) \(\times\) \(\dfrac{180}{\pi}\)
In words (symbols replaced with words)
③ \(a\): angle in degrees \(=\) ① \(\theta\): angle in radians \(\times\) ② \(\dfrac{180}{\pi}\): degrees in \(1\) radian
The formula in words
① Take the \(\theta\): angle in radians
② multiply it by \(\dfrac{180}{\pi}\) (the degrees in \(1\) radian, from \(180^\circ = \pi\))
③ and you get the \(a\): angle in degrees
Quick example
Converting \(\dfrac{2\pi}{3}\) to degrees:
\(\dfrac{2\pi}{3}\) in degrees \(=\) \(\dfrac{2\pi}{3}\) \(\times\) \(\dfrac{180}{\pi}\)
\(\dfrac{2\pi}{3} \times \dfrac{180}{\pi} = \dfrac{2 \times 180}{3} = 120\)
Key idea
For a value with \(\pi\) in it (such as \(\dfrac{\pi}{6}\) or \(\dfrac{2\pi}{3}\)), multiplying by \(\dfrac{180}{\pi}\) cancels the \(\pi\). So in practice you only need to replace \(\pi\) with \(180^\circ\). For example, \(\dfrac{2\pi}{3} = \dfrac{2 \times 180^\circ}{3} = 120^\circ\). A decimal value in radians without \(\pi\) (such as \(1.5\)) almost never gives an exact number of degrees. Multiply by \(\dfrac{180}{\pi} \approx 57.2958\) and give the answer as a decimal (\(1.5\) radians \(\approx 85.94^\circ\)).
Degrees and radians are linked by \(180^\circ = \pi\) radians. To go from degrees to radians, multiply by \(\dfrac{\pi}{180}\) and simplify (\(30^\circ = \dfrac{\pi}{6}\)). To go from radians to degrees, just replace \(\pi\) with \(180^\circ\) (\(\dfrac{2\pi}{3} = \dfrac{2 \times 180^\circ}{3} = 120^\circ\)).

Symbols and terms

Symbols

\(^\circ\) (degrees) degrees The unit of angle in degree measure. One full turn is \(360^\circ\). It is the most familiar way to express angles, also used in everyday life.
rad (radians) radians The unit of angle in radian measure. The word "radian" was made from "radius", and it measures an angle by the arc length on a circle of radius \(1\). In math, the unit is usually left out and only the number is written, as in \(\dfrac{\pi}{6}\).
\(\pi\) pi Pi (\(\approx 3.14159\)), the value of circumference ÷ diameter. The letter is said to come from the first letter of the Greek word for "perimeter". Since \(180^\circ = \pi\) radians, fractions of \(\pi\) appear often in radian values.
\(\theta\) theta A Greek letter often used for angles. On this page, it is the size of an angle measured in radians.
\(a\) a On this page, the angle in degrees (the number without °). It is the \(a\) in \(a^\circ\).
\(\approx\) approximately equal to The symbol for "about" (an approximation). An exact value with \(\pi\) never ends when written as a decimal, so this symbol is used for the decimals.

Terms

degree measure Measuring angles with one full turn set to 360°. The number 360 has many factors (a half, a third, a quarter … of it are all whole numbers), and it has been used since ancient times. This is the measure you learn first, in elementary school.
radian measure Measuring an angle by the arc length on a circle of radius 1. The unit is the radian. 180° = π radians, and angles are written as fractions of π, such as 60° = π/3. Radians are used from Precalculus on and are the main unit in calculus.
arc A part of the circumference of a circle. Radian measure gives the size of an angle as the length of the arc it cuts off.
central angle The angle formed by two radii at the center of a circle. The arc length is proportional to the central angle (double the angle, double the arc). This proportion is the basis of radian measure.
unit circle The circle of radius 1 centered at the origin. Because the radius is 1, the arc length is exactly the central angle in radians. It is also used to define the trig functions, which makes it an important tool in high school math.
terminal side The ray from the origin turned by angle \(\theta\) from the positive \(x\)-axis (the angle is in standard position). It shows the size of the angle on the diagram. For a negative angle, it turns clockwise.
special angle An angle such as 30°, 45°, 60°, 90° or 120° whose trig values can be written as exact values. In radians, they are π/6, π/4, π/3, π/2, 2π/3 …, fractions of π with denominators 6, 4, 3 and 2.
simplify To divide the top and bottom of a fraction by the same number to make it simpler (also called reducing). For degrees to radians, simplify the fraction degrees/180 by the greatest common factor, then attach π (30/180 → 1/6 → π/6).
simplest form A fraction that cannot be simplified any further (also called lowest terms). The results on this page show the coefficient of π in simplest form.
pi The value of circumference ÷ diameter (π ≈ 3.14159). It is the same for a circle of any size. A circle of radius 1 has circumference 2π because its diameter is 2, and 2 × π = 2π.

Good to know before you start

Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.
If you get stuck, going back to these topics is the fastest way forward.

Angles (Grade 4)
  • Knowing that a full turn is \(360^\circ\), a half turn is \(180^\circ\) and a right angle is \(90^\circ\)
Circles and pi (Grade 7)
  • Being able to find the circumference with circumference = diameter × pi (pi \(\approx 3.14\))
  • Being able to show from the formula that a circle of radius \(1\) has circumference \(2 \times 3.14\) (\(= 2\pi\))
Multiplying and simplifying fractions (Grades 5–6)
  • Being able to multiply a fraction by a whole number and a fraction by a fraction
  • Being able to simplify a fraction by its greatest common factor, as in \(\dfrac{30}{180} = \dfrac{1}{6}\)
Proportional relationships (Grade 7)
  • Understanding proportional relationships such as "double the central angle, double the arc length" (this is why an angle can be measured by an arc length)
Expressions with variables (Grades 6–8)
  • Being able to read expressions that treat \(\pi\) like a variable (\(2\pi\), \(\dfrac{\pi}{6}\) and so on), the way you get used to in the area of a circle, \(\pi r^2\)

How to calculate it in Excel

Copy the whole table below and paste it into cell A1 in Excel. It works as is.
Table to convert degrees to radians (decimal)
Angle (degrees) 30
Radians =RADIANS(B1)
Table to convert radians to degrees
Radians =PI()/6
Angle (degrees) =DEGREES(B1)
Table to convert degrees to a fraction of π (simplified numerator and denominator)
Angle (whole degrees) 30
Numerator of the π coefficient =B1/GCD(B1,180)
Denominator of the π coefficient =180/GCD(B1,180)
Excel's RADIANS function converts degrees to radians, and DEGREES converts radians to degrees. The first table uses 30°, and the answer is 0.523598776 (the decimal value of π/6).
The second table puts "=PI()/6" (π ÷ 6) in the radians cell, and the answer is 30. For a decimal value in radians such as 1.5, just type 1.5 in B1 (the answer is 85.94366927).
The third table finds the exact form as a fraction of π. The GCD function (greatest common factor) simplifies degrees/180. The numerator is 1 and the denominator is 6, so you can read it as "30° = π/6" (this table works only for whole numbers of degrees).

How to calculate it in Google Sheets

Copy the whole table below and paste it into cell A1 in Google Sheets. It works as is.
Table to convert degrees to radians (decimal)
Angle (degrees) 30
Radians =RADIANS(B1)
Table to convert radians to degrees
Radians =PI()/6
Angle (degrees) =DEGREES(B1)
Table to convert degrees to a fraction of π (simplified numerator and denominator)
Angle (whole degrees) 30
Numerator of the π coefficient =B1/GCD(B1,180)
Denominator of the π coefficient =180/GCD(B1,180)
The same formulas as in Excel work as is. Copy the whole table, paste it into cell A1, and replace the angle or the value in radians with your own numbers.

How to calculate it in Python

import math
from fractions import Fraction

# Degrees to radians (decimal)
angle_degree = 30
angle_radian = math.radians(angle_degree)
print(f"{angle_degree}° = {angle_radian} radians")

# Degrees to radians (exact form as a fraction of π)
pi_coefficient = Fraction(angle_degree, 180)   # simplifies degrees/180 automatically
print(f"{angle_degree}° = π × {pi_coefficient}")

# Radians to degrees
radian_value = 1.5
print(f"{radian_value} radians = {math.degrees(radian_value)}°")
Runs with the standard library only. math.radians() converts degrees to radians, and math.degrees() converts radians to degrees. The exact form as a fraction of π comes from Fraction(degrees, 180) in the fractions module (it simplifies automatically). Running this example prints 30° = 0.5235987755982988 radians, 30° = π × 1/6 (that is, π/6) and 1.5 radians = 85.94366926962348°.

How to write it in LaTeX and other math languages (copy and paste)

Definition of radian measure (180° = π radians)
180° = π rad
180^\circ = \pi\ \mathrm{rad}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mn>180</mn><mo>&#x00B0;</mo>
    <mo>=</mo>
    <mi>&#x3C0;</mi><mspace width="0.2em"/><mi>rad</mi>
  </mrow>
</math>
180^@ = pi " rad"
180 Degree == Pi
convert(180*degrees, radians);
deg2rad(180)
180° = π rad
Degrees to radians (multiply by π/180)
θ = a × π/180
\theta = a \times \dfrac{\pi}{180}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>&#x3B8;</mi>
    <mo>=</mo>
    <mi>a</mi>
    <mo>&#x00D7;</mo>
    <mfrac><mi>&#x3C0;</mi><mn>180</mn></mfrac>
  </mrow>
</math>
theta = a xx pi/180
N[30 Degree]
convert(30*degrees, radians);
deg2rad(30)
θ = a × π/180
Radians to degrees (multiply by 180/π)
a = θ × 180/π
a = \theta \times \dfrac{180}{\pi}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>a</mi>
    <mo>=</mo>
    <mi>&#x3B8;</mi>
    <mo>&#x00D7;</mo>
    <mfrac><mn>180</mn><mi>&#x3C0;</mi></mfrac>
  </mrow>
</math>
a = theta xx 180/pi
(2 Pi/3)/Degree
convert(2*Pi/3, degrees);
rad2deg(2*pi/3)
a = θ × 180/π

How to have ChatGPT  do the calculation

You are a math calculation assistant for radian measure. Do the following conversions by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing).

1. Convert 45° and 17.5° to radians. Give each both as an exact fraction of π (simplified with the fractions module) and as a decimal.
2. Convert 2π/3 radians and 1.5 radians to degrees.

In Python, use the math module (radians, degrees) and the fractions module. Show the formulas you used and the numbers from the execution result.

How to Use
  1. 1
    Enter your numbers
    Type the numbers you want to calculate with into the input fields
  2. 2
    Calculate
    Press the "Calculate" button
  3. 3
    Check the result
    The result appears on the spot. The same page also explains the idea behind the calculation and the formula
  DataChef Features
Easy and Free
Unlimited conversions for free.
No technical knowledge required.
Intuitive and user-friendly operation.
No Registration Required
Available immediately after access.
Can be used without registering personal information.
Safe and Secure
Fully SSL encrypted communication.
Automatic file deletion by clicking "download".
Fast
High-speed site access
and rapid file conversion.
No Watermark
No watermark.
No attribution required.
Commercial Use Available
Free for commercial use.
No need to contact us for commercial use permission.