Skip to content

Trigonometry Calculator

Find sin, cos, tan, csc, sec and cot of any angle in degrees, radians or π, with exact unit-circle values, quadrant, reference angle and inverse functions.

Calculator Details

sin 30°:1/2 ≈ 0.5See results ↓

The six functions of an angle, or the angle from a value (inverse functions)

In the unit below; negative angles turn clockwise

Degrees, radians, multiples of π (0.25 = π/4) or gradians

Your Results

sin 30°: 1/2 ≈ 0.5

sin 30°

1/2 ≈ 0.5

cos = √3/2 ≈ 0.8660254038 · tan = √3/3 ≈ 0.5773502692

  • Coterminal angle (0°–360°)

    30° = π/6 rad

  • Quadrant

    Quadrant I

  • Reference angle

    30°

  • Unit-circle point (cos, sin)

    (√3/2, 1/2)

Unit circle

(√3/2, 1/2)xy1
The angle 30° on the unit circle: the point (√3/2, 1/2) is (cos θ, sin θ).

sin 30° = 1/2 (0.5), cos 30° = √3/2 (0.866025403784) and tan 30° = √3/3 (0.57735026919). The angle ends in quadrant I, with a reference angle of 30°.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

The six trigonometric functions of 30°Coterminal angle 30° = 0.523598775598 rad as typed (30°, 33.3333333333 grad).
FunctionExactDecimalSign
sin θ1/20.5+
cos θ√3/20.866025403784+
tan θ√3/30.57735026919+
csc θ22+
sec θ2√3/31.15470053838+
cot θ√31.73205080757+

How This Calculator Works

How it's calculated

An angle θ measured counter-clockwise from the positive x-axis meets the unit circle at (cos θ, sin θ). Then tan θ = sin θ / cos θ, csc θ = 1 / sin θ, sec θ = 1 / cos θ and cot θ = cos θ / sin θ. Angles convert with 180° = π rad = 200 grad. The inverse functions return the principal value (NIST DLMF §4.23).

With your numbers

θ = 30° = 30°
30° − 360° × k = 30° (coterminal, quadrant 1)
Reference angle = 30°
sin θ = 1/2 ≈ 0.5
cos θ = √3/2 ≈ 0.8660254038
tan θ = √3/3 ≈ 0.5773502692
csc θ = 2
sec θ = 2√3/3 ≈ 1.154700538
cot θ = √3 ≈ 1.732050808

Frequently Asked Questions

What are sin, cos and tan on the unit circle?

Draw a circle of radius 1 centred on the origin and turn a ray counter-clockwise from the positive x-axis by the angle θ. The point where the ray meets the circle is (cos θ, sin θ). Tangent is the ratio sin θ ÷ cos θ, the slope of the ray. The other three are reciprocals: csc θ = 1/sin θ, sec θ = 1/cos θ and cot θ = 1/tan θ.

Why does sin 1 give a different answer from sin 1°?

Because 1 radian is about 57.3°. With the unit set to radians, sin 1 = 0.8414709848; in degrees, sin 1° = 0.01745240644. Pick the unit your problem uses. Calculus and most programming languages use radians, while surveying, navigation and school geometry mostly use degrees.

Which angles have exact values?

Multiples of 30° (π/6) and 45° (π/4) have exact values made of whole numbers, fractions and √2 or √3: for example sin 30° = 1/2, cos 45° = √2/2 and tan 60° = √3. The calculator shows these forms for any angle in degrees, multiples of π or gradians whose coterminal angle is one of them, such as 210°, −3π/4 or 50 grad. Other angles have no simple closed form, so they are shown as decimals to 12 significant figures.

What is a reference angle?

The acute angle between the terminal side and the x-axis. In quadrant II it is 180° − θ, in quadrant III θ − 180° and in quadrant IV 360° − θ. A function of θ has the same size as the function of its reference angle; only the sign changes with the quadrant. Sine is positive in quadrants I and II, cosine in I and IV, and tangent in I and III ("All Students Take Calculus").

Why is tan 90° undefined?

