Skip to content

Trigonometry Calculator

sin, cos, tan, csc, sec and cot of any angle, with exact values where they exist.

Unit

Calculated on your device. Nothing you enter is sent anywhere.

sin

1/2 = 0.5

The angle is 150°, with a reference angle of 30°.

cos
−√3/2 ≈ −0.866025404
tan
−√3/3 ≈ −0.577350269
csc (1/sin)
2
sec (1/cos)
−2√3/3 ≈ −1.15470054
cot (1/tan)
−√3 ≈ −1.73205081
In radians
5π/6 ≈ 2.61799388 rad
Reference angle (°)
30

In short

Sine and cosine are the y and x coordinates of a point on the unit circle at the given angle; tangent is sine divided by cosine. The reciprocals are cosecant, secant and cotangent. For multiples of 15°, such as 30°, 45° and 150°, the values have exact forms with square roots, which the calculator shows alongside the decimals.

How it works

Definitions

tan θ = sin θ ÷ cos θ csc θ = 1 ÷ sin θ, sec θ = 1 ÷ cos θ, cot θ = 1 ÷ tan θ

Degrees and radians

radians = degrees × π ÷ 180 180° = π rad

On the unit circle, the point at angle θ is (cos θ, sin θ). The reference angle is the acute angle to the x-axis; its values are the same up to sign, and the quadrant decides the sign: sine is positive above the x-axis and cosine to the right of the y-axis. Where cos θ = 0, tangent and secant are undefined.

Worked examples

sin and cos of 150°

The reference angle is 30°, and 150° is in the second quadrant, so sin 150° = 1/2 = 0.5 and cos 150° = −√3/2 ≈ −0.866025404, as in OpenStax Algebra and Trigonometry §7.3 Example 6.

Open this example in the calculator

tan 15°

tan 15° = 2 − √3 ≈ 0.267949192 (NIST DLMF Table 4.17.1), and 15° = π/12 ≈ 0.261799388 rad.

Open this example in the calculator

3 radians in degrees

3 × 180 ÷ π = 171.887339°, which §7.1 Example 3 rounds to about 172°; sin 3 = 0.141120008.

Open this example in the calculator

Using this calculator well

  • Check the mode. sin 30 is 0.5 in degrees but −0.988 in radians; most wrong answers come from the wrong unit.
  • Remember ASTC: all functions are positive in the first quadrant, sine in the second, tangent in the third and cosine in the fourth.
  • Undefined is not an error: tan 90° has no value because the line from the origin is vertical.

Frequently asked questions

What are sin, cos and tan?

In a right triangle, sine is opposite over hypotenuse, cosine is adjacent over hypotenuse and tangent is opposite over adjacent. On the unit circle they extend to any angle: cos θ and sin θ are the x and y coordinates of the point at angle θ.

How do I convert degrees to radians?

Multiply by π and divide by 180. 90° is π/2 ≈ 1.5708 radians and 45° is π/4 ≈ 0.7854. To go back, multiply radians by 180 and divide by π: 1 radian is about 57.2958°.

What are the exact values of sin 30°, 45° and 60°?

sin 30° = 1/2, sin 45° = √2/2 and sin 60° = √3/2. Cosine runs the other way: cos 30° = √3/2, cos 45° = √2/2 and cos 60° = 1/2. Tangents are √3/3, 1 and √3.

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 180° from there. Secant is undefined at the same angles, and cosecant and cotangent wherever sin θ = 0.

Sources and methodology

  1. Algebra and Trigonometry 2e, 7.1 Angles and 7.3 Unit Circle, OpenStax, Rice University, θ/180 = θ_R/π (§7.1, Example 3: 3 rad ≈ 172°; Example 4: 15° = π/12); Table 1 special angles; Example 4: cos(5π/3) = 0.5; Example 5: reference angle of 225° is 45°; Example 6: cos 150° = −√3/2, sin 150° = 1/2, cos 5π/4 = sin 5π/4 = −√2/2 (accessed November 24, 2026)
  2. NIST Digital Library of Mathematical Functions, Table 4.17.1: Trigonometric functions, values at multiples of π/12, National Institute of Standards and Technology, sin π/12 = ¼√2(√3 − 1), tan π/12 = 2 − √3, csc π/12 = √2(√3 + 1), … through π; tan π/2 = ∞ (accessed November 24, 2026)

Rounding: Decimals are shown to 9 significant digits. Exact forms are given for multiples of 15°, from the NIST DLMF table.

Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.

Changelog
  • 1.0.0 · November 24, 2026: First published.

How we build and test calculators

Embed this calculator on your site

Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.

<iframe src="https://northcalculator.com/embed/en/trigonometry" title="Trigonometry Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>