Trigonometry Calculator
Evaluate sine, cosine, tangent and their inverses in degrees or radians, and solve a right triangle's missing sides and angles from any two known values.
- cos θ
- 0.866025
- tan θ
- 0.57735
- csc θ
- 2
- sec θ
- 1.154701
- cot θ
- 1.732051
- θ in radians
- 0.523599
FreeNo sign-upPrivate — runs in your browser, nothing is uploaded
Checked against 20 reference cases · Wikipedia, Wolfram MathWorld · Reviewed · Updated · How we check
Quick answer
Trigonometry relates the angles of a triangle to the lengths of its sides. This calculator does two jobs: it evaluates the six trig functions (sin, cos, tan, csc, sec, cot) and their inverses for any angle in degrees or radians, and it solves a right triangle — given any two values (with at least one side) it finds the remaining sides, both acute angles, and the area using the Pythagorean theorem and SOH-CAH-TOA.
Formula & method
The function evaluator converts the angle to radians when needed and applies the standard trig functions; inverse functions return an angle in your chosen unit. The right-triangle solver assumes the right angle is at C and applies SOH-CAH-TOA (sin A = opposite/hypotenuse, etc.) together with the Pythagorean theorem a² + b² = c². The two acute angles always sum to 90°, and the area is ½ · a · b.
Examples
Example 1: Evaluate sin 30°
- Input
- sin, 30, degrees
- Result
- 0.5
- Why
- The sine of 30° is exactly 0.5 — one of the standard reference angles.
Example 2: Solve a 3-4 right triangle
- Input
- a = 3, b = 4 (find the rest)
- Result
- c = 5, A = 36.87°, B = 53.13°
- Why
- c = √(3² + 4²) = 5; A = atan(3/4) = 36.87°; B = 90° − A = 53.13°.
Example 3: Inverse tangent
- Input
- arctan, 1, degrees
- Result
- 45°
- Why
- tan 45° = 1, so arctan(1) = 45° (or π/4 radians).
When to use this tool
- Checking trig homework or finding an exact function value for a reference angle.
- Finding a missing side or angle of a right triangle in construction, surveying, or physics.
- Converting between degrees and radians while evaluating a function.
Common mistakes
- Leaving the calculator in the wrong angle mode — entering degrees while it expects radians (or vice-versa) is the most common trig error.
- Forgetting that the hypotenuse is always the longest side of a right triangle and must be opposite the right angle.
- Trying to solve a triangle from two angles alone — without at least one side length the triangle's size is undetermined.
Frequently asked questions
Does it work in degrees and radians?
Yes. Use the angle-unit selector to switch between degrees and radians; it applies to the input angle for direct functions and to the output angle for inverse functions.
What's the minimum I need to solve a right triangle?
Any two values, as long as at least one is a side length. Two sides, or one side plus an acute angle, are enough; two angles alone are not.
Why is tan 90° missing from the results?
Tangent is the ratio sin/cos, and cos 90° = 0, so tan 90° is undefined (it heads to infinity). The tool leaves tan and sec out of the results at 90° instead of showing a misleading huge number; csc and cot are left out at 0° and 180° for the same reason.
Which angle is A and which is B?
The right angle is at C. Angle A is opposite side a, and angle B is opposite side b, so A and B are the two acute angles that add up to 90°.
Can it give csc, sec, and cot?
Yes — the function list includes cosecant, secant, and cotangent, which are the reciprocals of sine, cosine, and tangent.
Is anything uploaded?
No. All calculations run in your browser.
Sources & references
External references open in a new tab. We are independent and not affiliated with these organizations.
- Free
- No sign-up
- Runs entirely in your browser — nothing is uploaded.
- Formula and method shown above
Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.
Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards below.
Related tools
Embed this tool on your site
Free to embed, no sign-up. Paste this code where you want the tool to appear: