📐 Student & Exam Tool

Trigonometry Calculator

Calculate sin, cos, tan, cot, sec and cosec values instantly — with exact standard-angle answers, decimals, step-by-step working, inverse trigonometry, right-triangle solving, and the sine and cosine rules.

Advertisement

📐 Calculate sin, cos, tan, cot, sec, cosec

Could not read that expression. Try a format like "sin 30°" or "tan(45)".
Please enter a valid angle.
sin 30°
1/2
Exact Value1/2
Decimal Value0.5
Reference angle 30° in Quadrant 1 — all six functions are positive here.

📋 Standard Angle Reference Table

Exact values for the five angles every trigonometry student should memorize. Tap a value in the calculator above using the "Common Angles" row to see the same numbers worked out live.

θ sin θ cos θ tan θ cot θ sec θ cosec θ
010 Undefined1Undefined
30° 1/2√3/2√3/3 √32√3/32
45° √2/2√2/21 1√2√2
60° √3/21/2√3 √3/322√3/3
90° 10Undefined 0Undefined1

🔺 Right Triangle Helper

In a right triangle, the three sides are named relative to the angle θ you're studying:

θ Opposite Adjacent Hypotenuse
SOHsin θ = Opposite / Hypotenuse
CAHcos θ = Adjacent / Hypotenuse
TOAtan θ = Opposite / Adjacent
cosec θHypotenuse / Opposite
sec θHypotenuse / Adjacent
cot θAdjacent / Opposite

📐 Right Triangle Calculator

Please enter a positive length.
Please enter a positive length.
Hypotenuse
5
Angle θ36.87°
sin θ0.6
cos θ0.8
tan θ0.75
cot θ1.3333333333
sec θ1.25
cosec θ1.6666666667

↩️ Inverse Trigonometry

Please enter a valid number.
sin⁻¹(0.5)
30°

📏 Sine Rule Calculator

a / sin A = b / sin B

Enter one full pair (a known side and its opposite angle), then either the second side or the second angle — CalcHub Pro solves the one you leave blank.

Please check the values above.
Result

📐 Cosine Rule Calculator

Two Common Cases

1. Find a Side — Two Sides & the Included Angle (SAS)

a² = b² + c² − 2bc·cos A
Please enter two positive sides and an angle between 0° and 180°.
Side a
7.6803

2. Find an Angle — All Three Sides (SSS)

cos A = (b² + c² − a²) / 2bc
These side lengths cannot form a valid triangle.
Angle A44.42°
Angle B57.12°
Angle C78.46°

What is Trigonometry?

Trigonometry is the branch of mathematics that studies the relationship between the angles and side lengths of triangles. It starts with the right triangle, where six ratios — sine, cosine, tangent, cotangent, secant and cosecant — connect an angle to the lengths of the triangle's sides. Those same six functions extend naturally to any angle, which is why trigonometry underpins geometry, physics, engineering, navigation and computer graphics.

How to Use the Trigonometry Calculator

Pick a function (sin, cos, tan, cot, sec or cosec), type an angle, and choose whether it's in degrees or radians — or just type a short expression like sin 30° or tan(45) into the quick-entry box and press Parse. Press Calculate to see both the exact value (as a fraction or radical, when the angle is a standard one) and the decimal value. Press "Show Steps" for a worked derivation.

Standard Trigonometric Values

The angles 0°, 30°, 45°, 60° and 90° are called "standard angles" because their trigonometric ratios reduce to simple fractions and square roots — 30°, 45° and 60° come directly from cutting an equilateral triangle in half or from a right-isosceles triangle. Because the values are exact, teachers and exams use them constantly, and it's worth memorizing the table above rather than reaching for a calculator every time.

📐

Architecture & Construction

Roof pitches, staircases, and structural supports are all calculated using right-triangle trigonometry.

🧭

Navigation & Surveying

Bearings and distances between two known points are found with the sine and cosine rules.

🌊

Waves & Physics

Sound, light and AC electricity are all modeled with sine and cosine functions.

🎮

Graphics & Game Dev

Rotations, camera angles and lighting in 3D graphics rely on trigonometric functions.

SOH-CAH-TOA

SOH-CAH-TOA is the classic memory aid for the three primary ratios in a right triangle, relative to an angle θ:

