# COS

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the cosine of the specified angle.

## Syntax

COS(*angle*)

## Arguments

This function can take any real number as an argument. The *angle* argument is the angle in radians for which you want the cosine.

## Remarks

If the angle is in degrees, multiply it by PI/180 to convert it to radians.

## Data Types

Accepts numeric data. Returns numeric data.

#### Examples

`COS(B2)`
`COS(R1C3)`
`COS(45*PI()/180)` gives the result 0.7071067812
`COS(RADIANS(30))`

## Version Available

This function is available in product version 1.0 or later.

## See Also

[ACOS](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionACOS) \| [ACOSH](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionACOSH) \| [COSH](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionCOSH) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)