📐 Sec Calculator — Secant of an Angle (Degrees or Radians)

Enter any angle and instantly get its secant — sec(θ) = 1/cos(θ) — plus the reciprocal cosine value, with clear "Undefined" results at every asymptote.

📐 Secant Calculator
Result
sec(θ)
cos(θ) (reciprocal)
📐

Enter an angle and choose degrees or radians

Guide

About the Sec Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This sec calculator (short for secant calculator) finds the secant of any angle you enter, in either degrees or radians, and returns the result instantly. Secant is defined as sec(θ) = 1/cos(θ) — the reciprocal of cosine — and while it appears less often in introductory coursework than sine, cosine, or tangent, knowing how to find secant of 60 degrees or any other angle is a common step in precalculus, physics, and engineering problems. This tool displays the reciprocal cosine value alongside sec(θ) so the relationship is immediately visible, and it explicitly flags "Undefined" at 90°, 270°, and every other angle where cosine equals zero, instead of returning a misleading Infinity or error.

What This Calculator Measures

Given one angle, this calculator converts it to radians (if you entered degrees), computes cos(θ), and takes its reciprocal to get sec(θ). It also reports cos(θ) directly for reference, since secant and cosine are reciprocals of each other everywhere cosine is nonzero.

Who Should Use This Calculator

Precalculus and trigonometry students working through reciprocal-function problems, physics and engineering students computing atmospheric or optical path lengths, surveying and construction students converting horizontal to slope distances, and anyone verifying a hand calculation of 1/cos(θ) will find this tool faster and less error-prone than working the reciprocal out by hand.

Why Secant Matters

Secant is one of the three "reciprocal" trig functions (alongside cosecant and cotangent) that round out the full set of six trigonometric ratios. Although less common day-to-day than cosine itself, secant appears in specific, well-established formulas — from the Mercator map projection to airmass calculations in atmospheric optics — where expressing a relationship as 1/cos (rather than cos) is the standard, historically established convention.

Real-World Applications

Cartographers use secant directly in the Mercator projection formula that maps the curved Earth onto a flat map. Astronomers and atmospheric scientists use sec(zenith angle) to estimate airmass — how much atmosphere sunlight or starlight passes through. Builders use secant to calculate rafter lengths from a roof's horizontal run and pitch angle. Surveyors convert a horizontal distance into a slope distance using secant, and physics students use it in inclined-plane and projectile-range problems.

Tips for Accurate Results

  • Double-check whether your angle is in degrees or radians before calculating — mixing the two units gives a completely different (and wrong) result.
  • Remember secant is undefined at 90°, 270°, and every angle 90° + 180°n — a result of "Undefined" there is mathematically correct, not a calculator error.
  • Use the reciprocal cos(θ) value shown alongside sec(θ) as a quick sanity check: multiplying the two together should give 1 whenever both are defined.
Formula

The Secant Formula, Explained

How sec(θ) is derived from cosine, and its reciprocal relationship

Secant from Cosine
sec(θ) = 1 ÷ cos(θ)

Reciprocal Relationship with Cosine
cos(θ) = 1 ÷ sec(θ)  (valid wherever cos(θ) is nonzero)

Where the Calculator Flags "Undefined"
If |cos(θ)| is essentially zero (θ = 90°, 270°, ... or π/2, 3π/2, ... radians), sec(θ) is undefined.

Where:
θ = the angle, entered in degrees or radians.
cos(θ) = the cosine of that angle on the unit circle.
sec(θ) = secant — the ratio of the hypotenuse to the adjacent side in a right triangle.
🔄

Reciprocal of Cosine

Secant and cosine are reciprocals: sec(θ) = 1/cos(θ), so wherever cosine is zero, secant is undefined.

📏

Range Never Between -1 and 1

Because cosine is bounded between -1 and 1, its reciprocal secant can never fall strictly inside that range.

🔁

360° Period

Secant repeats every 360° (2π radians) — the same period as cosine, since it's cosine's direct reciprocal.

⚙️ Why This Formula Works

