Trigonometry Calculator

x y

Trigonometry Calculator Features

All six values at once

sin, cos, tan, cot, sec and csc appear together, so you can check identities such as cot = 1/tan without switching pages

DEG / RAD / GRAD units

Besides degrees and radians, gradians are supported (400 grad = 360 degrees), as used in surveying and some European textbooks

Live unit circle diagram

An inline SVG draws the terminal side and sine / cosine projections, normalising the input to 0-360 degrees so negative and oversized angles still plot correctly

Singularities marked undefined

tan 90°, cot 0°, sec 90° and csc 180° show undefined instead of an enormous float or Infinity

Six inverse functions

asin / acos / atan / acot / asec / acsc all work, returning angles in the active unit with clear messages outside their domains

Special-angle table

Common values for 0°, 30°, 45°, 60°, 90°, 120°, 135°, 180° and 270° ship with the page and match this tool output

How to Use the Trigonometry Calculator

1

Choose an angle unit

DEG is the default. Switch to RAD for radian inputs such as pi/6, or GRAD for gradians.

2

Enter an angle

Type 30, or tap one of the quick-angle chips. Negative angles and angles beyond a full turn are supported and normalised in the diagram.

3

Read the six values

The six cards show sin through csc at once; where a function is undefined at that angle, the card highlights it in amber.

4

Work backwards

Pick asin / acos / atan and enter a function value; for example asin(0.5) returns 30° in DEG mode.

Where the Trigonometry Calculator Helps

Homework and exam review

Check all six values in one pass, verify handwritten answers against the special-angle table, and understand why a singularity is not a broken calculator

Surveying and measurement

Use GRAD directly with gradian observations instead of converting to degrees by hand and introducing rounding error

Graphics and game development

Convert heading or camera angles into sine and cosine components, with the unit circle confirming the sign of each axis

Construction and mechanical estimates

Get tangent and secant quickly for slopes, braces and projections, then invert a ratio back into an angle

Physics: waves and oscillation

Sine and cosine for a phase angle update live, useful when decomposing displacement and velocity in simple harmonic motion

Navigation and astronomy basics

Normalise a bearing into one turn and see which quadrant the terminal side lands in to predict the sign of each function

Trigonometry and the Unit Circle

How the six functions are defined

On the unit circle, the terminal side of angle θ meets the circle at (cos θ, sin θ). Then tan θ = sin θ / cos θ, cot θ = cos θ / sin θ, sec θ = 1 / cos θ and csc θ = 1 / sin θ. The last four are undefined where their denominator vanishes.

Degrees, radians and gradians

A full turn is 360 degrees (DEG), 2π radians (RAD) or 400 gradians (GRAD), with 180° = π rad = 200 grad. Math libraries work in radians, so this tool converts on input and output.

Why singularities are not Infinity

In floating point arithmetic cos(90°) is not exactly zero but about 6.1×10⁻¹⁷, so a naive reciprocal yields roughly 1.6×10¹⁶. A near-zero threshold lets the tool report undefined instead of presenting numerical noise as an answer.

The unit circle and normalisation

The unit circle has radius 1 and is centred at the origin. For any angle θ the intersection has x = cos θ and y = sin θ. Because trig functions have period 2π, -30° matches 330° and 390° matches 30°; the diagram normalises the angle into 0-360°.

Principal values of inverse trig

Trig functions are not one-to-one, so inverses need a restricted range. asin and atan return -90° to 90°, acos returns 0° to 180°, acot returns 0° to 180°, and asec / acsc follow their principal branches. That is why asin(0.5) is 30°, not 150°.

Special-angle values (matching this tool)

Anglesincostan
0°010
30°0.50.8660250.577350
45°0.7071070.7071071
60°0.8660250.51.732051
90°10undefined
120°0.866025-0.5-1.732051
135°0.707107-0.707107-1
180°0-10
270°-10undefined
Values assume DEG mode; non-integer values are rounded to six decimals, and zero denominators are marked undefined. Use the matching unit when switching to RAD or GRAD.

Trigonometry Calculator FAQ

Q: Why is tan 90° shown as undefined?
A: Because tan θ = sin θ / cos θ and cos 90° = 0, so the value is mathematically undefined. The same applies to cot 0°, sec 90° and csc 180°. The tool avoids Infinity so floating point noise is not mistaken for an answer.
Q: What are DEG, RAD and GRAD?
A: DEG is degrees (360 per turn), RAD is radians (2π per turn) and GRAD is gradians (400 per turn, common in surveying). The conversion is 180° = π rad = 200 grad.
Q: What happens if I enter 390°?
A: The values equal those of 30°, since trig functions repeat every 360° (2π). The unit circle normalises the angle into 0-360° before drawing, and negative angles are converted likewise.
Q: Why is asin(0.5) not 150°?
A: Inverse trig returns a principal value. Both sin 30° and sin 150° equal 0.5, but asin is restricted to -90°..90°, so it returns 30°. Use the problem context to decide the correct quadrant.
Q: What are cot, sec and csc for?
A: They are reciprocals of tan, cos and sin, and often simplify trig identities, engineering projections and certain integrals. Showing all six together makes relations like cot θ = 1/tan θ easy to verify.
Q: What if the asin input is outside [-1,1]?
A: The tool reports that the input is outside the domain and shows no result. asec and acsc require |x| >= 1, while atan and acot are defined for every real number.
Q: What do the blue and green segments mean?
A: Blue is the cosine projection on the x axis, green is the sine projection on the y axis, and orange is the terminal side. Point P has coordinates (cos θ, sin θ); dashed lines drop from P to both axes.