Trigonometry Calculator
Enter an angle in degrees or radians to compute all six trigonometric functions (sin, cos, tan, csc, sec, cot). Or enter a value to find its inverse trig function.
Trigonometry studies the relationships between angles and side lengths in triangles. The six trig functions — sine (sin), cosine (cos), tangent (tan), and their reciprocals cosecant (csc), secant (sec), cotangent (cot) — are foundational to mathematics, physics, engineering, computer graphics, and any field involving angles or periodic phenomena.
For a right triangle: - **sin(θ) = opposite / hypotenuse** - **cos(θ) = adjacent / hypotenuse** - **tan(θ) = opposite / adjacent = sin/cos** - **csc(θ) = 1/sin(θ)** - **sec(θ) = 1/cos(θ)** - **cot(θ) = 1/tan(θ)**
These ratios depend only on the angle (not the triangle's size) — a fundamental property used throughout science and engineering.
The unit circle extends trig functions to any angle (not just acute). For a unit circle (radius 1), a point at angle θ has coordinates (cos θ, sin θ). This generalizes trig functions to negative angles, angles > 90°, and even angles > 360°.
Inverse trig functions go the other way: given a ratio, find the angle. arcsin(0.5) = 30° (because sin(30°) = 0.5). arctan(1) = 45°. These are essential for solving for unknown angles in any triangle or trig equation.
Common applications: triangle solving (engineering, navigation), wave analysis (physics, audio, signals), computer graphics (rotations, transformations), astronomy (positional astronomy), surveying, architecture (roof angles, structural analysis), and any context involving angles or oscillations.
Inputs
Results
sin
0.70710678
cos
0.70710678
tan
1
csc
1.41421356
sec
1.41421356
cot
1
Formula
How to use this calculator
- Choose forward (angle to trig values) or inverse (value to angle).
- Enter angle in degrees or radians (forward mode).
- Or enter value (inverse mode) — calculator returns angle.
- Select angle unit.
- Calculator returns all six trig functions or inverse value.
- Note: tan, cot undefined at specific angles (90°, 270°, etc.).
Worked examples
Standard 45° angle
**Scenario:** sin, cos, tan of 45°. **Calculation:** sin(45°) = √2/2 ≈ 0.7071. cos(45°) = √2/2 ≈ 0.7071. tan(45°) = sin/cos = 1. **Result:** All match memorized special values. 45° is the "isosceles right angle" — equal opposite and adjacent sides. sin² + cos² = 0.5 + 0.5 = 1 ✓.
Finding tree height
**Scenario:** Standing 50 m from a tree, the top makes 35° angle. Tree height? **Calculation:** tan(35°) = height / 50. height = 50 × tan(35°) ≈ 50 × 0.7002 = 35.01 m. **Result:** Tree is ~35 m tall. Add observer's eye height for total. Classic application of tangent for indirect measurement. Used in surveying, forestry, archaeology.
Inverse trig
**Scenario:** A 5-12-13 right triangle. Find the smallest angle. **Calculation:** Smallest angle opposite shortest side (5). tan(angle) = 5/12 = 0.4167. angle = arctan(0.4167) ≈ 22.62°. **Result:** Smallest angle ≈ 22.62°. Verify: angles sum 22.62 + 67.38 + 90 = 180° ✓. Using arctan(opp/adj) for right triangle angle calculation.
When to use this calculator
**Use trig calculator for:**
- **Right triangle calculations**: find sides or angles. - **Indirect measurement**: tree heights, building heights. - **Navigation**: bearings, distances. - **Engineering**: structural angles. - **Physics**: waves, oscillations, projectiles. - **Architecture**: roof angles, structural elements. - **Surveying**: triangulation. - **Computer graphics**: rotations. - **Trigonometry homework**.
**For right triangles:**
Use SOHCAHTOA: - **SOH**: Sin = Opposite/Hypotenuse. - **CAH**: Cos = Adjacent/Hypotenuse. - **TOA**: Tan = Opposite/Adjacent.
Memory aid for right triangle ratios.
**For non-right triangles:**
Use Law of Sines or Law of Cosines instead.
**For wave/oscillation analysis:**
sin and cos functions model periodic phenomena: - Position oscillating in time. - Voltage in AC circuits. - Sound waves. - Light waves. - Vibrations.
**Common applications:**
- **Construction**: angle calculations for cuts. - **Civil engineering**: structural angles, surveying. - **Mechanical engineering**: rotating machinery, kinematics. - **Electrical engineering**: AC analysis, signal processing. - **Computer graphics**: 3D rotations. - **Game development**: trajectories, character movement. - **Astronomy**: positions, distances. - **Aviation**: navigation, flight planning. - **Architecture**: angled walls, roof pitches.
**Memorize special angles:**
| Angle (°) | sin | cos | tan | |---|---|---|---| | 0 | 0 | 1 | 0 | | 30 | 1/2 | √3/2 | 1/√3 | | 45 | √2/2 | √2/2 | 1 | | 60 | √3/2 | 1/2 | √3 | | 90 | 1 | 0 | undef |
These appear repeatedly; memorize for speed.
**Degree-radian conversion:**
Most calculators have mode toggle. Programming uses radians.
Common conversions: - 30° = π/6 ≈ 0.524 rad. - 45° = π/4 ≈ 0.785 rad. - 60° = π/3 ≈ 1.047 rad. - 90° = π/2 ≈ 1.571 rad. - 180° = π ≈ 3.14159 rad. - 360° = 2π ≈ 6.283 rad.
**Identities for problem-solving:**
Most important: - **Pythagorean**: sin²θ + cos²θ = 1. - **Quotient**: tan θ = sin θ / cos θ. - **Reciprocal**: csc = 1/sin, sec = 1/cos, cot = 1/tan.
Sum/difference, double angle: more advanced, but essential for trig manipulation.
**Software:**
- **Scientific calculator**: any will do. - **Python (math)**: built-in functions. - **Excel**: SIN, COS, TAN with RADIANS for degrees. - **MATLAB**: sind, cosd, tand for degrees; sin, cos, tan for radians. - **Wolfram Alpha**: comprehensive.
**Pitfalls:**
- **Mode (degree/radian) confusion**: most common error. - **Inverse trig range**: arctan returns only (-90°, 90°); may need adjustment. - **Quadrant ambiguity**: sin(30°) = sin(150°); only one is principal. - **Undefined values**: tan, sec at multiples of 90°. - **For complex angles**: use coordinate or vector methods. - **Trig identities**: memorize key ones, derive others.
**Pythagorean identity power:**
sin²θ + cos²θ = 1 is the foundation of countless derivations: - Half-angle formulas. - Double-angle formulas. - Power-reduction formulas. - Sum-to-product, product-to-sum.
Memorize, recognize, apply.
**Educational notes:**
Trigonometry foundational for: - Pre-calculus and calculus. - Physics (waves, oscillations). - Engineering (across disciplines). - Computer science (graphics, signal processing). - Astronomy and earth sciences.
Mastery essential for STEM.
**Pitfalls (continued):**
- **For arcsin, arccos**: be careful about returns being in degrees or radians. - **For tan near 90°**: very large values; precision issues. - **For very small angles**: sin θ ≈ θ, cos θ ≈ 1. - **For complex trig equations**: factor, substitute identities. - **For computer graphics rotations**: matrix-based usually preferred.
Common mistakes to avoid
- Mixing degrees and radians (most common trig error).
- For inverse trig: forgetting quadrant ambiguity.
- Using tan or cot near 90° or 0° (undefined or near-undefined).
- Forgetting Pythagorean identity in derivations.
- For right triangle: confusing opposite, adjacent, hypotenuse.
- Calculator in wrong mode (degree vs radian).
- Mixing identities (e.g., sin(2x) ≠ 2sin(x)).
- For periodic problems: not considering all solutions.
Frequently Asked Questions
Sources & further reading
Related Calculators
Law of Cosines Calculator
Solve a triangle using the law of cosines for SSS (three sides) or SAS (two sides and included angle) cases.
Law of Sines Calculator
Solve a triangle using the law of sines for AAS (two angles + non-included side) or ASA (two angles + included side) cases.
Triangle Calculator
Calculate triangle area, perimeter, and angles from three side lengths using Heron's formula and the law of cosines.
Arc Length Calculator
Calculate the arc length of a circle from its radius and central angle in degrees or radians.