# How do you convert 90 degrees to radians ?

In this Example we will convert 90 degrees to radians . Firstly we will see angle to radians formula then use it .

Note : 90 degrees is equal to π/2 radian .

## How to Convert from Degrees to Radians

To convert from degrees to radians , we  use  given below formula .

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

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

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

Angle in radian = 90 x (π/180)

Hence, 90 degrees is equal to π/2 in radian .

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

So, 90 degrees is equal to 1.570795 radian .

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

## Java program to Convert 90 degrees to radians

Syntax :

``Math.toRadians(double angdeg)``

Parameters:
It takes angdeg an angle, in degrees
Returns:
It returns the measurement of the angle angdeg in radians.

Now we will use Math.toRadians() method to convert degree to radians . toRadians() is a static method .So we can call it directly with class name and it will return degree value in radians .

``````public class DegreesToRadians {

public static void main(String[] args) {
double deg = 90;
``90 Degrees in radians: 1.5707963267948966``