On the unit circle, cos(θ) gives the horizontal coordinate of a point at angle θ. Secant simply inverts that value, representing "hypotenuse over adjacent" in a right-triangle view of the same angle. Because cosine passes through zero twice per 360° cycle, secant's asymptotes occur at exactly those two points each cycle.

🎯 When to Use This Calculator

  • Angle known, need the ratio: you have an angle and want 1/cos(θ) directly
  • Checking a reciprocal relationship: confirming that sec(θ) and cos(θ) multiply to 1
  • Working near an asymptote: confirming whether a specific angle gives an undefined result

📋 Assumptions

  • The angle entered is a real number, in the unit you selected (degrees or radians)
  • Standard unit-circle sign conventions are used for all four quadrants
  • Results are rounded to a fixed number of decimal places for display

⚠️ Limitations of the Formula

  • Secant is undefined at 90°, 270°, and every other angle of the form 90° + 180°n
  • Near (but not exactly at) an asymptote, secant grows extremely large — small input errors cause large output swings
  • This calculator handles real-valued angles only, not complex-number trigonometry
Walkthrough

Step-by-Step: How to Use the Sec Calculator

From entering an angle to reading the secant result

Enter the angle value

Type your angle into the numeric input field, for example 60.

Choose degrees or radians

Select the correct unit using the toggle so the conversion is accurate.

Click "Calculate"

The calculator converts to radians (if needed) and computes cos(θ).

Check for "Undefined"

At 90°, 270°, and so on, secant has no value; the calculator flags this instead of showing an error.

Read sec(θ) and its reciprocal cos(θ)

Both values are displayed together in the results panel for quick reference.

Example

Worked Example

Finding the secant of a 60° angle

Scenario

A student needs sec(60°) for a homework problem and wants to verify the calculator's result by hand.

Angle60°
UnitDegrees
In Radians≈ 1.047198
Step 1 — Convert to radians: 60° × (π/180) = 1.047198 rad.
Step 2 — Compute cosine: cos(1.047198) = 0.5.
Step 3 — Check for undefined: |cos(θ)| = 0.5, which is not near zero, so secant is defined.
Step 4 — Compute secant: sec(60°) = 1 ÷ cos(θ) = 1 ÷ 0.5 = 2.
Step 5 — State the reciprocal cosine: cos(60°) = 0.5, shown for reference.
sec(60°)
2
cos(60°)
0.5

Explanation: 60° is one of the standard reference angles where cosine takes a clean value (0.5), making its reciprocal secant equally clean (2). This makes it a convenient angle for verifying the reciprocal relationship sec(θ) × cos(θ) = 1.

Interpretation

Understanding Your Secant Result

Domain, range, and period of secant compared with its reciprocal cosine

FunctionDomainRangePeriod
sec(θ)All reals except 90°, 270°, ... (90°+n180°)|y| ≥ 1, i.e. (-∞,-1] ∪ [1,∞)360° (2π rad)
cos(θ) (reciprocal)All real numbers-1 ≤ y ≤ 1360° (2π rad)

Reading the result: a numeric sec(θ) value tells you 1 divided by cos(θ) at that angle; an "Undefined" result means the angle falls on one of secant's vertical asymptotes, where cosine is zero.

Typical ranges: sec(θ) never falls strictly between -1 and 1 — it jumps straight from ≥1 to ≤-1 as cosine crosses zero, and grows very large in magnitude near an asymptote.

Manual verification: compute cos(θ) yourself (a scientific calculator or unit circle table works), take its reciprocal, and confirm it matches the displayed sec(θ) — then multiply your result by the displayed cos(θ) and confirm you get 1.

Use Cases

Practical Use Cases for the Sec Calculator

Where secant genuinely shows up outside the classroom

🗺️

Mercator map projection

The projection's vertical scale factor is built directly from sec(latitude).

🔭

Airmass in atmospheric optics

Astronomers estimate atmospheric path length using sec(zenith angle).

🏠

Roof rafter length

Builders find rafter length as horizontal run × sec(roof pitch angle).

📐

Surveying slope distance

Convert a horizontal distance to a slope distance using secant of the elevation angle.

✈️

Aviation slant range

