Skip to content
Calcapedia
Math

Trigonometry Calculator

Find the sine, cosine, tangent, cosecant, secant and cotangent of an angle. Or work back from a value to the angle with arcsin, arccos and arctan.

Level: Grades 10–11

  • Common Core standard HSG.SRT.C.6Understand that by similarity, side ratios in right triangles are properties of the angles in the triangle, leading to definitions of trigonometric ratios for acute angles.
  • Common Core standard HSF.TF.A.2Explain how the unit circle in the coordinate plane enables the extension of trigonometric functions to all real numbers, interpreted as radian measures of angles traversed counterclockwise around the unit circle.
  • Common Core standard HSF.TF.A.3(+) Use special triangles to determine geometrically the values of sine, cosine, tangent for π/3, π/4 and π/6, and use the unit circle to express the values of sine, cosine, and tangent for x, π + x, and 2π - x in terms of their values for x, where x is any real number.
Printable worksheet

Trigonometry Calculator

Know the answer you need? Pick an input to work backward.

Inputs
Calculate

Any angle, positive or negative. In radians, π/6 ≈ 0.5235987756.

Result

Sine (sin)

0.5

sin 30° = 1/2 ≈ 0.5.

Exact value
1/2
sin
0.5
cos
0.866025
tan
0.57735
csc
2
sec
1.154701
cot
1.732051
Angle in degrees (0–360)
30 °
Angle in radians
0.523599 rad

See the step-by-step solution ↓

Step-by-step solution

  1. Sine is the y-coordinate of the point at this angle on the unit circle

    sin(30°)=0.5

Test yourself

20 quick questions built from this calculator's formula: work out results, predict what happens when an input changes, and work backward from an answer. Every answer comes with the working.

How to solve this on a calculator

The keys to press to get this page's worked-example answer on an ordinary calculator, with what the display should show after each step. A named-model tab follows that calculator's official guidebook.

How high a ladder reaches, with sine in degree mode

Problem
A 6 m ladder leans against a wall at 70° to the ground. How high up the wall does it reach?
Formula
height = length × sin(angle)
Example values
length = 6 m (the ladder (the hypotenuse)); angle = 70° (between the ladder and the ground). These are the fixed values from the worked example on this page, so the keys stay the same whatever you type into the calculator above.
Why a scientific calculator
Sine is a scientific-calculator key, and the calculator must be in degree mode for an angle given in degrees. It also works on a statistics calculator (not on this site yet) or graphing calculator.
The whole sequence
Degsin70)=×6=

Step by step

  1. Deg

    This calculator was left in radian mode. Switch to degrees, because the angle is 70 degrees.

    Display: 0

  2. sin

    Press sin. The calculator opens a bracket for the angle.

    Display: sin(

  3. 70)

    Type the angle, 70, and close the bracket.

    Display: sin(70)

  4. =

    Press =. sin 70° is about 0.9397.

    Display: 0.9396926208

  5. ×6

    Press × and 6 to multiply by the ladder's length. The calculator continues from the answer (Ans).

    Display: ans×6

  6. =

    Press =. The ladder reaches about 5.638 m up the wall.

    Display: 5.6381557247

If your answer looks wrong

  • If sin 70 shows 0.7738906816, the calculator is in radian mode and has used 70 radians, a very different angle. Switch to degrees and press = again.
  • In radian mode the height would come out as about 4.6433 m. It looks believable, which is why checking the Deg/Rad indicator first matters.
  • To go back from a height to the angle, use sin⁻¹: sin⁻¹(5.638 ÷ 6) is about 70° in degree mode.

How this is checked: an automated test presses these keys on this site's scientific calculator, checks every display along the way, and confirms the answer matches the calculator on this page (last checked 2026-10-19). It has not been checked on any particular brand or model, and real calculators label some keys differently.

What this calculator does

Get the sine, cosine, tangent and the other trig values of any angle, or find an angle from one of those values. Trig functions turn an angle into a ratio, a number comparing two lengths. Picture a circle with a radius of 1 (the unit circle). Put a point on it at your angle, measured counterclockwise from the right-hand side of the horizontal x-axis. The point's left-right position (its x-coordinate) is the cosine. Its up-down position (its y-coordinate) is the sine. The other four functions are built from those two. Tangent is sine divided by cosine. Cosecant, secant and cotangent are 1 divided by sine, cosine and tangent.

This calculator works in both directions. Give it an angle in degrees or radians, and it shows all six values. When the angle is a multiple of 30° or 45°, it also gives the exact form, such as √3/2. Switch to inverse mode and give it a value. You get the angle back from arcsin, arccos or arctan, in degrees and radians.

Where it's used

Why this math matters outside the classroom:

  • Tree height. Standing 30 m from a tree and sighting its top at 40°, a hiker estimates its height as 30 × tan 40°, about 25.2 m.
  • Ramp angles. A ramp rising 1 m over a 12 m run meets the ground at arctan(1/12), about 4.8°.
  • Ladder reach. A 6 m ladder leaning at 75° to the ground reaches 6 × sin 75°, about 5.8 m, up a wall.
  • Sound waves. Audio engineers model a 440 Hz tone as sin(2π × 440t) to describe the air pressure at each moment t.
  • Solar panels. Installers find that a panel 1.7 m long tilted at 30° rises 1.7 × sin 30° = 0.85 m at the back.

Grade level and standards: Grades 10–11; Common Core State Standards for Mathematics HSG.SRT.C.6, HSF.TF.A.2, HSF.TF.A.3. © Copyright 2010. National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

