Trigonometry Calculator — Free Sin Cos Tan Calculator with Unit Circle 2026 | AllInOneTools
📐 Free Calculator

Trigonometry Calculator

Calculate sin, cos, tan and all 6 trig functions for any angle. Interactive unit circle, quadrant analysis, Pythagorean identity, and step-by-step solutions.

Trigonometric Functions
Angle unit:
📐
INPUT
Angle θ
ANGLE
θ
sin=O/H|cos=A/H|tan=O/A|sin²+cos²=1
Trigonometric Result
--
Degrees
--
Radians
--
sin(θ)
--
cos(θ)
--
tan(θ)
--
Quadrant
--
Trigonometry Reference Table
AngleRadianssincostan
💡 Trig Insight

Trigonometry Calculator: Complete Guide to Sin, Cos, Tan, the Unit Circle, Identities, and Real-World Applications

Trigonometry is the branch of mathematics that studies relationships between the sides and angles of triangles. The six trigonometric functions — sine, cosine, tangent, cosecant, secant, and cotangent — are among the most important functions in all of mathematics, with applications spanning physics, engineering, computer graphics, music, architecture, astronomy, and navigation. This calculator computes all six functions for any angle, displays an interactive unit circle visualization, verifies the Pythagorean identity, and provides a comprehensive reference table.

SOHCAHTOA: The Foundation

In a right triangle, the three primary trig functions relate an acute angle to the ratios of two sides: SOH — Sine = Opposite / Hypotenuse, CAH — Cosine = Adjacent / Hypotenuse, TOA — Tangent = Opposite / Adjacent. For a 30-60-90 triangle with hypotenuse 2: the side opposite 30° is 1 and adjacent is √3, giving sin(30°) = 1/2, cos(30°) = √3/2, tan(30°) = 1/√3. These ratios remain constant regardless of triangle size, which is what makes trigonometry so powerful.

SOHCAHTOA:
sin(θ) = Opposite / Hypotenuse
cos(θ) = Adjacent / Hypotenuse
tan(θ) = Opposite / Adjacent

Reciprocals:
csc(θ) = 1/sin(θ) = H/O
sec(θ) = 1/cos(θ) = H/A
cot(θ) = 1/tan(θ) = A/O

Pythagorean Identity:
sin²(θ) + cos²(θ) = 1

The Unit Circle

The unit circle extends trigonometry beyond right triangles to all angles. It is a circle of radius 1 centered at the origin. For any angle θ measured counterclockwise from the positive x-axis, the point where the terminal ray intersects the circle has coordinates (cosθ, sinθ). This means cosθ is the horizontal projection and sinθ is the vertical projection of the radius. The tangent is the slope of the radius line: tanθ = sinθ/cosθ. Our interactive canvas displays the unit circle with color-coded projections: blue for cosine (horizontal), red for sine (vertical), green for tangent.

Key Angle Values

Every math student should memorize these special values: : sin=0, cos=1, tan=0. 30°: sin=1/2, cos=√3/2, tan=√3/3. 45°: sin=√2/2, cos=√2/2, tan=1. 60°: sin=√3/2, cos=1/2, tan=√3. 90°: sin=1, cos=0, tan=undefined (∞). Quadrant signs follow the pattern "All Students Take Calculus": All positive in Q1, only Sin in Q2, only Tan in Q3, only Cos in Q4. Understanding these patterns makes it possible to evaluate trig functions mentally for any standard angle.

Trigonometric Identities

The fundamental identity is sin²θ + cos²θ = 1, derived directly from the Pythagorean theorem on the unit circle. From this follow: 1 + tan²θ = sec²θ and 1 + cot²θ = csc²θ. Double angle: sin(2θ) = 2sinθcosθ, cos(2θ) = cos²θ − sin²θ. Sum formulas: sin(A+B) = sinAcosB + cosAsinB, cos(A+B) = cosAcosB − sinAsinB. Half angle: sin(θ/2) = ±√((1−cosθ)/2). Euler’s formula: e^(iθ) = cosθ + i·sinθ, connecting trigonometry to complex numbers and forming the basis of signal processing.

Applications in Physics and Engineering

