Trigonometry Calculator

Evaluate sine, cosine, tangent, and inverse angles from degrees or right triangle sides without rewriting formulas by hand.

Tool

Calculator

Select a trigonometric function, enter an angle or triangle sides, and press Calculate.

Choose a function, then enter an angle or the matching right-triangle sides.

The results shown are for general reference and do not replace professional checks when those are required.

Overview

What this calculator does

Trigonometry ties angles to side ratios in a right triangle and to points on a circle. This calculator keeps the core patterns visible so you can move between angles, sine, cosine, tangent, and side lengths with confidence.

Angles are entered in degrees. The calculator converts degrees to radians internally when using JavaScript trigonometric functions.

How To

How to use this calculator

  1. 1

    Select the function

    Choose sine, cosine, tangent, or one of the inverse functions.

  2. 2

    Enter angle or triangle sides

    For direct functions, enter an angle in degrees or the matching sides. For inverse functions, enter the required sides.

  3. 3

    Review the value or angle

    Press Calculate to see the trigonometric value or angle in degrees with the formula and explanation.

  4. 4

    Compare or save

    Add scenarios, review recent calculations, or open the saved result in Funify Notes.

Guide

Trigonometry Guide: Sine, Cosine, Tangent, and Inverse Functions Explained

Thumbnail image for the trigonometry.

What is trigonometry

Trigonometry is the branch of mathematics that studies the relationships between angles and side lengths in triangles, especially right triangles. The word comes from the Greek words trigonon (triangle) and metron (measure). At its core, trigonometry helps you answer two fundamental questions: given an angle, what are the side ratios of a right triangle? And given two side lengths, what is the corresponding angle? These questions show up everywhere from architecture and engineering to computer graphics and physics.

In a right triangle, one of the three interior angles always measures exactly 90 degrees. The side opposite this right angle is called the hypotenuse, and it is always the longest side. The other two sides are named opposite and adjacent relative to the angle you are working with. The three primary trigonometric functions—sine (sin), cosine (cos), and tangent (tan)—are simply ratios of these side lengths. For a deeper classroom-style introduction, you can explore right triangle trigonometry explained for beginners on Google.

Right triangle side names and relationships

Before using any trigonometric function, you need to identify which side is which. The labels depend entirely on which angle you choose as your reference point (usually labeled theta, θ).

  • Opposite side: The side directly across from the angle θ. This side does not touch the angle at all.
  • Adjacent side: The side that touches θ but is not the hypotenuse. It forms one arm of the angle.
  • Hypotenuse: The side across from the 90-degree angle. It is always the longest side and never touches the right angle.

Once you label the sides correctly, the trigonometric ratios become straightforward. The beauty of these ratios is that they are dimensionless: a 3-4-5 triangle and a 30-40-50 triangle produce identical sine, cosine, and tangent values because the shape is the same even though the scale differs. This property, known as similarity, is what makes trigonometry so powerful for solving real-world measurement problems.

The six trigonometric functions

While most students start with sine, cosine, and tangent, there are actually six trigonometric functions. The three reciprocal functions—cosecant (csc), secant (sec), and cotangent (cot)—are less commonly used but appear in advanced applications. This calculator focuses on the three primary functions and their inverses.

Sine sin(θ) = opposite / hypotenuse
Cosine cos(θ) = adjacent / hypotenuse
Tangent tan(θ) = opposite / adjacent

Each function tells you something different about the triangle. Sine compares the vertical component (opposite) to the overall length (hypotenuse). Cosine compares the horizontal component (adjacent) to the hypotenuse. Tangent compares the vertical to the horizontal, which is why it grows without bound as the angle approaches 90 degrees—the adjacent side approaches zero while the opposite side remains finite.

Function Abbreviation Formula Range (for right triangles) Common use case
Sine sin opposite / hypotenuse 0 to 1 Finding height from an angle and hypotenuse
Cosine cos adjacent / hypotenuse 0 to 1 Finding horizontal distance from an angle and hypotenuse
Tangent tan opposite / adjacent 0 to infinity Finding slope or angle of elevation from two known sides
Cosecant csc hypotenuse / opposite 1 to infinity Reciprocal of sine, used in advanced wave equations
Secant sec hypotenuse / adjacent 1 to infinity Reciprocal of cosine, used in optics and lens formulas
Cotangent cot adjacent / opposite 0 to infinity Reciprocal of tangent, used in calculus and integration

Common angle values and reference table

Certain angles appear so frequently in trigonometry problems that their sine, cosine, and tangent values are worth memorizing. The angles 0°, 30°, 45°, 60°, and 90° form the foundation of most introductory coursework. The patterns in this table also help you understand how the functions behave across the first quadrant of the unit circle.

Angle (°) Angle (rad) sin(θ) cos(θ) tan(θ)
0 0 0 1 0
30 π/6 1/2 = 0.5 √3/2 ≈ 0.8660 1/√3 ≈ 0.5774
45 π/4 √2/2 ≈ 0.7071 √2/2 ≈ 0.7071 1
60 π/3 √3/2 ≈ 0.8660 1/2 = 0.5 √3 ≈ 1.7321
90 π/2 1 0 Undefined (infinite)

Notice the symmetry: as the angle increases from 0 to 90 degrees, sine rises from 0 to 1 while cosine falls from 1 to 0. Tangent starts at 0 and climbs toward infinity. This complementary relationship between sine and cosine is why sin(θ) = cos(90° − θ) for any acute angle. For a more detailed breakdown of these special angles, check the Khan Academy unit circle trigonometry course, which covers the derivation of these values step by step.