Estimate slant range from altitude and elevation angle using secant.

🎯

Physics incline & projectile problems

Range and force formulas on inclined planes often include a sec² term.

📡

Satellite & telecom path loss

Signal path length through the atmosphere scales with secant of the elevation angle.

🏗️

Structural truss diagonal length

Compute a diagonal member's length from its horizontal span and angle.

🔬

Lens & optics design

Angle-of-view and off-axis calculations in optical systems use secant terms.

🧱

Materials science — secant modulus

The secant modulus of a stress-strain curve borrows the same reciprocal-cosine naming convention.

🧭

Navigation & great-circle approximations

Some distance-correction formulas on curved surfaces use secant terms.

🎓

Trigonometry & precalculus homework

Check reciprocal-function and unit-circle problems that call for secant specifically.

🧮

Cross-checking cosine tables

Verify a cosine table or calculator result using the reciprocal relationship.

Pros & Cons

Advantages and Limitations

What this sec calculator does well, and where it doesn't apply

✅ Advantages

  • Free, instant, and requires no signup or account
  • Runs entirely in your browser — no data ever leaves your device
  • Accepts angles in either degrees or radians
  • Computes sec(θ) directly as 1/cos(θ) with a clear undefined-value check
  • Shows the reciprocal cos(θ) value automatically for cross-checking
  • Explicitly labels asymptote points as "Undefined" instead of showing Infinity or NaN
  • Handles negative angles and angles beyond 360° or 2π correctly
  • Useful across cartography, astronomy, construction, surveying, and math coursework alike
  • Accepts decimal angle inputs for precise, real-world values
  • Fast-loading and fully mobile-friendly
  • Consistent, error-free results every time
  • Free to use as many times as needed, with no calculation limit

⚠️ Limitations

  • Cannot return a numeric result at 90°, 270°, or any other angle of the form 90°+180°n
  • Results near (but not exactly at) an asymptote can be extremely large and sensitive to small input changes
  • Does not solve triangles or accept side lengths directly — angle input only
  • Does not compute the inverse function (arcsecant) — use the Inverse Trig Calculator for that
  • Assumes the angle you enter is measured in standard mathematical convention (counterclockwise from the positive x-axis)
  • Displays decimal results rounded to a fixed number of places, which can hide tiny precision loss
  • Does not perform symbolic or exact-fraction (e.g. 2/√3) simplification
Reference

Secant vs Cosine at Common Angles

How sec(θ) and its reciprocal cos(θ) compare at the standard reference angles

Angle (θ)cos(θ)sec(θ)
11
30°√3/2 ≈ 0.86602/√3 ≈ 1.1547
45°√2/2 ≈ 0.7071√2 ≈ 1.4142
60°0.52
90°0Undefined

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Entering an angle in radians while the toggle is set to degrees (or vice versa), which silently gives a wrong result
  • Confusing secant with inverse cosine (arccos) — one returns a ratio, the other returns an angle
  • Expecting a numeric answer at 90° or 270° instead of recognizing these as legitimate asymptotes
  • Forgetting that secant can never fall strictly between -1 and 1, unlike cosine
  • Mixing up secant with the unrelated "secant line" concept from calculus, which is a different idea entirely
  • Rounding the intermediate cosine value too aggressively before inverting, introducing avoidable error

💡 Expert Tips & Best Practices

  • Use the reciprocal cos(θ) value shown alongside sec(θ) as a fast sanity check — the two should multiply to 1
  • When working near an asymptote, expect large swings in the result and treat rounded values with caution
  • Pair this tool with the Cosec Calculator when you need both reciprocal functions side by side
  • For finding an angle from a known secant value, use the Inverse Trig Calculator and choose Arcsec
  • Keep angle inputs precise to several decimal places when working close to an asymptote, since small input errors are amplified there
📝

Summary: This sec calculator gives you an instant, free way to find the secant of any angle in degrees or radians, along with its reciprocal cosine value and clear "Undefined" flags at every asymptote. Pair it with related tools like the Cot Calculator and Cosec Calculator to cover all three reciprocal trig functions.

FAQ

Frequently Asked Questions

