Skip to content
CalculatorAtlas

Secant Calculator

Tested

sec of an angle in degrees or radians.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

The secant is the reciprocal trigonometric ratio sec(θ) = 1 ÷ cos θ. sec(60°) = 2.

Enter an angle and choose degrees or radians. The calculator returns sec(θ).

Related tools: Trigonometry Calculator: All six trigonometric functions of an angle. SOHCAHTOA Calculator: Find the other two sides of a right triangle from one side and an acute angle. Reference Angle Calculator: Acute angle between the terminal side and the x-axis.

How to use the Secant Calculator

  1. Enter angle.
  2. Choose unit: Degrees and Radians.
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Secant Calculator
InputWhat to enterAllowed values
AngleA number—
UnitChoose one: Degrees; RadiansStarts at Degrees

Formula and method

Formula

sec(θ)

IEEE-754 double precision; shown to at most 6 decimal places.

Angle is converted to radians and evaluated with IEEE-754 math functions. Values where the function is undefined are rejected.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Angle = 60; Unit = Degrees.

Results of example 1
ResultValue
sec(60°)2

Example 2

Inputs: Angle = 0; Unit = Degrees.

Results of example 2
ResultValue
sec(0°)1

The first line is the headline result (sec(60°)). IEEE-754 double precision; shown to at most 6 decimal places.

Relationship to the basic ratios

sec(θ) is the reciprocal of cos θ, so it is large wherever cos θ is close to zero. In a right triangle it equals the hypotenuse divided by the adjacent side.

Where it is undefined

sec(θ) is undefined at 90° and 270° (where cos θ = 0), and the calculator reports this instead of returning a huge number. Values of sec θ are never between −1 and 1; they are ≥ 1 or ≤ −1.

Worked example

For θ = 60°, 1 ÷ cos θ gives 2. Checking with the basic ratios confirms the reciprocal relationship, and the result matches the value from the Trigonometry Calculator.

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Angle: entering "90" shows "sec is undefined at this angle." beside that field and no result.

Choosing between the Secant Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Secant Calculator and similar calculators
CalculatorYou enterIt returns
[Trigonometry Calculator](/math/trigonometry-calculator/)angle and unitsin
[SOHCAHTOA Calculator](/math/sohcahtoa-calculator/)acute angle, known side length and known side is theOpposite
[Reference Angle Calculator](/math/reference-angle/)angleReference angle
[Inverse Sine Calculator](/math/inverse-sine/)valuearcsin(0.5)
[Coterminal Angle Calculator](/math/coterminal-angle/)angleSmallest non-negative coterminal angle

Background: trigonometry

In a right triangle, sin θ is the opposite side over the hypotenuse, cos θ the adjacent side over the hypotenuse and tan θ the opposite over the adjacent. Their reciprocals are cosecant, secant and cotangent. At 30° the values are sin = 0.5, cos = 0.866025 and tan = 0.577350.

Check the angle unit before you calculate: degrees convert to radians by multiplying by π/180, so 30° is about 0.5236 rad. Some values are undefined, for example tan 90°, because the cosine is zero there and the ratio would divide by zero.

Assumptions and limitations

  • Undefined at some angles (for example tan 90°)
  • Angles may be negative or larger than 360°

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for angle to confirm this.

Frequently asked questions

What is sec(60°) exactly?

2, found from the reciprocal rule: 1 ÷ cos θ at 60°.

How is sec related to cos θ?

They are reciprocals, so sec(θ) × cos θ = 1.

Do I need degrees or radians?

Either: choose the unit next to the angle; the same angle gives the same ratio in both.

Can the angle be negative or large?

Yes. Angles repeat every 360°, so 420° gives the same result as 60°.

What does the Secant Calculator calculate?

sec of an angle in degrees or radians. It returns sec(60°).

What formula does the Secant Calculator use?

sec(θ). Angle is converted to radians and evaluated with IEEE-754 math functions.

What does the “Unit” option change?

It sets how the secant is worked out. The choices are Degrees and Radians.

What is an example of a secant result?

With angle 60 and unit Degrees, the sec(60°) is 2.

Sources

  • Standard trigonometric definitions on the unit circle (NIST DLMF §4.14)

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.