Inverse trig functions: finding angles from ratios

The inverse trigonometric functions—arcsine (asin), arccosine (acos), and arctangent (atan)—answer the reverse question: given a side ratio, what is the angle? These functions are essential when you know two side lengths of a right triangle and need to find one of the acute angles.

Arcsine θ = arcsin(opposite / hypotenuse)
Arccosine θ = arccos(adjacent / hypotenuse)
Arctangent θ = arctan(opposite / adjacent)

Each inverse function returns a principal value—a single angle within a restricted range. Arcsine returns angles between −90° and 90°, arccosine returns angles between 0° and 180°, and arctangent returns angles between −90° and 90°. This restriction exists because the trigonometric functions are periodic and many different angles can produce the same ratio. The principal value convention ensures that the inverse functions give one predictable, consistent result. For a deeper explanation of why these ranges are chosen, see the Wikipedia article on inverse trigonometric functions.

Real-world applications of trigonometry

Trigonometry is far more than an academic exercise. It is a practical tool used across dozens of fields every day. Understanding these applications not only makes the subject more interesting but also helps you see why mastering sine, cosine, and tangent matters beyond the classroom.

Field Application Trigonometric function used Real-world example
Architecture & construction Calculating roof pitch, ramp slopes, and structural loads Tangent, sine Determining the angle of a wheelchair ramp to meet ADA compliance (maximum 1:12 slope)
Navigation & surveying Measuring distances and elevations using angles Sine, cosine, tangent Surveyors use theodolites to measure angles and compute land parcel boundaries
Physics & engineering Decomposing forces into horizontal and vertical components Sine, cosine Calculating the tension in a cable holding a suspended load at a given angle
Computer graphics Rotating objects, rendering 3D scenes, and game physics Sine, cosine Rotating a character model by applying rotation matrices built from sin and cos
Astronomy Calculating distances to stars and planetary positions Sine, tangent Using parallax and small-angle approximation to measure stellar distances
Electrical engineering Analyzing alternating current (AC) waveforms and signal processing Sine, cosine Modeling household AC voltage as a sine wave at 60 Hz (or 50 Hz outside North America)

If you are interested in practical trigonometry problems involving height, distance, and angle of elevation, you can find many worked examples by searching for angle of elevation and depression real-world problems on Google.

Common mistakes and how to avoid them

Even experienced students make predictable errors when working with trigonometry. Being aware of these pitfalls will save you time and frustration.

  • Mixing up opposite and adjacent: The opposite side is across from the angle you are studying, not across from the right angle. Draw the triangle and label the sides before plugging numbers into any formula.
  • Forgetting that tangent can be undefined: At exactly 90 degrees, the adjacent side is zero, making the ratio opposite / adjacent undefined. The calculator handles this correctly, but manual calculations should check for this edge case.
  • Using the wrong mode on a calculator: This calculator always works in degrees, but many scientific calculators default to radians. Always verify your angle unit before trusting a result.
  • Assuming inverse functions give every possible answer: Arcsine, arccosine, and arctangent return a single principal angle. In unit-circle problems, there may be a second angle that produces the same sine or cosine value.
  • Entering side lengths that violate triangle rules: The hypotenuse must always be the longest side. If you enter an opposite or adjacent side that is longer than the hypotenuse, the ratio will be greater than 1, which is impossible for a right triangle.

Trigonometry formulas cheat sheet

Here is a quick reference of the most important trigonometric identities and formulas. These are the building blocks for more advanced topics like the law of sines, law of cosines, and trigonometric identities used in calculus.

  • Pythagorean identity: sin²(θ) + cos²(θ) = 1
  • Quotient identity: tan(θ) = sin(θ) / cos(θ)
  • Reciprocal identities: csc(θ) = 1 / sin(θ), sec(θ) = 1 / cos(θ), cot(θ) = 1 / tan(θ)
  • Complementary angle: sin(θ) = cos(90° − θ), tan(θ) = cot(90° − θ)
  • Law of sines: a / sin(A) = b / sin(B) = c / sin(C) for any triangle
  • Law of cosines: c² = a² + b² − 2ab · cos(C)

This calculator handles the primary functions and their inverses for right triangles. For non-right triangles, the law of sines and law of cosines extend these concepts to any triangle shape. The Khan Academy trigonometry library offers free video lessons on all of these topics, from basic ratios to advanced identities.

Further reading and resources

FAQ

Frequently asked questions

What does this calculator output?

It reports the chosen trigonometric value or the angle in degrees, together with the inputs, formula used, step-by-step work, charts, and a short interpretation.

Can I mix angles and sides in one run?

Yes. For each function the tool checks which inputs are present and uses a consistent set, either the angle in degrees or the required sides of a right triangle.

Is this suitable for right triangle problems only?

The calculator focuses on right triangle trigonometry and simple circular trigonometry. It is useful for most school and introductory applications.

Why do inverse functions return only one angle?

Arcsine, arccosine, and arctangent return a principal angle so the calculator can give one predictable result. Other angles may share the same ratio in broader unit-circle problems.

Summary

Key takeaways

  • Sine, cosine, and tangent are side ratios linked to an angle in a right triangle.
  • Inverse trigonometric functions recover an angle from a valid side ratio.
  • Angles are entered in degrees and converted to radians internally when needed.
  • The calculator highlights both the numeric result and the pattern behind it.
  • Scenario comparison and Funify Notes help with homework, revision notes, and simple teaching materials.