tan θ = sin θ ÷ cos θ, and cos 90° = 0, so the division has no value. The same happens at 270° and every angle 180° apart from them. Secant (1/cos θ) is undefined at the same angles, and cosecant and cotangent are undefined where sin θ = 0 (0°, 180°, 360°…). Typed in radians, π/2 is a rounded decimal, so you get a very large number instead; use the "multiples of π" unit and enter 0.5 for the exact angle.

What range do the inverse functions return?

Each inverse returns one principal value. arcsin and arctan give −90° to 90°, arccos gives 0° to 180°, arccsc gives −90° to 90° (never 0°) and arcsec gives 0° to 180° (never 90°). Other angles with the same sine or cosine differ by a full turn or are mirror images, for example sin 150° = sin 30°.

Which convention does arccot use?

This calculator follows the NIST Digital Library of Mathematical Functions: arccot x = arctan(1/x), giving −90° to 90°. Many textbooks instead put arccot between 0° and 180°. The two agree for positive x; for negative x the textbook value is 180° more, so arccot(−1) is -45° here and 135° in the other convention. Both are shown.

How do I convert between degrees, radians and gradians?

A full turn is 360°, 2π radians or 400 gradians. Multiply degrees by π/180 for radians or divide by 0.9 for gradians. The calculator shows the angle in all three, plus as a multiple of π, so 135° appears as 3π/4.

Values to 12 significant figures in 40-digit decimal arithmetic; exact forms for multiples of 30° and 45° typed in degrees, multiples of π or gradians (an angle typed in radians gets decimals only). Inverse functions return the principal value (NIST DLMF §4.23); arccot also shows the 0°–180° textbook value. Not included: exact values for 15° multiples such as (√6 − √2)/4, hyperbolic functions, complex arguments, and solving triangles (see the triangle calculator).

Trigonometry Calculator: Sin, Cos, Tan, the Unit Circle and Inverse Functions

By FindMySum · Last reviewed

A trigonometry calculator turns an angle into the six trigonometric ratios, sine, cosine, tangent, cosecant, secant and cotangent, and turns a ratio back into an angle. This one accepts degrees, radians, multiples of π and gradians, draws the angle on the unit circle, and gives exact values such as √3/2 for the special angles, along with the quadrant, the reference angle and the coterminal angle. In inverse mode it returns the principal value of arcsin, arccos, arctan, arccsc, arcsec or arccot.

From right triangles to the unit circle

Trigonometry starts with right triangles. For an acute angle θ, sine is the opposite side over the hypotenuse, cosine the adjacent side over the hypotenuse, and tangent opposite over adjacent. Those ratios only make sense up to 90°, though, so mathematicians extend them with the unit circle: the circle of radius 1 centred on the origin.

Turn a ray counter-clockwise from the positive x-axis by θ. It crosses the circle at a point, and that point's coordinates define the functions:

  • cos θ is the x-coordinate and sin θ the y-coordinate.
  • tan θ = sin θ / cos θ, the slope of the ray.
  • csc θ = 1 / sin θ, sec θ = 1 / cos θ and cot θ = cos θ / sin θ.

For an acute angle, the ray, the x-axis and a vertical line from the point form a right triangle with hypotenuse 1, so the circle definition agrees with the triangle one. It also works for any angle, including obtuse, reflex, negative and multi-turn angles. Because the point is on a circle of radius 1, sin² θ + cos² θ = 1 always holds.

Quadrants, signs and reference angles

The axes split the plane into four quadrants. The signs of the coordinates decide the signs of the functions:

QuadrantAnglessincostan
I0° to 90°+++
II90° to 180°+−−
III180° to 270°−−+
IV270° to 360°−+−

The reference angle is the acute angle between the terminal side and the x-axis. Every function of θ has the same size as the same function of its reference angle; the quadrant only supplies the sign. That is how the calculator finds exact values for any multiple of 30° or 45°: it reduces the angle to one between 0° and 360°, finds the reference angle, looks up the exact value for 0°, 30°, 45°, 60° or 90°, and applies the sign.

Worked example: the default 30°

With the default input, 30° is in quadrant I and is its own reference angle. The point on the circle is (√3/2, 1/2), so:

  • sin 30° = 1/2 = 0.5
  • cos 30° = √3/2 ≈ 0.866025403784
  • tan 30° = (1/2) ÷ (√3/2) = √3/3 ≈ 0.57735026919
  • csc 30° = 2, sec 30° = 2√3/3 ≈ 1.15470053838, cot 30° = √3 ≈ 1.73205080757

Change the angle to 210° and the reference angle is still 30°, but the angle is now in quadrant III, so sine and cosine turn negative: sin 210° = −1/2 and cos 210° = −√3/2, while tangent stays positive.

Angle units

A full turn is 360 degrees, 2π radians or 400 gradians. Radians measure an angle by the arc length it cuts on the unit circle, which is why calculus formulas such as the derivative of sin x being cos x only hold in radians. Because π is irrational, an angle typed as a decimal number of radians is never exactly a special angle. The calculator therefore has a separate unit, multiples of π: entering 0.75 means 3π/4, which it recognises as exactly 135°.

Inverse functions and principal values

Many angles share the same sine: sin 30°, sin 150° and sin 390° are all 1/2. To make arcsin a function, it returns a single principal value from a fixed range:

FunctionAcceptsReturns
arcsin x−1 ≤ x ≤ 1−90° to 90°
arccos x−1 ≤ x ≤ 10° to 180°
arctan xany xbetween −90° and 90°
arccsc xx ≤ −1 or x ≥ 1−90° to 90°, not 0°
arcsec xx ≤ −1 or x ≥ 10° to 180°, not 90°
arccot xany xbetween −90° and 90°, not 0°

The arccot row follows the NIST Digital Library of Mathematical Functions, which defines arccot x as arctan(1/x). Many school textbooks use the range 0° to 180° instead; for negative x their answer is 180° larger, and the calculator shows it too.

To find every solution rather than the principal one, add whole turns and use symmetry. For sin θ = 1/2 the solutions are 30° + 360°k and 150° + 360°k for any whole number k.

Where trigonometry is used

Sine and cosine describe anything that rotates or oscillates: alternating current, sound waves, tides and the position of a point on a wheel. Tangent gives slopes and heights from angles of elevation, as in measuring a tree from its shadow. Surveyors, roofers and stair builders convert between angles and rise-over-run every day; the slope calculator and triangle calculator handle those cases directly. In physics, vectors are split into components with cos θ and sin θ, the first step of adding forces or velocities in the vector calculator.

Accuracy

Results are calculated in 40-digit decimal arithmetic and rounded to 12 significant figures. Special angles use their exact values rather than a decimal approximation, so sin 30° is exactly 0.5 rather than 0.49999999999999994, the result a typical floating-point library gives. Values where a function has an asymptote, such as tan 90°, are reported as undefined rather than as a huge number.

More questions

How do I memorise the exact values for 30°, 45° and 60°?

Write the sines as √0/2, √1/2, √2/2, √3/2 and √4/2 for 0°, 30°, 45°, 60° and 90°. Simplified, that is 0, 1/2, √2/2, √3/2 and 1. Cosine runs through the same list backwards. Tangent is sine divided by cosine, so tan 30° = (1/2) ÷ (√3/2) = 1/√3 = √3/3.

Why do textbooks write √3/3 instead of 1/√3?

They are equal. Multiplying top and bottom by √3 moves the root out of the denominator (rationalising it), which was the convention when values were looked up in printed tables and divided by hand. Both forms are correct; the calculator uses the rationalised one.

Can an angle be bigger than 360° or negative?

Yes. An angle measures rotation, so 400° is a full turn plus 40°, and −30° is a 30° turn clockwise. Both end in the same place as a coterminal angle between 0° and 360° (40° and 330°), so all six functions have the same values. Wheels, motors and phase angles in AC circuits routinely go past a full turn.

What is the difference between sin⁻¹ x and 1/sin x?

sin⁻¹ x is the inverse function, arcsin: the angle whose sine is x. 1/sin x is the reciprocal, cosecant. The superscript −1 means inverse function here, not a power, which is why many people prefer to write arcsin to avoid the mix-up. sin² x, on the other hand, does mean (sin x)².

Where are gradians used?

Mainly in surveying and civil engineering in parts of Europe, where a right angle of exactly 100 gradians makes slope and bearing arithmetic decimal. Many scientific calculators have a GRAD mode. ISO 80000-3 calls the unit the gon.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy