Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the SEC function. |
Examples
Secant of 0
=SEC(0)
Secant of 60 degrees
=SEC(RADIANS(60))
Verifying identity
=SEC(A1)^2 - TAN(A1)^2
Common Errors
SEC is undefined where COS equals zero: at 90° (π/2), 270° (3π/2), etc. These inputs produce #DIV/0!.
Non-numeric arguments return #VALUE!.
Tips
SEC(x) = 1/COS(x). Both work, but SEC is cleaner when the formula already uses reciprocal trig functions.
SEC²(x) = 1 + TAN²(x). This identity is useful for simplifying expressions in calculus and physics.
Like all trig functions, SEC expects radians. Use =SEC(RADIANS(degrees)) when working with degree values.
Try SEC in Viztab
Import your data and use SEC with 370+ other formulas. No signup required.
Open Viztab