Last updated: August 27, 2026.
The Cos function returns the cosine of an angle supplied in radians.
Syntax
Cos(number)Examples
Cos(0) ' 1
Cos(60 * 4 * Atn(1) / 180) ' approximately 0.5
Horizontal: [Length] * Cos([Radians])Convert degrees to radians before calling Cos. Floating-point results are approximate, so round only for display or a defined business rule.
See the Microsoft VBA function reference.
Moving an Access application to the web? See practical Microsoft Access replacement options.