Toolvito

Works on this device

Trigonometry Calculator

Work out sine, cosine, tangent and the other trigonometric functions of an angle, or go back from a value to the angle. You can use degrees, radians or gradians. Special angles also show their exact value with square roots.

Enter your values

Enter one angle to get all six functions, the exact values at special angles, and the point on the unit circle.

Your values

A number or a fraction. In radians you can use pi, such as pi/6 or 3pi/4. In degrees you can also type 12° 30′.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to calculate, for example Sine, cosine, tangent and the other three functions or Inverse functions (arcsin, arccos, arctan).
  2. Type the angle and choose its unit. In radians you can type pi/6 or 3pi/4. In degrees you can type 12° 30′.
  3. Choose Calculate. The results show the decimal value, and the exact value when the angle is a special angle.
  4. You can copy the results, print them, or download a CSV file.

What each option does

  • Six functions: sin, cos, tan, csc, sec and cot of one angle, the quadrant, the reference angle and the point on the unit circle.
  • Inverse functions: the angle for a given sine, cosine, tangent, cosecant, secant or cotangent, with the range of each inverse function.
  • Convert: degrees, radians, gradians, full turns, and degrees with minutes and seconds.
  • Right triangle: the missing sides and angle from two known parts, and all six ratios.
  • Other functions from one value: for example cos and tan when you know sin and the quadrant.
  • Identities: both sides of the Pythagorean, double angle, half angle and triple angle identities for your angle.
  • Sum and difference: sin, cos and tan of A + B and A − B.
  • Law of sines and law of cosines: a missing side or angle of any triangle.
  • Equations: all angles that solve sin x = k, cos x = k or tan x = k in a range, and the general solution.
  • Sine wave: amplitude, period, phase shift and key points of y = a sin(bx + c) + d.
  • Hyperbolic functions, a table of values, and a sine bar set-up for the workshop.

The definitions

  • In a right triangle: sin = opposite ÷ hypotenuse, cos = adjacent ÷ hypotenuse, tan = opposite ÷ adjacent.
  • On the unit circle, a circle with radius 1, the point at angle θ is (cos θ, sin θ).
  • csc = 1 ÷ sin, sec = 1 ÷ cos, cot = cos ÷ sin.
  • Radians = degrees × π ÷ 180. Gradians = degrees × 10 ÷ 9. A full turn is 360°, 2π radians or 400 gradians.
  • A function is undefined where it would divide by zero. For example tan 90° and sec 90° are undefined, because cos 90° = 0.

Ranges of the inverse functions

Many angles have the same sine, so an inverse function has to choose one. That choice is called the principal value.

  • arcsin gives an angle from −90° to 90°.
  • arccos gives an angle from 0° to 180°.
  • arctan gives an angle between −90° and 90°.
  • arccsc gives an angle from −90° to 90°, but never 0°. arcsec gives an angle from 0° to 180°, but never 90°.
  • arccot gives an angle between 0° and 180° on this page. Some calculators use −90° to 90° instead.

Worked examples

sin 30° = 1/2 = 0.5, cos 30° = √3/2 = 0.8660254038 and tan 30° = √3/3 = 0.5773502692.

arcsin(0.5) = 30°, which is π/6 radians. The other angle between 0° and 360° with the same sine is 150°.

A right triangle has an opposite side of 3 and an adjacent side of 4. The hypotenuse is √(9 + 16) = 5. The angle is 36.8699°, and sin = 3/5, cos = 4/5, tan = 3/4.

sin x = 1/2 between 0° and 360° has two solutions: x = 30° and x = 150°. The general solution is x = 30° + 360° × n or x = 150° + 360° × n.

With A = 30° and B = 45°: sin(A + B) = sin 75° = (√6 + √2)/4 = 0.9659258263.

Limits you should know

  • Exact values with square roots are given for whole multiples of 15°, 18° and 22.5° only. Other angles show decimals.
  • Radians typed as a decimal, such as 1.5708, are used as typed. Type pi/2 to get the exact right angle.
  • Function values are shown with 10 significant digits. They are worked out with about 15 digits.
  • The equation option solves sin, cos or tan of (b × x + c) = k only. It does not solve equations with two functions or with powers.
  • The identity options check identities with numbers for your angle. They do not simplify expressions or write proofs.
  • The page does not draw graphs. The sine wave option gives the key points so that you can sketch the graph yourself.

Related tools