How to use it

  1. Choose “Trig functions of an angle” to find sin, cos, tan, csc, sec and cot. Or choose “Inverse” to find an angle from a value.
  2. For an angle, pick the function you want as the main result and type the angle. Set the unit to degrees or radians. Negative angles and angles past 360° are fine.
  3. For an inverse, pick arcsin, arccos or arctan and type the value. For arcsin and arccos, the value must be between −1 and 1.
  4. Read the result. All six functions are listed together. Any that would divide by zero at that angle are marked Undefined.

What the inputs mean

Function
The function shown as the main result. The other five are always listed below it.
Angle
Degrees are the everyday unit, with 360° in a full turn. Radians measure the distance around the edge of a unit circle, with 2π (about 6.2832) in a full turn. Enter radians as a decimal. For example, π/4 is about 0.7853981634.
Value
The ratio whose angle you want. A sine or cosine can never be more than 1 or less than −1. So arcsin and arccos won't accept such values, while arctan accepts any number.

Formula and method

sin θ = y,  cos θ = x  (point on the unit circle)
tan θ = sin θ ÷ cos θ
csc θ = 1 ÷ sin θ,  sec θ = 1 ÷ cos θ,  cot θ = cos θ ÷ sin θ
radians = degrees × π ÷ 180
arcsin x ∈ [−90°, 90°],  arccos x ∈ [0°, 180°],  arctan x ∈ (−90°, 90°)

In these formulas, θ (the Greek letter theta) is the angle. The letters x and y are the point's left-right and up-down positions on the unit circle. In the last line, x is the value you give an inverse function, and ∈ means "falls in the range".

The calculator finds sine and cosine first, then divides to get the other four. If the bottom of a division is exactly zero, that ratio is undefined. That happens for tangent and secant at 90° and 270°, and for cosecant and cotangent at 0° and 180°. The calculator shows these as Undefined rather than a huge number.

Computers store π only roughly. So a plain computer calculation of sin 30° gives 0.49999999999999994. To avoid that, the calculator first brings the angle into the range 0° to 360°. It spots the multiples of 30° and 45° and uses their exact values. Radian inputs within a billionth of a degree of one of these angles are treated the same way.

An inverse function has many possible answers, because every ratio repeats each full turn. The calculator gives the standard main answer (the principal value) in the ranges listed above. Textbooks and scientific calculators use the same rule.

Worked example

A 6 m ladder leans against a wall at 70° to the ground. How high up the wall does it reach?

  1. The height is the side across from the 70° angle, and the ladder is the hypotenuse (the longest side). So height = 6 × sin 70°.
  2. Enter 70 degrees with sine selected: sin 70° ≈ 0.939693.
  3. Multiply: 6 × 0.939693 ≈ 5.638 m.
  4. To go the other way, a 6 m ladder reaching 5.638 m up makes an angle of arcsin(5.638 ÷ 6) with the ground. That's back to about 70°.

Result: The ladder reaches about 5.638 m up the wall. The calculator also lists cos 70° ≈ 0.34202. That gives the distance from the wall: 6 × 0.34202 ≈ 2.052 m.

Understanding the result

Sine and cosine are always between −1 and 1. Tangent, cotangent, secant and cosecant can be any size. They grow without limit near the angles where they're undefined.

Whether each value is positive or negative depends on the quadrant, the quarter of the circle the angle points into. Sine is positive above the x-axis (0° to 180°). Cosine is positive to the right of the y-axis (between 270° and 90°). Tangent is positive where sine and cosine have the same sign.

An exact value is shown only when one exists as a simple square-root form. Other angles give decimals rounded to the precision you chose.

Assumptions and limitations

  • Angles are measured counterclockwise from the positive x-axis, the standard math convention.
  • Inverse results are principal values, the standard main answers.
  • Inverse mode covers arcsin, arccos and arctan. For arccsc, arcsec or arccot, first take 1 divided by your value: arccsc x = arcsin(1 ÷ x).
  • Exact forms are given only for multiples of 30° and 45°.
  • Grads (400 to a full turn) aren't supported. Multiply by 0.9 to change them to degrees.

Frequently asked questions

How do I remember which ratio is which?

In a right triangle, sine is opposite ÷ hypotenuse, cosine is adjacent ÷ hypotenuse and tangent is opposite ÷ adjacent. Many people remember this as SOH CAH TOA. The unit-circle definitions used here match these for angles between 0° and 90°. They also stretch them to work for every angle.

Why is tan 90° undefined?

Tangent is sine divided by cosine, and cos 90° is exactly 0. Dividing by zero has no answer, so tan 90° doesn't exist. As the angle gets closer to 90° from below, the tangent grows without limit.

Why does arcsin(2) give an error?

Sine is the height of a point on a circle of radius 1. So it can never be more than 1 or less than −1. No angle has a sine of 2, so arcsin(2) has no real answer. The same goes for arccos.

What is the difference between degrees and radians?

Both measure angles. A full turn is 360° or 2π radians. So 180° equals π radians, and 1 radian is about 57.2958°. Radians are standard in calculus and most programming languages. Degrees are more common in everyday life.

Is arcsin the same as 1 ÷ sin?

No. Arcsin (also written sin⁻¹) undoes the sine: it takes a ratio and gives back an angle. The value 1 ÷ sin θ is a different function, called the cosecant.

How this calculator is checked

Method: Unit-circle definitions of the six trigonometric functions; principal-value conventions for the inverse functions; exact values at multiples of 30° and 45°. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-18. Found a problem? Tell us.

Embed this calculator

Put this Trigonometry Calculator on your own website or blog for free. Paste this code where you want it to appear: