Calculators.Life Calculator
Math

Sine Cosine Tangent Calculator

Input Parameters

Scenarios
Enter the angle value in the selected unit.
Length of leg opposite to angle α.
Length of leg adjacent to angle α.
Hypotenuse length (must be longer than leg a).

Computed Results

Sine (sin)
0.5
Cosine (cos)0.866
Tangent (tan)0.5774
Secant (sec)1.1547
Cosecant (csc)2
Cotangent (cot)1.7321
Angle (Degrees)30
Angle (Radians)0.5236

The Sine Cosine Tangent Calculator determines the six primary trigonometric ratios—sine, cosine, tangent, secant, cosecant, and cotangent—based on a given angle or the side lengths of a right triangle. It helps you quickly find these values in degrees or radians without manual computation.

How to Use the Calculator

This tool allows you to calculate trigonometric ratios using either a known angle or the lengths of a right triangle's sides. Follow these steps to get your results:

  1. Select the Calculation Mode: Choose whether you want to input an angle directly or calculate based on the sides of a right triangle (Opposite and Adjacent, or Opposite and Hypotenuse).
  2. Choose the Angle Unit: If entering an angle, select either degrees or radians.
  3. Enter the Values: Input the angle value or the required side lengths based on your selected mode.
  4. Review the Results: The calculator will display the sine, cosine, tangent, secant, cosecant, and cotangent values, along with the angle in both degrees and radians.

Formulas and Explanation

Trigonometric ratios relate the angles of a right triangle to the lengths of its sides. The primary functions are defined as follows, where α is the angle:

The reciprocal functions are:

Inputs and Outputs

FieldTypeDescription
Calculation ModeInputChoose to calculate by angle or by specific side lengths.
Angle UnitInputSelect degrees or radians for the angle input.
Angle (θ / α)InputThe measure of the angle.
Side a (Opposite to α)InputThe length of the leg opposite the angle.
Side b (Adjacent to α)InputThe length of the leg adjacent to the angle.
Side c (Hypotenuse)InputThe length of the longest side of the right triangle.
Sine (sin)OutputThe sine ratio of the angle.
Cosine (cos)OutputThe cosine ratio of the angle.
Tangent (tan)OutputThe tangent ratio of the angle.
Secant (sec)OutputThe secant ratio of the angle.
Cosecant (csc)OutputThe cosecant ratio of the angle.
Cotangent (cot)OutputThe cotangent ratio of the angle.
Angle (Degrees)OutputThe calculated or input angle in degrees.
Angle (Radians)OutputThe calculated or input angle in radians.

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different inputs:

Determine Angle from Opposite and Adjacent Sides

If you know the opposite side is 5 and the adjacent side is 12, select the "sides_ab" mode. The calculator determines the angle is approximately 22.62 degrees (0.39 radians). The resulting ratios are a sine of 0.38461538, cosine of 0.92307692, and tangent of 0.41666667.

Calculate Angle from Opposite Side and Hypotenuse

Using an opposite side of 8 and a hypotenuse of 10 in "sides_ac" mode, the angle is calculated as 53.13 degrees (0.93 radians). The sine is 0.8, cosine is 0.6, and tangent is 1.33333333.

High Value Angle Input

If you input an angle of 1080 degrees, the calculator correctly identifies the sine as 0, cosine as 1, and tangent as 0. Because the sine is 0, the cosecant and cotangent values are undefined and display as "N/A".

Practical Use Cases

This calculator is useful for solving geometry and physics problems where right triangles are involved. It allows you to quickly find missing side lengths or angles when only partial information is known, such as determining the height of an object using its shadow and the angle of elevation of the sun, or resolving vectors into their components.

Frequently Asked Questions

What is the difference between degrees and radians?

Degrees and radians are two different units for measuring angles. A full circle is 360 degrees or 2π radians. To convert degrees to radians, multiply by π/180.

Why do some results show as 'N/A'?

Certain trigonometric functions are undefined at specific angles. For example, the tangent of 90 degrees involves dividing by zero, so the result is undefined and displayed as 'N/A'.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.