Skip to content
Google Sheets

SEC function in Google Sheets

The SEC function returns the secant of an angle, measured in radians. .

=SEC(angle)

SEC syntax and parameters

One argument, one required.

  • anglenumberRequired

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 Excel

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…