Common questions about the secant function

What is the secant of an angle?
The secant of an angle is the reciprocal of its cosine: sec(θ) = 1/cos(θ). In a right triangle it equals the hypotenuse divided by the adjacent side. Secant is one of the three reciprocal trigonometric functions, alongside cosecant and cotangent.
What is the formula for secant?
sec(θ) = 1 ÷ cos(θ). This calculator converts your angle to radians if needed, computes cosine, then takes its reciprocal. If cos(θ) is extremely close to zero, the result is undefined rather than an enormous or infinite number.
How do you find sec(60°)?
cos(60°) = 0.5, so sec(60°) = 1 ÷ 0.5 = 2. This is a good reference value to memorize since 60° is one of the standard angles that produces a clean, exact secant result.
Why is sec(90°) undefined?
sec(θ) = 1/cos(θ), and cos(90°) = 0. Dividing by zero is undefined in mathematics, so sec(90°) has no defined value — secant has a vertical asymptote at 90°, and again at every angle of the form 90° + 180°n.
What is the relationship between secant and cosine?
Secant and cosine are reciprocals of each other: sec(θ) = 1/cos(θ) and cos(θ) = 1/sec(θ), as long as neither is zero. Cosine is always defined and bounded between -1 and 1, while secant is undefined exactly where cosine is zero.
What is the range of the secant function?
Secant's range is all real numbers with absolute value 1 or greater: (-∞, -1] ∪ [1, ∞). Because cosine is always between -1 and 1, its reciprocal can never fall strictly between -1 and 1.
What is the period of the secant function?
Secant repeats every 360° (2π radians), the same period as cosine, since sec(θ) is defined directly as the reciprocal of cos(θ) and inherits its periodicity exactly.
Is secant the same as 1/cos?
Yes, sec(θ) = 1/cos(θ) by definition. This calculator computes it exactly that way — taking the cosine of your angle and inverting it — while checking first whether cos(θ) is close enough to zero to make the result undefined.
How do I calculate secant in radians instead of degrees?
Select 'Radians' in the angle unit toggle before clicking Calculate. The calculator will then treat your entered number directly as a radian value rather than converting it from degrees first.
Where does secant become undefined?
Secant is undefined at 90°, 270°, and every other angle of the form 90° + 180°n (or π/2 + πn in radians), because cosine equals zero at those angles and sec(θ) = 1/cos(θ) would require dividing by zero.
What is sec(0°)?
sec(0°) = 1, because cos(0°) = 1 and 1 ÷ 1 = 1. This is the smallest possible positive secant value, since secant's range never falls between -1 and 1.
How is secant used in real life?
Secant appears in the Mercator map projection formula, in airmass calculations for atmospheric optics and astronomy (sec of the zenith angle), in rafter-length calculations for roof construction, and in surveying when converting a horizontal distance to a slope distance.
What is the difference between secant and inverse cosine (arccos)?
Secant (sec) is a trigonometric function that takes an angle and returns a ratio. Inverse cosine (arccos or cos⁻¹) does the opposite — it takes a ratio and returns an angle. They are not reciprocals of each other; use this calculator for sec(angle) and the Inverse Trig Calculator for arccos(ratio).
Can secant be negative?
Yes. Secant is negative whenever cosine is negative, which happens in the second and third quadrants (angles between 90°-180° and 180°-270°). For example, sec(180°) = 1/cos(180°) = 1/(-1) = -1.
How do I find the angle if I already know the secant value?
You need the inverse function, arcsecant (arcsec), not this calculator. Use the Inverse Trig Calculator, choose 'Arcsec', enter your known secant value (with absolute value 1 or greater), and it will return the corresponding angle in both degrees and radians.
Does this calculator handle negative angles or angles greater than 360°?
Yes. Because cosine is periodic and defined for any real input, you can enter negative angles or angles beyond 360° (or beyond 2π radians) and the calculator will still compute the correct secant value or correctly flag it as undefined.
Learn More

Authoritative Resources on Trigonometry

Trusted educational references to go deeper on secant and the trig functions

Related Calculators

Explore other trigonometry tools