# Find sine, cosine and tangent in Google Sheets

The trigonometric functions – sine, cosine and tangent – are based on a right triangle (a triangle with an angle equal to 90 degrees).

In math class, these trigonometric functions are found using different trigonometric ratios that compare the lengths of adjacent and opposite sides of a triangle to the length of the hypotenuse or to each other.

In Google spreadsheets, these trigger functions can be found using the SIN, COS and TAN functions for angles measured at radians

Content
2. Trigger Function Syntax and Arguments
3. Example: Using the Google Sheets SIN function
4. Entering a function argument
5. #MEANING! Errors and empty cells

Using the above trigonometric functions in Google Sheets may be easier than doing it manually, but as mentioned, it’s important to understand that when using these functions, the angle must be measured in radians not in degrees is a unit that most of us are not familiar with.

Radians are related to the radius of a circle, where one radian is approximately equal to 57 degrees.

To make working with trigger functions easier, use the Google Sheets function RADIANS to convert the measured angle from degrees to radians, as shown in cell B2 in the image above, where an angle of 30 degrees is converted to 0.5235987756 radians.

Other options for converting degrees to radians include:

• nesting the RADIANS function in the SIN function – as shown in line 3 in the example;

• through PI function Google Sheets in formula: angle (degrees) * PI () / 180 as shown on line 4 in the example.

### Trigger Function Syntax and Arguments

Function syntax refers to the layout of the function and includes the function name, parentheses, and arguments.

Syntax for the SIN function:

= sin (corner)

Syntax for COS function:

= cos(angle)

The syntax for the TAN function is:

= brown (corner)

angle – calculated angle – measured in radians
– for this argument you can enter the size of the angle in radians, or alternatively a cell reference to the location of this data in the worksheet.

### Example: Using the Google Sheets SIN function

This example covers the steps used to enter the SIN function in cell C2 in the image above to find the sine of a 30-degree angle or 0.5235987756 radians.

The same steps can be used to calculate the cosine and tangent of an angle, as shown in lines 11 and 12 in the image above.

Google Sheets doesn’t use the function argument dialog boxes found in Excel. Instead it has a field automatic offer The that appears when the function name is entered in a cell.

1. Click on cell C2 to make it the active cell – the results of the SIN function are shown here;

2. Type an equal sign (=) followed by the function name sin;

3. As you type, a window appears. automatic accompaniment with function names starting with the letter S;

4. When the name appears in the field SIN click the mouse pointer on the name to enter the function name and open parentheses or parentheses in cell C2.

### Entering a function argument

As you can see in the image above, the argument for the SIN function is entered after the opening parenthesis.

1. Click on cell B2 in the worksheet to enter that cell reference as an argument corner

2. Press key Enter on the keyboard to close the parenthesis “” after the function argument and end the function;

3. The value 0.5 should appear in cell C2, which is the sine of the 30-degree angle;

4. If you click on cell C2, the full function = SIN(B2) appears in the formula bar above the worksheet.

### #MEANING! Errors and empty cells

SIN function displays error #WHERE THE! if the reference used as the function argument refers to a cell that contains text. In the fifth line of the above example, you can see this when the cell reference used refers to a text label: Angle (radians).

If the cell points to an empty cell, the function returns null (see line six above). Google Sheets’ trigon functions interpret empty cells as zero and the sine of zero radians is zero.