CalcMountain

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

Last updated:

Formula

**Six trig functions** (for angle θ in a right triangle): - sin(θ) = opposite / hypotenuse - cos(θ) = adjacent / hypotenuse - tan(θ) = opposite / adjacent = sin / cos - csc(θ) = 1 / sin(θ) - sec(θ) = 1 / cos(θ) - cot(θ) = 1 / tan(θ) = cos / sin **Inverse functions:** - arcsin(y) = θ such that sin(θ) = y. Range: [-90°, 90°]. - arccos(y) = θ such that cos(θ) = y. Range: [0°, 180°]. - arctan(y) = θ such that tan(θ) = y. Range: [-90°, 90°]. **Common angles and values:** | Angle (°) | Angle (rad) | sin | cos | tan | |---|---|---|---|---| | 0 | 0 | 0 | 1 | 0 | | 30 | π/6 | 1/2 | √3/2 | 1/√3 | | 45 | π/4 | √2/2 | √2/2 | 1 | | 60 | π/3 | √3/2 | 1/2 | √3 | | 90 | π/2 | 1 | 0 | undefined | | 180 | π | 0 | -1 | 0 | | 270 | 3π/2 | -1 | 0 | undefined | | 360 | 2π | 0 | 1 | 0 | **Pythagorean identity:** sin²(θ) + cos²(θ) = 1 For any angle. Derived from Pythagorean theorem on unit circle. **Worked example:** For θ = 30°: sin(30°) = 0.5 cos(30°) = √3/2 ≈ 0.866 tan(30°) = sin/cos = 0.5 / 0.866 ≈ 0.577 Verify: sin² + cos² = 0.25 + 0.75 = 1 ✓. **Worked example: inverse** arcsin(0.5) = 30°. arccos(0.5) = 60°. arctan(1) = 45°. **Degrees vs radians:** Convert: - Radians to degrees: × 180/π. - Degrees to radians: × π/180. | Degrees | Radians | |---|---| | 30 | π/6 | | 45 | π/4 | | 60 | π/3 | | 90 | π/2 | | 180 | π | | 360 | 2π | Most programming languages use radians; calculators have degree/radian mode toggle. **Trig identities:** | Identity | Statement | |---|---| | Pythagorean | sin²θ + cos²θ = 1 | | Reciprocal | csc = 1/sin, sec = 1/cos, cot = 1/tan | | Quotient | tan = sin/cos, cot = cos/sin | | Even/Odd | sin(-θ) = -sin(θ); cos(-θ) = cos(θ); tan(-θ) = -tan(θ) | | Periodicity | sin/cos: period 2π; tan: period π | | Sum formulas | sin(A+B) = sin A cos B + cos A sin B | | Difference | sin(A-B) = sin A cos B - cos A sin B | | Cosine sum | cos(A+B) = cos A cos B - sin A sin B | | Double angle | sin(2θ) = 2 sin θ cos θ | | | cos(2θ) = cos²θ - sin²θ | **Unit circle:** Circle of radius 1 centered at origin. For angle θ (measured from positive x-axis): Point on circle: (cos θ, sin θ). This visualizes trig functions for any angle. **Quadrants:** | Quadrant | Angle range | sin | cos | tan | |---|---|---|---|---| | I | 0-90° | + | + | + | | II | 90-180° | + | - | - | | III | 180-270° | - | - | + | | IV | 270-360° | - | + | - | Mnemonic: "All Students Take Calculus" (all positive in I; sin in II; tan in III; cos in IV). **Right triangle ratios:** For right triangle with hypotenuse 1: - sin(angle) = opposite leg - cos(angle) = adjacent leg For non-unit hypotenuse: - sin × hypotenuse = opposite leg - cos × hypotenuse = adjacent leg - tan = opposite/adjacent **Solving triangles:** For right triangle, given one acute angle θ and hypotenuse h: - Opposite leg = h × sin(θ). - Adjacent leg = h × cos(θ). For right triangle, given two legs: - tan(angle) = opposite / adjacent. - angle = arctan(opposite/adjacent). **Worked example: surveying** Surveyor measures angle 30° to top of tree from 50 m away. Tree height? tan(30°) = height / 50. height = 50 × tan(30°) ≈ 50 × 0.577 ≈ 28.87 m. **Worked example: navigation** Ship sails 100 km at heading 40° from north. North/east distance? East = 100 × sin(40°) ≈ 100 × 0.643 = 64.3 km. North = 100 × cos(40°) ≈ 100 × 0.766 = 76.6 km. **Periodic functions:** sin and cos are periodic with period 2π (360°): sin(θ + 360°) = sin(θ). cos(θ + 360°) = cos(θ). tan has period π (180°): tan(θ + 180°) = tan(θ). This periodicity makes them fundamental for modeling waves, oscillations, rotations. **Common applications:** - **Navigation**: bearings, GPS, dead reckoning. - **Surveying**: indirect measurement. - **Astronomy**: positional astronomy, parallax. - **Architecture**: roof angles, structural design. - **Engineering**: rotational analysis, mechanical design. - **Physics**: waves, oscillations, projectile motion. - **Computer graphics**: rotations, transformations. - **Audio**: signal processing, Fourier analysis. - **AC electricity**: voltage and current oscillate sinusoidally. - **Music**: frequencies, intervals as ratios. **Trigonometry in physics:** - **Projectile motion**: x = v₀cos(θ)t, y = v₀sin(θ)t - (1/2)gt². - **Simple harmonic motion**: x(t) = A cos(ωt + φ). - **AC voltage**: V(t) = V_peak × sin(2πft + φ). - **Wave equations**: y(x,t) = A sin(kx - ωt). Trigonometry essential for understanding nearly all wave/oscillation phenomena. **Common identities to know:** sin(x + y) = sin x cos y + cos x sin y. cos(x + y) = cos x cos y - sin x sin y. tan(x + y) = (tan x + tan y) / (1 - tan x tan y). Double angle: sin(2x) = 2 sin x cos x. cos(2x) = cos²x - sin²x = 1 - 2sin²x = 2cos²x - 1. Half angle: sin²(x/2) = (1 - cos x) / 2. cos²(x/2) = (1 + cos x) / 2. **Inverse trig ranges:** - arcsin: [-π/2, π/2] or [-90°, 90°]. - arccos: [0, π] or [0°, 180°]. - arctan: (-π/2, π/2) or (-90°, 90°). Calculator gives principal value; for full solution, add periods. **Software:** - **Calculators**: sin, cos, tan buttons (check degree/radian mode). - **Python (math)**: math.sin, math.cos, math.tan (radians). - **JavaScript**: Math.sin, Math.cos, Math.tan (radians). - **Excel**: =SIN(RADIANS(angle)) to use degrees. - **Wolfram Alpha**: handles all forms. **Programming radians vs degrees:** Most programming languages use radians. Convert: - Degrees: math.degrees(rad) or rad × 180/math.pi. - Radians: math.radians(deg) or deg × math.pi/180. Be careful: forgetting conversion is common bug. **Common applications:** - **Architecture**: roof slope, structural angles. - **Engineering**: rotational machinery, optics. - **Surveying**: triangulation, elevation. - **Navigation**: GPS, marine, aviation. - **Astronomy**: orbital calculations. - **Photography**: field of view. - **Sports analytics**: trajectory analysis. - **Manufacturing**: angled cuts, gear design. **Pitfalls:** - **Degree vs radian confusion**: most programming uses radians. - **Quadrant for inverse**: arctan gives only one of two possible angles. - **Undefined values**: tan(90°), tan(270°), etc. - **Wrong identity**: many trig identities; memorize key ones. - **Sign in quadrant**: trig signs depend on quadrant. - **Periodic ambiguity**: sin(30°) = sin(150°), etc. **Educational notes:** Trigonometry taught in: - 8th-9th grade: introduction with right triangles. - High school trigonometry: unit circle, identities, equations. - Pre-calculus: graphs, transformations. - Calculus: derivatives, integrals of trig functions. - Physics: applications. - Engineering: throughout. Foundation for advanced math and physical sciences. **Pitfalls (continued):** - **For very small angles**: sin θ ≈ θ (radians), useful approximation. - **For 90° complements**: sin and cos swap. - **For special angles**: memorize exact values. - **For calculators**: ensure mode (degree/radian) matches problem.

How to use this calculator

  1. Choose forward (angle to trig values) or inverse (value to angle).
  2. Enter angle in degrees or radians (forward mode).
  3. Or enter value (inverse mode) — calculator returns angle.
  4. Select angle unit.
  5. Calculator returns all six trig functions or inverse value.
  6. 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

SponsoredShop Top Deals on AmazonSupport CalcMountain — browse top-rated products at no extra cost to you.

Related Calculators