Skip to content
Math

Secant Calculator - sec(x)

Enter an angle and select your unit (degrees, radians, or gradians) to find its secant instantly. You also get the inverse: type a secant value to find the arcsecant angle. The step-by-step panel shows the full working, and the curve visual plots where your angle falls on the sec(x) graph.

Your details

Forward: enter an angle, get sec(x). Inverse: enter a secant value, get the angle.
Enter the angle whose secant you want. Undefined at 90 deg, 270 deg, etc.
deg
sec(x)
2

Secant of the entered angle

cos(x)0.5
Angle (normalised 0-360)60deg
Exact value2
2
Negative branch<-1Impossible zone-1-1Positive branch1+

sec(60 deg) = 2.000000

  • sec(x) = 1 / cos(x) = 1 / 0.500000 = 2.000000.
  • The secant is always positive (>= 1), because |sec(x)| >= 1 for all defined angles.
  • The exact form for this special angle is 2.
  • Your angle normalises to 60.00 deg in the principal cycle 0-360 deg.

Next stepUse the inverse mode (arcsec) to go back from a secant value to the angle.

Formula

sec(x)=1cos(x)=hypotenuseadjacent,arcsec(x)=arccos ⁣(1x)sec(x) = \dfrac{1}{\cos(x)} = \dfrac{\text{hypotenuse}}{\text{adjacent}}, \quad \text{arcsec}(x) = \arccos\!\left(\dfrac{1}{x}\right)

Worked example

Find sec(60 deg): cos(60 deg) = 0.5, so sec(60 deg) = 1/0.5 = 2. Exact form: 2. For the inverse, arcsec(2) = arccos(1/2) = 60 deg.

What is the secant function?

The secant function, written sec(x), is one of the six fundamental trigonometric functions. It is the reciprocal of the cosine: sec(x) = 1 / cos(x). In a right-angled triangle, sec(x) equals the hypotenuse divided by the adjacent side, which is the same ratio that cosine flips upside-down. Because cosine never exceeds 1 in absolute value, its reciprocal the secant is always outside the range (-1, 1), meaning sec(x) is always >= 1 or <= -1. This is why the secant curve has a distinctive shape with two separate branches that never cross the horizontal band between -1 and 1.

How to calculate sec(x)

The fastest route is always sec(x) = 1 / cos(x). Your calculator or software has a cosine function built in, so compute cos(x), then take its reciprocal. Make sure you are in the correct angle mode - degrees, radians, or gradians - before you start. At the special angles you can use exact forms: sec(0 deg) = 1, sec(30 deg) = 2√3/3, sec(45 deg) = √2, sec(60 deg) = 2, sec(90 deg) is undefined, sec(180 deg) = -1. These exact values come from the exact cosines of those angles and are useful in proofs and examinations.

Inverse secant (arcsecant)

The inverse secant function, arcsec(x), answers the question: which angle has a secant equal to x? Because secant is periodic (repeating every 360 deg or 2pi rad), there are infinitely many such angles. By convention, arcsec(x) returns the principal value: a result in [0 deg, 90 deg) when x >= 1, and in (90 deg, 180 deg] when x <= -1. The calculator also shows the alternate angle in the full 0-360 deg cycle, which is 360 deg minus the primary result. The computation is arcsec(x) = arccos(1/x), which converts it to the standard arccos that any computer or calculator provides.

Secant identities and the sec(x) graph

A handful of identities link secant to the other trig functions. The Pythagorean identity in secant form is sec^2(x) = 1 + tan^2(x). Secant is also equal to tan(x)/sin(x), and it relates to the hypotenuse-to-adjacent ratio in a right triangle. The graph of y = sec(x) consists of U-shaped branches that open upward (for cos > 0) and downward (for cos < 0), with vertical asymptotes at every angle where cos(x) = 0, namely x = 90 deg, 270 deg, and their equivalents in each full cycle. The function has a period of 360 deg (2pi radians) and is an even function, meaning sec(-x) = sec(x).

Secant values for common angles

Angle (deg)Angle (rad)sec(x) exactsec(x) decimal
0011.000000
15π/12√6 - √21.035276
30π/62√3/31.154701
45π/4√21.414214
60π/322.000000
755π/12√6 + √23.863703
90π/2undefinedundefined
1202π/3-2-2.000000
1353π/4-√2-1.414214
1505π/6-2√3/3-1.154701
180π-1-1.000000
2107π/6-2√3/3-1.154701
2255π/4-√2-1.414214
2404π/3-2-2.000000
2703π/2undefinedundefined
3005π/322.000000
3157π/4√21.414214
33011π/62√3/31.154701
36011.000000

Exact and decimal secant values at the standard special angles. Undefined at 90 deg, 270 deg, etc.

Frequently asked questions

What is secant in trigonometry?

Secant (sec) is the reciprocal of cosine. If cos(x) gives the ratio of adjacent to hypotenuse in a right triangle, sec(x) = 1/cos(x) gives hypotenuse over adjacent. Its value is always >= 1 or <= -1, since cosine is bounded between -1 and 1.

How do I calculate sec(x) on a calculator that does not have a sec button?

Enter your angle, press the cos button, then take the reciprocal (usually the 1/x or x^-1 key). For example, sec(60 deg): cos(60 deg) = 0.5, then 1/0.5 = 2. Always confirm your calculator is in the correct angle mode (degrees or radians) first.

Why is sec(90 deg) undefined?

cos(90 deg) = 0, and dividing 1 by 0 is undefined. Geometrically, at 90 deg the adjacent side in a right triangle has zero length, so the hypotenuse-to-adjacent ratio has no finite value. On the graph, this appears as a vertical asymptote.

What values can sec(x) not take?

Secant is never strictly between -1 and 1. It can equal exactly 1 (at 0 deg, 360 deg, ...) or exactly -1 (at 180 deg, ...), but any value in the open interval (-1, 1) is impossible. This is because |cos(x)| <= 1 means |1/cos(x)| >= 1.

What is arcsec(x) and how is it different from 1/sec(x)?

arcsec(x) is the inverse secant function: it takes a secant value and returns the angle. For example, arcsec(2) = 60 deg because sec(60 deg) = 2. It is not the same as 1/sec(x), which just equals cos(x). The superscript -1 notation (sec^-1) means inverse function here, not reciprocal.

How does secant differ from cosecant?

Secant is 1/cos(x) (hypotenuse over adjacent), while cosecant (csc) is 1/sin(x) (hypotenuse over opposite). They are reciprocals of different primary trig functions and produce different graphs and values except at special angles where they coincide by symmetry.

Sources

Written by Dr. Elena Vasquez, PhD Mathematician · Lisbon, Portugal

Translating rigorous geometric theory into accurate, reliable calculation tools trusted by engineers, students, and researchers worldwide.

Search 3,500+ calculators

Loading search…