In this example we will explain what is value of **30 degrees in radians** . firstly we will discuss formula for how to convert degrees to radians . After that we will **convert 30 into radian measure** using formula . We will write a java program for convert **30 degrees to radians **in this example** .**

**Note : 90 degrees is equal to π/6 radian.**

## Convert 30 Degrees to Radians

Now will see formula for convert 30 degrees to radians .To convert from degrees to radians , we use given below formula .

Angle in radian = Angle in degree x (π/180)

## 30 Degrees in Radians

Now We will use above given formula to calculate how many radians is 30 degrees . In this example value of angle is 30 .

Now Angle in radian = Angle in degree x (π/180)

Angle in radian = 30 x (π/180)

Angle in radian = π/6

**Hence, 30 degrees is equal to π/6 in radian .**

As we now that value of π(PI) is 3.14159 then use this value

Angle in radian = 3.14159/6

Angle in radian = 0.52359833333

**So, 30 degrees is equal to 0.5235987755982988 radian .**

Now we will write a java program to convert **30 degrees to radian** .

## Java program to Convert 30 Degrees in Radians

This java program will convert **30 degrees into radians . **We will use toRadians() method of Math class . It take input as degree and convert it to radians .Let’s see Java program to convert **30 degrees in radians .**

```
public class DegreesToRadians {
public static void main(String[] args) {
double deg = 30;
System.out.println("30 Degrees in radians: "+Math.toRadians(deg));
}
}
```

Output:

`30 Degrees in radians: 0.5235987755982988`

## 30 Deg to Rad

So now it is clear that 30 degrees to radians is π/6

**30 degrees is equal to π/6 in radian. **Or **30 degrees is equal to 0.5235987755982988 radian **

In this example we learned how to convert 30 degrees in radians . We have converted 30 degrees into radians in this example using java program also .Like 30 deg to rad , you can convert degrees into radians. You can learn more java program for practice .