Trigonometry is indispensable in physics: projectile motion uses sinθ and cosθ to decompose velocity into components. Simple harmonic motion (pendulums, springs) is described by x = A·sin(ωt + φ). Electromagnetic waves are sinusoidal: E = E₀sin(ωt − kx). AC electricity: voltage V = V₀sin(2πft). In structural engineering, force resolution on angled beams uses sin and cos. GPS navigation uses spherical trigonometry. Fourier analysis decomposes any periodic signal into sums of sine and cosine waves, enabling audio compression (MP3), image compression (JPEG), and signal processing.

Trigonometry in Computer Graphics

Every 2D and 3D graphics application relies on trigonometry. Rotation matrices use sin and cos: a point (x,y) rotated by θ becomes (x·cosθ − y·sinθ, x·sinθ + y·cosθ). Game physics engines compute trajectories, reflections, and lighting angles using trig functions continuously. 3D rendering: vertex shading, normal mapping, and camera projections all depend on trigonometric calculations. Audio synthesis generates waveforms using sin() functions. CSS and SVG transforms use rotation angles internally converted to sin/cos. Understanding trigonometry is a prerequisite for any career in graphics programming, game development, or visual effects.

Inverse Trigonometric Functions

Inverse functions find angles from ratios: arcsin (sin⁻¹), arccos (cos⁻¹), arctan (tan⁻¹). If sinθ = 0.5, then θ = arcsin(0.5) = 30°. Ranges: arcsin and arctan return [−90°, 90°], arccos returns [0°, 180°]. The two-argument function atan2(y, x) returns the correct angle in all four quadrants, making it essential in programming. In JavaScript: Math.atan2(y, x) returns radians from −π to π. These inverse functions are crucial for converting between Cartesian and polar coordinates.

Trigonometry in Music and Sound

Sound itself is fundamentally trigonometric. Pure musical tones are sine waves at specific frequencies: middle C is a sine wave at 261.63 Hz. Complex sounds (instruments, voices) are combinations of sine waves at different frequencies and amplitudes, described by Fourier series. Digital audio relies on sampling sine waves: CD quality samples 44,100 times per second. Audio equalizers, reverb effects, and noise cancellation all use trigonometric transformations. The Fast Fourier Transform (FFT), which converts time-domain signals to frequency-domain, is one of the most important algorithms in computing and is built entirely on sin and cos. Music theory itself uses the circle of fifths, a geometric arrangement of pitch classes related to trigonometric intervals.

Spherical Trigonometry and Navigation

On the surface of a sphere (like Earth), flat-plane trigonometry no longer applies. Spherical trigonometry uses modified formulas: the spherical law of cosines, cos(c) = cos(a)cos(b) + sin(a)sin(b)cos(C), relates sides and angles of spherical triangles. Great-circle distance between two GPS coordinates uses the Haversine formula, which combines sin² and cos functions to compute the shortest path on Earth’s surface. Aircraft navigation, satellite orbits, and astronomical coordinate systems all rely on spherical trig. Celestial navigation, used for millennia before GPS, computed position from star altitudes using trigonometric reductions — a practice still taught as backup navigation for ocean-going vessels.

How to Use This Calculator

Select degrees or radians, enter your angle, and click calculate. The unit circle canvas shows the angle with blue cosine projection, red sine projection, green tangent line, and a complete legend of all six function values. Three live output fields show sin, cos, tan as you type. The function cards display all six values with 8-decimal precision. The step-by-step section shows each computation and verifies sin²+cos²=1. The reference table lists all standard angles from 0° to 360° with your input highlighted.

Trig Tip
Remember: programming languages use radians, not degrees. Math.sin(90) gives −0.894 (sin of 90 radians), not 1. Always convert: Math.sin(90 * Math.PI / 180) = 1. The mnemonic "All Students Take Calculus" tells you which functions are positive in each quadrant: Q1 = All, Q2 = Sin, Q3 = Tan, Q4 = Cos.

Frequently Asked Questions

What is sin cos tan?
The 3 primary trig functions. Sin=O/H, Cos=A/H, Tan=O/A (SOHCAHTOA).
What is sin(45°)?
sin(45°) = √2/2 ≈ 0.70711. Also cos(45°) = √2/2 and tan(45°) = 1.
What is the unit circle?
Circle of radius 1 at the origin. Point at angle θ = (cosθ, sinθ).
What is SOHCAHTOA?
Mnemonic: Sin=Opposite/Hypotenuse, Cos=Adjacent/Hypotenuse, Tan=Opposite/Adjacent.
What is sin² + cos²?
sin²(θ) + cos²(θ) = 1 always. The Pythagorean identity.