Skip to content
ExcelExcel 2013+

SEC function in Excel

Returns the secant of an angle

=SEC(number)

SEC syntax and parameters

One argument, one required.

  • numbernumberRequired

SEC examples

Formulas you'll actually reuse.

  1. Secant of 60° — the reciprocal of COS:

    =SEC(RADIANS(60))

    Result2

  2. Secant of zero — COS(0) is 1, so its reciprocal is 1:

    =SEC(0)

    Result1

SEC in Google Sheets

Same name — your formula ports as-is.

Try SEC in the playground

Edit the example — nothing to install.

Preloaded with the SEC formula from Example 1 — change anything and watch it respond.

Loading the editor…