Wauvel

Excel like a finance pro.

← The library

Math function

COS

Returns the cosine of an angle in radians.

Rarely usedDifficulty 1100 · ProficientUsage rank #247 of 520
Practice · 2 questions →

When to use it

Cosine of an angle in radians. Horizontal components, phase-shifted waves, and the dot-product angle formula.

The shape of it

Syntax
=COS(number)

Worked examples

  • Zero

    =COS(0) 1

    Maximum at zero.

  • Half a turn

    =COS(PI()) -1

    Half a turn.

  • From degrees

    =COS(RADIANS(60)) 0.5

    From degrees.

Worth knowing

  • Horizontal component: magnitude*COS(angle).
  • COS and SIN are 90° apart: COS(x) = SIN(x+PI()/2).
  • ACOS inverts it.

Where it goes wrong

  • Degrees must be converted to radians first.
  • COS(PI()/2) returns 6.1E-17, not 0; ROUND if you test for zero.

Related

Learn the moves here — or let Wauvel run them on your numbers.

Meet your AI CFO →

One CFO-grade Excel tip a week

A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.