SOH: sin θ = Opposite ÷ Hypotenuse
CAH: cos θ = Adjacent ÷ Hypotenuse
TOA: tan θ = Opposite ÷ Adjacent

The remaining three functions are simply the reciprocals: cosecant flips sine, secant flips cosine, and cotangent flips tangent.

Trigonometric Identities

These identities hold true for every angle where the functions involved are defined, and they're the algebra behind the "Show Steps" explanations above.

Reciprocal
sec θ = 1 / cos θ
Reciprocal
cosec θ = 1 / sin θ
Reciprocal
cot θ = 1 / tan θ
Quotient
tan θ = sin θ / cos θ
Quotient
cot θ = cos θ / sin θ
Product
tan θ × cot θ = 1
Pythagorean
sin² θ + cos² θ = 1
Pythagorean
sec² θ − tan² θ = 1
Pythagorean
cosec² θ − cot² θ = 1

Right Triangle Formulas

Alongside SOH-CAH-TOA, every right triangle obeys the Pythagorean theorem, which relates the two legs to the hypotenuse:

a² + b² = c²  (where c is the hypotenuse)

Use the Right Triangle Calculator above: enter the Opposite and Adjacent sides, and it returns the Hypotenuse, all six ratios, and the angle θ = tan⁻¹(Opposite ÷ Adjacent).

Sine Rule

The sine rule works for any triangle, not just right triangles. It states that the ratio of a side to the sine of its opposite angle is the same for all three sides:

a / sin A  =  b / sin B  =  c / sin C

It's most useful when you know two angles and one side (AAS/ASA), or two sides and a non-included angle (SSA). Use the Sine Rule Calculator above to solve for a missing side or angle.

Cosine Rule

The cosine rule generalizes the Pythagorean theorem to any triangle. It has three equivalent forms, one for each side:

a² = b² + c² − 2bc cos A
b² = a² + c² − 2ac cos B
c² = a² + b² − 2ab cos C

It's the right tool when you know two sides and the included angle (SAS) — to find the third side — or all three sides (SSS) — to find any angle. Both cases are available in the Cosine Rule Calculator above.

Formula Reference

A compact summary for revision:

SOH-CAH-TOA: sin=Opp/Hyp, cos=Adj/Hyp, tan=Opp/Adj

Reciprocals: cosec=1/sin, sec=1/cos, cot=1/tan

Pythagorean: sin²θ+cos²θ=1, sec²θ−tan²θ=1, cosec²θ−cot²θ=1

Sine Rule: a/sinA = b/sinB = c/sinC

Cosine Rule: a² = b²+c²−2bc·cosA

Frequently Asked Questions

A trigonometry calculator finds the sine, cosine, tangent, cotangent, secant, or cosecant of an angle. CalcHub Pro's version gives an exact answer (like 1/2 or √3/3) for standard angles, plus a decimal value, so you can check homework or verify a step in a larger problem.

Use tan θ = sin θ / cos θ. At 30°, sin 30° = 1/2 and cos 30° = √3/2, so tan 30° = (1/2) ÷ (√3/2) = 1/√3, which rationalizes to √3/3 ≈ 0.5774.

sin 30° = 1/2, exactly 0.5. It is one of the five standard angles every trigonometry student memorizes.

cos 60° = 1/2, exactly 0.5. Note that cos 60° equals sin 30° — the two angles are complementary (they add up to 90°).

tan 45° = 1. At 45°, sin and cos are equal (both √2/2), so their ratio is exactly 1.

0°, 30°, 45°, 60° and 90° are the standard angles. Their sine, cosine and tangent values come out as simple fractions or square roots because they are derived from equilateral and right-isosceles triangles, so no calculator or approximation is needed.

Degrees split a full circle into 360 equal parts. Radians measure an angle by the arc length it cuts on a unit circle, where a full circle equals 2π radians. To convert, radians = degrees × π / 180.

tan θ = sin θ / cos θ, and cos 90° = 0. Dividing by zero has no defined result, so tan 90° (and sec 90°) is undefined rather than infinite.

SOH-CAH-TOA is a memory aid for right-triangle ratios: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.

Sine, cosine and tangent, plus their reciprocals: cosecant (1/sin), secant (1/cos), and cotangent (1/tan).