Secant Calculator

Secant Calculator

Growing AI Skill PRO

Enter Calculation

Formula

sec⁡(θ)=1cos⁡(Angle×π180)\sec(\theta) = \frac{1}{\cos\left(\text{Angle} \times \frac{\pi}{180}\right)}
Usage stats

Advertisement

Results

Secant of 45°
1.414214
Input Angle (degrees) 45°
Angle (radians) 0.785398
Secant 1.414214

Report an error on this page

What the Secant Calculator Does

This Secant Calculator takes a single angle, measured in degrees, and returns its secant — written as sec(θ). Secant is one of the six core trigonometric functions and is defined as the reciprocal of cosine. Because most everyday angles (30°, 45°, 60°, 90°) are quoted in degrees rather than radians, the tool also converts your angle to radians so you can see exactly what value is being fed into the cosine function.

Graph of the secant function with vertical asymptotes and U-shaped branches
The secant curve has vertical asymptotes where cosine equals zero.

How to Use It

  • Type your angle into the Angle (in degrees) field — for example, 60.
  • The calculator converts the degrees to radians.
  • It then computes the cosine and takes its reciprocal to give sec(θ).
  • You see the secant value plus the equivalent angle in radians.

The Formula Explained

The calculator uses:

$$\sec(\theta) = \frac{1}{\cos\left(\frac{\pi}{180} \cdot \theta\right)}$$

The factor \(\pi/180\) converts degrees to radians, because trigonometric functions in mathematics and in code operate on radians. Once the cosine of that radian value is found, the calculator divides 1 by it. In short, secant tells you how the reciprocal of cosine behaves as the angle changes.

Advertisement
Unit circle showing angle theta, cosine projection, and secant as the line to the tangent
Secant is the reciprocal of cosine, shown geometrically on the unit circle.

Worked Example

Suppose you enter 60 degrees:

  • Convert to radians: \(60 \times (\pi/180) \approx 1.0472\) rad.
  • \(\cos(1.0472) = 0.5\).
  • $$\sec(60°) = \frac{1}{0.5} = 2$$

So the calculator displays a secant of 2 and a radian value of about 1.0472 — matching the known textbook result.

Advertisement

Interpreting Your Result

Range. The cosine of any angle is between −1 and 1. Its reciprocal, the secant, is therefore always \(\sec(\theta) \ge 1\) or \(\sec(\theta) \le -1\). It never takes a value strictly between −1 and 1. If you get something like 0.8 from a calculation that should be a secant, there is a mistake somewhere, often because cosine was computed instead.

Sign by quadrant. The secant always has the same sign as the cosine:

  • Quadrant I (0° to 90°): positive
  • Quadrant II (90° to 180°): negative
  • Quadrant III (180° to 270°): negative
  • Quadrant IV (270° to 360°): positive

Very large results. A secant with a large magnitude, positive or negative, means the cosine is close to zero. The angle is then near an asymptote at \(\theta = 90^\circ + k \cdot 180^\circ\), where \(k\) is any integer (…, −90°, 90°, 270°, 450°, …). For example, \(\sec(89^\circ) = \frac{1}{\cos(89^\circ)} \approx \frac{1}{0.017452} \approx 57.30\). As the angle gets closer to 90°, the value keeps growing without limit.

Results of exactly ±1. The secant equals ±1 only when \(\cos(\theta) = \pm 1\), which happens when the angle is a multiple of 180°. The value is +1 at 0°, 360°, 720°, … and −1 at 180°, 540°, ….

Floating-point rounding at asymptotes. Mathematically, sec(90°) is undefined. Computers store π only approximately, though. When 90° is converted to radians and its cosine is calculated in standard double-precision arithmetic, the result is a tiny non-zero number (about \(6.12 \times 10^{-17}\)) rather than exactly 0. Dividing 1 by that gives a huge finite number, about \(1.63 \times 10^{16}\), instead of an error. The same thing happens at 270° and at other odd multiples of 90°. If you see a result of this size at one of these angles, read it as "undefined" and not as a real value.

Periodicity. The secant repeats every 360°, so \(\sec(\theta) = \sec(\theta + 360^\circ)\). It is also an even function, so \(\sec(-\theta) = \sec(\theta)\). For example, 420° and −60° give the same result as 60°, which is 2.

Frequently Asked Questions

Why does the calculator show an extremely large or undefined-looking result at 90°? Because cos(90°) = 0, and dividing 1 by 0 is mathematically undefined. Secant has vertical asymptotes at 90°, 270°, and every 180° from there, so values near those angles shoot toward infinity.

Can I enter negative angles or values over 360°? Yes. The cosine function is periodic and defined for all real angles, so negative and large inputs work fine — for instance, sec(-60°) also equals 2, since cosine is an even function.

What's the difference between secant and cosine? Secant is simply the reciprocal of cosine: \(\sec(\theta) = 1/\cos(\theta)\). When cosine is small, secant is large, and vice versa. The minimum absolute value of secant is 1, occurring where cosine equals ±1 (at 0°, 180°, etc.).

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators