Skip to content
Explore tools

Trigonometry

Trig Calculator: Sin, Cos, Tan And Inverse Trig With Steps

Last updated: November 2026

Find the sine, cosine and tangent of any angle, work back from a ratio to the angle, or convert between degrees and radians. For angles like 30°, 45° and 60° the calculator also shows the exact value, such as √3/2.

  • Degrees or radians
  • Exact values for special angles
  • Runs on your device

Trigonometry

Trig Calculator

Sine, cosine and tangent of any angle, the angle from a ratio, or degrees and radians.

Result

—

How To Use The Trig Calculator

The calculator has three tabs. Each one updates as you type.

  1. Sin, Cos, Tan: enter an angle and choose degrees or radians. You get all six trig values, the angle in both units, and its quadrant. For multiples of 30° and 45° you also get the exact form.
  2. Find the Angle: choose sin⁻¹, cos⁻¹ or tan⁻¹ and enter a ratio. You get the angle in degrees and radians, plus a note on the other angles that share the same value.
  3. Degrees and Radians: convert an angle either way. Whole-degree answers are also shown as a multiple of π, such as 3π/2.

What Sine, Cosine And Tangent Mean

In a right triangle, each trig function is a ratio of two sides, measured from one of the acute angles. The memory aid is SOH CAH TOA.

FunctionRatioMemory aid
sin θopposite ÷ hypotenuseSOH
cos θadjacent ÷ hypotenuseCAH
tan θopposite ÷ adjacentTOA

Take a 3-4-5 right triangle. For the angle opposite the side of length 3, sin θ = 3/5 = 0.6, cos θ = 4/5 = 0.8 and tan θ = 3/4 = 0.75. The sides themselves come from the Pythagorean theorem calculator, since 3² + 4² = 5².

For angles bigger than 90°, the triangle definition stops working, and the unit circle takes over: cos θ and sin θ are the x and y coordinates of the point at angle θ on a circle of radius 1.

Exact Values For Special Angles

These five angles appear in almost every trig class. Their values come from the 45-45-90 and 30-60-90 triangles.

AngleRadianssincostan
0°0010
30°π/61/2√3/2√3/3
45°π/4√2/2√2/21
60°π/3√3/21/2√3
90°π/210undefined

tan 90° is undefined because cos 90° = 0, and tangent is sine divided by cosine. The calculator says “undefined” instead of showing a huge rounding error.

Degrees Vs Radians

A full turn is 360°, or 2π radians. One radian is the angle that cuts off an arc as long as the radius, about 57.2958°.

Convertradians = degrees × π ÷ 180 · degrees = radians × 180 ÷ πExample: 2.5 rad × 180 ÷ π ≈ 143.24°

Using the wrong mode is the most common trig error. In degree mode, sin(30) = 0.5. In radian mode the same keys give sin(30) ≈ −0.988032, because the calculator reads 30 as 30 radians. If an answer looks wrong, check the mode first. The scientific calculator guide shows where the DEG/RAD setting is on common models.

Finding An Angle With Inverse Trig

Inverse trig runs the other way: you know a ratio and want the angle. In the 3-4-5 triangle, tan⁻¹(0.75) = 36.87°, and sin⁻¹(0.6) gives the same 36.87°.

Each inverse function returns one angle from a fixed range, even though many angles share the same value:

Sine and cosine never go above 1 or below −1, so sin⁻¹(2) has no answer. The calculator tells you so instead of returning an error code. When a triangle problem has two possible angles, the triangle calculator checks both.

Signs In Each Quadrant

The sign of each function depends on where the angle lands on the unit circle.

QuadrantAnglesPositive
I0° to 90°sin, cos, tan
II90° to 180°sin only
III180° to 270°tan only
IV270° to 360°cos only

A common way to remember it, going counterclockwise from quadrant I: All Students Take Calculus.

Cosecant, Secant And Cotangent

The other three functions are reciprocals: csc θ = 1 ÷ sin θ, sec θ = 1 ÷ cos θ and cot θ = 1 ÷ tan θ. Most handheld calculators have no keys for them, so you divide by hand. This calculator lists all three under the main result. Each one is undefined where the function it divides by is 0.

Worked Examples

How High Does A Ladder Reach?

Problem
A 5 m ladder leans against a wall at 70° to the ground.
Method
The wall height is opposite the angle, and the ladder is the hypotenuse, so use sine: 5 × sin 70°.
Result
4.698 m up the wall. The foot of the ladder is 5 × cos 70° ≈ 1.71 m from the wall.

The Angle Of A Ramp

Problem
A ramp rises 1 unit for every 12 units of run.
Method
Rise is opposite and run is adjacent, so use tan⁻¹(1 ÷ 12).
Result
4.76°. The slope calculator gives the same line as a percent grade, 8.33%.

Height Of A Tree From Its Shadow

Problem
You stand 20 m from a tree and measure 35° up to the top.
Method
Height is opposite, distance is adjacent: 20 × tan 35°.
Result
14.0 m, plus your eye height above the ground.

Common Trig Mistakes

Try it with your own numbers

The calculator at the top of this page uses the same formulas as the examples.

Use the calculator

Frequently Asked Questions

How do I calculate sin, cos and tan?

Enter the angle in the Sin, Cos, Tan tab and choose degrees or radians. By hand, use SOH CAH TOA on a right triangle: sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent.

Why is tan 90° undefined?

Tangent is sine divided by cosine, and cos 90° = 0. Division by zero has no value, so tan 90° and tan 270° are undefined.

How do I convert radians to degrees?

Multiply by 180 and divide by π. For example, π/3 radians × 180 ÷ π = 60°. The Degrees and Radians tab does this both ways.

What is the difference between sin⁻¹ and csc?

sin⁻¹(x), also written arcsin, returns an angle. csc x is 1 ÷ sin x, a ratio. They are not the same thing even though both use the word “inverse” informally.

Why does my calculator give a different answer?

It is almost always the angle mode. Check whether your calculator shows DEG or RAD, and set it to match the problem.