### Excel COS Function

##### Associated Files Download Links

In this Article

This Excel Tutorial demonstrates how to use the **Excel COS Function** in Excel to calculate the cosine, with formula examples.

## COS Function Description:

The COS Function Calculates the cosine of an angle.

## Formula Examples:

Example | Formula | Result |
---|---|---|

1 | =COS(B5) | 0.154251449887584 |

2 | =COS(B6) | -0.44807361612917 |

3 | =COS(B7) | 0.699250806478375 |

## Syntax and Arguments:

The Syntax for the COS Formula is:

1 |
=COS(number) |

### Function Arguments ( Inputs ):

**number** – A number.

## Additional Notes

Use the COS Function to calculate the cosine of an angle. Simply enter the angle directly into the function or reference a cell containing the angle.

## COS Examples in VBA

You can also use the COS function in VBA. Type:

`application.worksheetfunction.cos(number)`

For the function arguments (number, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

## How to use the COS Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=COS(” into a cell, without leaving the cell, use the shortcut **CTRL + A** (**A** for **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the COS Formula visit the

Microsoft Website.