Secant (sec) Calculator | Calculate sec(x) Online


Secant (sec) Calculator

Your essential tool for finding the secant of any angle, whether you have a sec on a calculator or not.



Enter the angle value. The calculation will update automatically.


Choose whether your input angle is in degrees or radians.
sec(x) = 1.4142

Intermediate Values:

Angle in Radians: 0.7854 rad

Cosine of Angle (cos(x)): 0.7071

Formula Used: sec(x) = 1 / cos(x)


Graph of Secant Function

Dynamic graph showing the secant function curve based on the current input. Asymptotes are shown as red dashed lines.

What is the Secant (sec) Function?

The secant function, abbreviated as sec, is one of the six main trigonometric functions. It is defined as the reciprocal of the cosine function. [1] In a right-angled triangle, the secant of an angle is the ratio of the length of the hypotenuse to the length of the adjacent side. [8] The primary reason you need a special tool or method for the sec on a calculator is that most scientific and graphing calculators do not have a dedicated ‘sec’ button. [12] Instead, you must use the reciprocal identity, sec(x) = 1 / cos(x). [4]

This calculator simplifies that process, allowing you to find the secant of any angle instantly, which is particularly useful for students, engineers, and scientists who frequently work with trigonometric relationships. For a deeper dive into related functions, see our Sine Wave Calculator.

Secant Formula and Explanation

The fundamental formula to calculate the secant of an angle ‘x’ is elegantly simple:

sec(x) = 1 / cos(x)

This formula highlights that the secant is undefined whenever the cosine of the angle is zero. This occurs at angles like 90° (π/2 radians), 270° (3π/2 radians), and so on. At these points, the function has vertical asymptotes. [2]

Variables used in the secant calculation.
Variable Meaning Unit Typical Range
x The input angle Degrees or Radians -∞ to +∞
cos(x) The cosine of the angle x Unitless Ratio -1 to 1
sec(x) The secant of the angle x Unitless Ratio (-∞, -1] U [1, +∞)

Practical Examples

Understanding with examples makes the concept clearer. Here are a couple of scenarios.

Example 1: Secant of 60 Degrees

  • Inputs: Angle = 60, Unit = Degrees
  • Calculation:
    1. First, find the cosine of 60°: cos(60°) = 0.5
    2. Then, apply the secant formula: sec(60°) = 1 / 0.5 = 2
  • Result: The secant of 60 degrees is 2.

Example 2: Secant of π/4 Radians

  • Inputs: Angle = π/4 (approx 0.7854), Unit = Radians
  • Calculation:
    1. First, find the cosine of π/4 radians: cos(π/4) ≈ 0.7071
    2. Then, apply the secant formula: sec(π/4) = 1 / 0.7071 ≈ 1.4142
  • Result: The secant of π/4 radians is approximately 1.4142 (which is the square root of 2).

To perform similar inverse calculations, our Arcsin Calculator may be useful.

How to Use This Secant Calculator

Using this calculator is straightforward and efficient. Here’s a step-by-step guide:

  1. Enter the Angle: Type the angle for which you want to find the secant into the “Angle (x)” input field.
  2. Select the Unit: Use the dropdown menu to choose whether your angle is in “Degrees (°)” or “Radians (rad)”. This is a critical step for an accurate sec on a calculator computation. [10]
  3. Review the Results: The calculator instantly updates. The main result, sec(x), is displayed prominently. You can also see intermediate values like the angle in radians and the corresponding cosine value.
  4. Interpret the Graph: The dynamic chart visualizes the secant function, showing the U-shaped curves and the vertical asymptotes, providing a graphical understanding of the function’s behavior. [11]

Key Factors That Affect the Secant Value

Several factors influence the final value of the secant function:

  • The Angle’s Value: This is the most direct factor. Different angles produce different secant values.
  • Unit of Measurement: A value of 45 in degrees is different from 45 in radians. Always ensure you select the correct unit.
  • Proximity to Asymptotes: As an angle approaches 90° or 270° (and their multiples), the cosine value approaches zero, causing the secant value to approach positive or negative infinity.
  • The Quadrant of the Angle: The secant is positive in the first and fourth quadrants (where cosine is positive) and negative in the second and third quadrants (where cosine is negative). [1]
  • Periodicity: The secant function is periodic with a period of 360° or 2π radians. This means sec(x) = sec(x + 360°). [6]
  • Reciprocal Relationship: The value is entirely dependent on the cosine. Any factor that changes the cosine will inversely affect the secant. For another reciprocal function, check out our Cosecant Calculator.

Frequently Asked Questions (FAQ)

1. How do you find the sec on a calculator without a ‘sec’ button?

You use the reciprocal identity sec(x) = 1 / cos(x). First, make sure your calculator is in the correct mode (degrees or radians). Then, calculate the cosine of your angle and use the reciprocal key (often labeled x⁻¹ or 1/x) to find the secant. [5]

2. What is the secant of 90 degrees?

The secant of 90 degrees is undefined. This is because cos(90°) = 0, and division by zero is not possible. On the graph, this corresponds to a vertical asymptote. [2]

3. Can the secant of an angle be less than 1?

No, the absolute value of secant is always greater than or equal to 1. The range of the secant function is (-∞, -1] U [1, ∞). It can be -1, -2, 1, 5, etc., but never a value like 0.5 or -0.5. [6]

4. Is secant the same as arccosine (cos⁻¹)?

No, they are very different. Secant (sec) is a reciprocal function (1/cos). Arccosine (cos⁻¹) is an inverse function, which is used to find an angle when you know its cosine value.

5. Why is the secant function important?

The secant function appears in various fields, including physics for analyzing oscillations and waves, engineering for structural analysis, and calculus for simplifying certain integrals and derivatives. [8]

6. How do you handle unit conversions?

This calculator handles it for you. If you input an angle in degrees, it first converts it to radians using the formula: Radians = Degrees × (π / 180), because JavaScript’s built-in `Math.cos()` function requires radians.

7. What does the secant graph look like?

The graph consists of a series of U-shaped curves, opening upwards and downwards. The local minimums are at 1 and the local maximums are at -1. It has vertical asymptotes wherever the cosine graph crosses the x-axis. [9]

8. Why do some calculators omit the sec, csc, and cot buttons?

Manufacturers often omit these buttons to save space, assuming users can easily calculate them using the reciprocal identities with the sin, cos, and tan buttons, which are more fundamental. [12] Explore the tangent’s inverse with our Arctan Calculator.

Related Tools and Internal Resources

Expand your understanding of trigonometry with our suite of specialized calculators.

© 2026 Your Website. All rights reserved. For educational purposes.



Leave a Reply

Your email address will not be published. Required fields are marked *