Trigonometric Ratios Calculator
Calculate all six trigonometric ratios from an angle, or reconstruct an angle from one ratio and a selected quadrant.
Use consistent units. Enter numbers without thousands separators. Invalid input clears all results.
Inputs and results
Choose the matching mode, then read each field label and note. Results use the same length, time, currency or quantity units as the inputs unless a label says otherwise. A negative change means a decrease.
Formula
On a unit circle, sinθ=y and cosθ=x. tanθ=sinθ/cosθ, cscθ=1/sinθ, secθ=1/cosθ and cotθ=cosθ/sinθ. Signs follow the chosen quadrant. Standard angle table (degrees: sin, cos, tan): 0: 0,1,0; 30: 1/2,√3/2,1/√3; 45: 1/√2,1/√2,1; 60: √3/2,1/2,√3; 90: 1,0,undefined.
Worked example
At 30°, sin=0.5, cos=√3/2≈0.8660254, tan=1/√3≈0.5773503, csc=2, sec=2/√3 and cot=√3. A sine of 0.5 in quadrant II gives 150°.
Limits and edge cases
Angles are normalized into [0,360). Magnitude of angle input is at most 1e9. Values within 1e-12 of a zero sine or cosine are treated as zero to avoid false finite values at singular axes. In inverse mode, selected quadrant includes its boundary axes by convention; ratio sign must match unless zero. A ratio cannot identify the number of full revolutions. Decimal calculations use floating-point arithmetic; displayed values are rounded to 12 significant digits. This is an educational tool, not a guarantee about investments or physical systems.
FAQ
Why is tangent undefined at 90°?
Its denominator, cosine, is zero.
Can a sine of 2 be entered?
No. Real sine and cosine values are between -1 and 1.
Formula reference
Background mathematics. Explanation and examples on this page are independently written.