Trigonometry Calculator

An angle of 30 degrees has sine 0.5, cosine about 0.866 and tangent about 0.577. These are exact ratios in the 30-60-90 triangle. Trigonometry connects angles to lengths, so you can find heights from shadows, slopes from angles and forces along inclines.

Memorize the values at 30, 45 and 60 degrees for quick estimates, and use the identity that sine squared plus cosine squared equals one to check results.

Trigonometry Calculator: inputs

Calculated result
Sine0.5
Cosine0.866
Tangent0.577

Trigonometry Calculator: Angle (degrees) sensitivity

Trigonometry Calculator: Angle (degrees) and Sine5 calculations vary the “Angle (degrees)” input while holding the other entered inputs constant.240.407270.454300.5330.545360.588

Trigonometry: worked example

Angle (degrees)30
Sine0.5
Cosine0.866
Tangent0.577

Trigonometry: formula

Sine, cosine and tangent of the angle (sin θ, cos θ, tan θ), with degrees converted to radians by × π ÷ 180

Trigonometry: Wolfram MathWorld

Enter an angle in degrees. The calculator converts to radians by multiplying by pi over 180 and computes sine, cosine and tangent. Sine and cosine are always between minus 1 and 1, while tangent can be any value and is undefined at 90 and 270 degrees.

For a right triangle, sine is the opposite side over the hypotenuse, cosine is the adjacent side over the hypotenuse and tangent is opposite over adjacent.

Trigonometry: changing Angle (degrees)

Angle (degrees)SineCosineTangent
240.4070.9140.445
270.4540.8910.51
30 (example)0.50.8660.577
330.5450.8390.649
360.5880.8090.727

Trigonometry: compare input ranges

InputTested fromToSine: low inputSine: high inputSwing
Angle (degrees)27330.4540.5450.091 (18%)

Trigonometry: individual input comparisons

InputValueSineCosineTangent
Angle (degrees)240.4070.9140.445
270.4540.8910.51
300.50.8660.577
330.5450.8390.649
360.5880.8090.727

Trigonometry: which assumptions move the result?

Trigonometry: Sine as Angle (degrees) changesSine starts at 0.407. Moving Angle (degrees) from 24 to 36 changes it to 0.588, with the displayed formula kept fixed.240.407270.454300.5330.545360.588
Chart quantityDisplayed settings
Angle (degrees)24 → 36
Sine0.407 → 0.588

Trigonometry: values and definitions

Quantity and definitionValue used
Angle (degrees)30
Sine0.5
Cosine0.866
Tangent0.577

Trigonometry: half and double Angle (degrees)

Angle (degrees)Sine
150.259
300.5
600.866

Common error: Expecting a tangent at 90 degrees. The ratio has no finite value there because the horizontal run is zero.

Make sure your angle mode matches your problem: a value in radians entered as degrees gives a wrong answer. Tangent blows up near 90 degrees, so results become huge and unreliable. Inverse functions have restricted ranges and give only one of several possible angles.

Rounding errors appear for angles near multiples of 90.

Geometry calculators: Golden Ratio Calculator, Midpoint Calculator, Rectangle Area & Perimeter Calculator, Circle Area & Circumference Calculator, Triangle Area (Heron's Formula) Calculator, Sphere Volume & Surface Area Calculator.

Sine, cosine and tangent are the three ratios of a right triangle's sides, and they depend only on the angle. At 30 degrees the sine is exactly one half, the cosine is about 0.866 and the tangent is about 0.577. The tangent doubles as a slope: a 30 degree ramp rises 0.577 for every unit it runs, which is how builders turn an angle into a rise.

Check the angle unit. A calculator set to radians reads 30 as a very different angle and returns values that look plausible but are wrong.

Solve triangles on the right triangle, law of sines and triangle side calculators, and compute arcs on the arc length and sector page. The Pythagorean theorem page finds sides, and the dot product calculator uses cosines of angles between vectors. The slope calculator relates to the tangent of an angle.

Why is tangent undefined at 90 degrees?

Because the adjacent side becomes zero, and dividing by zero is undefined, so the tangent grows without bound near 90 degrees.

What are sine, cosine and tangent?

Ratios of sides in a right triangle: sine is opposite over hypotenuse, cosine is adjacent over hypotenuse and tangent is opposite over adjacent.

How do I convert degrees to radians?

Multiply by pi over 180. So 180 degrees is pi radians, and 90 degrees is pi over 2.