Trigonometry Calculator

sin θ0.5
cos θ0.866
tan θ0.5774
csc θ2
sec θ1.1547
cot θ1.7321
Angle in radians0.5236
How this was calculated
  1. Convert to radians first: 30° × π ÷ 180 = 0.5236 rad. On the unit circle, sin is the vertical coordinate and cos the horizontal: sin = 0.5, cos = 0.866.
  2. tan = sin ÷ cos = 0.5 ÷ 0.866 = 0.5774. The other three are reciprocals: csc = 1 ÷ sin = 2, sec = 1 ÷ cos = 1.1547, cot = 1 ÷ tan = 1.7321.
  3. Identity check: sin² + cos² = 0.25 + 0.75 = 1 — always 1, at every angle, which is the fastest way to catch a degree/radian mix-up.

A trigonometry calculator lets you enter an angle and instantly receive every major trig value. On the unit circle, sin θ is the vertical coordinate and cos θ the horizontal, while tan θ equals sin ÷ cos. The three reciprocal functions — csc, sec and cot — are simply the reciprocals of sin, cos and tan respectively. Functions are undefined where their denominator vanishes: tan and sec at 90°, csc and cot at 0°. Verified results include at 30°, sin = 0.5, cos = 0.8660, tan = 0.5774; at 45°, sin = cos = 0.7071 and tan = 1. In right-triangle mode, a 35° angle with hypotenuse 10 gives opposite 5.736 and adjacent 8.192, and the other acute angle is 55°.

This approach is the accepted standard because it rests on the identity sin²θ + cos²θ = 1 at every angle — the identity used to sanity-check any trig result. By tying each function to the unit circle and verifying outputs against this identity, the method catches errors and produces values you can trust. This page shows the formula, step-by-step workings, worked examples and sources so you can follow every calculation from input to final answer.

Worked examples

The 30° standard angle

Primary result: 0.5. (Six functions of an angle · 30 ° · 10)

sin θ0.5
cos θ0.866
tan θ0.5774
csc θ2
sec θ1.1547
cot θ1.7321
Angle in radians0.5236

45° — the isosceles case

Primary result: 0.7071. (Six functions of an angle · 45 ° · 10)

sin θ0.7071
cos θ0.7071
tan θ1
csc θ1.4142
sec θ1.4142
cot θ1
Angle in radians0.7854

Triangle: 35°, hypotenuse 10

Primary result: 5.736. (Solve a right triangle (angle + hypotenuse) · 35 ° · 10)

Opposite side5.736
Adjacent side8.192
Other acute angle55°
Hypotenuse (given)10

Six functions from one circle

A trigonometry calculator works with six functions, but they all trace back to one shape: the unit circle. Picture a circle with a radius of 1 centered at the origin of a graph. For any angle θ measured from the positive horizontal axis, the point where the angle meets the circle has two coordinates. The vertical coordinate is sin θ, and the horizontal coordinate is cos θ. These two values are the master functions because every other trigonometric function builds on them. Tan θ, for example, is simply sin θ divided by cos θ.

Verified values at common angles confirm how these coordinates behave. At 30°, sin equals 0.5 and cos equals 0.8660, which gives a tan of 0.5774. At 45°, sin and cos are equal at 0.7071, and tan equals exactly 1. The remaining three functions are reciprocals: csc θ is 1 divided by sin θ, sec θ is 1 divided by cos θ, and cot θ is 1 divided by tan θ. Together these six functions describe every relationship between an angle and the sides of a right triangle.

The same circle also powers right-triangle mode. Take a 35° angle with a hypotenuse of 10: the opposite side measures 5.736, the adjacent side measures 8.192, and the other acute angle is 55°. Those numbers come straight from sin and cos applied to the hypotenuse, so the unit circle and the triangle are two views of the same math.

One identity holds at every angle on the circle: sin²θ plus cos²θ equals 1. This equation is the standard way to sanity-check any trig result, because if the two squared values do not add up to 1, something went wrong. Functions are also undefined where their denominator vanishes. Tan and sec break down at 90°, where cos equals zero, and csc and cot break down at 0°, where sin equals zero. A reliable trigonometry calculator flags these cases rather than returning a misleading number.

sin²θ + cos²θ = 1 at every angle — use it to sanity-check any trig result before you trust it.

Worked examples

These worked examples show exactly what a trigonometry calculator produces for the angles and triangle cases you will meet most often. On the unit circle, sin θ is the vertical coordinate and cos θ is the horizontal, while tan θ equals sin divided by cos. The remaining three functions — csc, sec and cot — are simply the reciprocals of sin, cos and tan respectively, so once you know the first three values the others follow by division.

The table below lists all six function values for the verified 30° and 45° cases. At 30°, sin equals 0.5, cos equals 0.8660 and tan equals 0.5774. At 45°, sin and cos are both 0.7071 and tan equals 1. The reciprocal values are computed directly from those figures, so csc at 30° is 1 divided by 0.5, sec at 30° is 1 divided by 0.8660, and so on.

A trigonometry calculator also handles right-triangle mode, where you enter one angle and one side and it derives the rest. In the verified right-triangle case, a 35° angle paired with a hypotenuse of 10 returns an opposite side of 5.736 and an adjacent side of 8.192. The other acute angle in that triangle is 55°, because the two acute angles in any right triangle always sum to 90°.

Every result above can be checked against the identity sin²θ + cos²θ = 1, which holds at every angle and serves as the built-in sanity check for any trig calculation. You should also remember that functions are undefined where their denominator vanishes: tan and sec are undefined at 90°, while csc and cot are undefined at 0°. A reliable calculator will flag those cases rather than return a misleading number.

Anglesincostancscseccot
30°0.50.86600.577421.15471.7321
45°0.70710.707111.41421.41421
sin²θ + cos²θ = 1 at every angle — the identity used to sanity-check any trig result.

The standard angles

The standard angles every trigonometry calculator user encounters are 30°, 45°, 60°, and 90°. These come from two special right triangles. The 30-60-90 triangle has sides in the ratio 1 : √3 : 2, while the 45-45-90 triangle has sides in the ratio 1 : 1 : √2. On the unit circle, sin θ is the vertical coordinate and cos θ the horizontal, and tan θ equals sin divided by cos. Knowing these relationships lets you work out exact values without reaching for a tool.

A few exact values are worth memorising because they appear so often. At 30°, sin equals 0.5, cos equals 0.8660, and tan equals 0.5774. At 45°, sin and cos are both 0.7071, and tan equals 1. The reciprocal functions follow directly: csc, sec, and cot are the reciprocals of sin, cos, and tan respectively. So csc 30° is 1 ÷ 0.5, which is 2, and sec 45° is 1 ÷ 0.7071, which is about 1.4142.

The identity sin²θ + cos²θ = 1 holds at every angle, and it is the identity used to sanity-check any trig result. If you calculate sin 30° as 0.5 and cos 30° as 0.8660, squaring and adding them gives 0.25 + 0.75, which equals 1. This confirms both values are correct. The same check works for any angle you compute, whether it is a standard one or something less common, like the verified right-triangle case where a 35° angle with hypotenuse 10 gives an opposite side of 5.736 and an adjacent side of 8.192, with the other acute angle being 55°.

Functions are undefined where their denominator vanishes: tan and sec at 90°, and csc and cot at 0°. At 90°, cos is 0, so tan and sec have no value. At 0°, sin is 0, so csc and cot have no value. A reliable trigonometry calculator will flag these rather than return a misleading number, and understanding why they occur helps you avoid treating an error as a result.

  • 30°: sin = 0.5, cos = 0.8660, tan = 0.5774
  • 45°: sin = 0.7071, cos = 0.7071, tan = 1
  • 60°: sin = 0.8660, cos = 0.5, tan = 1.7321
  • Undefined: tan and sec at 90°, csc and cot at 0°
Use sin²θ + cos²θ = 1 to check any result. If the squares of sin and cos do not add to 1, something is wrong with the calculation.

Solving right triangles

A right triangle has one 90° angle, which means the other two angles must add up to 90° as well. When you know one acute angle plus one side, you can find every remaining side and angle using the SOH-CAH-TOA relationships. SOH tells you that sin θ equals the opposite side divided by the hypotenuse. CAH tells you that cos θ equals the adjacent side divided by the hypotenuse. TOA tells you that tan θ equals the opposite side divided by the adjacent side. These three ratios are the backbone of any trigonometry calculator built for right-triangle problems.

Consider a verified example: a right triangle with a 35° angle and a hypotenuse of 10. You need the opposite side, so you use sin 35° = opposite ÷ hypotenuse. Multiplying both sides by 10 gives opposite = 10 × sin 35°, which works out to 5.736. For the adjacent side, you use cos 35° = adjacent ÷ hypotenuse, giving adjacent = 10 × cos 35°, or 8.192. The other acute angle is simply 90° − 35° = 55°, because the two acute angles in a right triangle always sum to 90°.

Once you have all three sides, the Pythagorean theorem gives you a quick sanity check. Square the two legs and add them: 5.736² + 8.192² = 32.90 + 67.11 = 100.01. The hypotenuse squared is 10² = 100. The tiny difference is just rounding from the four-decimal side lengths, so the result is sound. This same principle is captured by the identity sin²θ + cos²θ = 1, which holds true at every angle. Plugging in the values from this triangle confirms it: sin²(35°) + cos²(35°) = 0.5736² + 0.8192² = 0.3290 + 0.6711 = 1.0001, again essentially 1 within rounding.

It helps to remember where these functions break down. Tangent and secant are undefined at 90°, because their denominators go to zero at that point. Cosecant and cotangent are undefined at 0° for the same reason. The reciprocal relationships also matter: csc θ is 1 ÷ sin θ, sec θ is 1 ÷ cos θ, and cot θ is 1 ÷ tan θ. On the unit circle, sin θ represents the vertical coordinate and cos θ the horizontal, while tan θ equals sin θ divided by cos θ. At 30°, for reference, sin equals 0.5, cos equals 0.8660, and tan equals 0.5774. At 45°, sin and cos are both 0.7071, and tan equals 1.

Always run a Pythagorean check after solving a right triangle: if the two legs squared do not nearly equal the hypotenuse squared, re-examine your work.

Where functions are undefined

A trigonometry calculator has to tell you not just what a function equals but where it fails to exist. The reason is simple: csc, sec and cot are the reciprocals of sin, cos and tan respectively, and a reciprocal blows up wherever its denominator hits zero. The same logic applies to tan itself, since tan θ = sin ÷ cos. Whenever the denominator in any of these quotients vanishes, the function is undefined at that exact angle.

On the unit circle, sin θ is the vertical coordinate and cos θ the horizontal. That picture tells you exactly where the trouble spots are. At 90° the point sits straight up at the top of the circle, so the horizontal coordinate cos 90° equals zero. Because tan θ = sin ÷ cos, tan has zero in its denominator there and is undefined at 90°. Secant shares the same denominator, so sec is also undefined at 90°. At 0° the point sits on the horizontal axis, so the vertical coordinate sin 0° equals zero. Csc θ is 1 ÷ sin θ and cot θ is 1 ÷ tan θ, so both csc and cot are undefined at 0°.

What the graph does at these spots helps you visualize the failure. As an angle climbs toward 90° from below, cos shrinks toward zero while sin stays close to 1, so tan = sin ÷ cos rockets upward toward positive infinity. Past 90°, cos turns negative and tan plunges from negative infinity, creating the characteristic vertical break in the tangent curve. The same thing happens to sec, which mirrors cos in reciprocal form. For csc and cot near 0°, sin approaches zero, so both functions shoot off toward infinity on one side and negative infinity on the other, producing another vertical asymptote at the origin of the graph.

None of this contradicts the fundamental identity sin²θ + cos²θ = 1 at every angle, the identity used to sanity-check any trig result. The identity holds at 0°, 90° and everywhere else; it just does not rescue the reciprocal functions from division by zero. A reliable trigonometry calculator flags those exact spots rather than returning a misleading number, so you can distinguish a true value from a point where the function does not exist.

  • tan and sec are undefined at 90°, where cos θ = 0
  • csc and cot are undefined at 0°, where sin θ = 0
  • At these angles the graph shoots toward infinity and shows a vertical asymptote, not a plotted point
A function is undefined only where its denominator vanishes — nowhere else. If your trigonometry calculator returns a finite number at 0° for csc or at 90° for tan, treat that result with suspicion.

Degrees vs radians

A trigonometry calculator will ask you one question before almost every calculation: should it work in degrees or radians? Both systems measure the same thing — rotation — but they slice the circle differently. A full turn is 360 degrees or 2π radians, so 1 radian equals about 57.3 degrees. The choice is not about correctness; it is about which system fits the problem you are solving.

Degrees feel natural because they divide a circle into a round, easy number. Surveyors and navigators have used degrees for centuries because bearings, headings, and property angles are easier to communicate in whole numbers. A compass bearing of 90° tells you to head due east; a surveyor might record a property corner at 35°. When a verified right-triangle mode uses a 35° angle with a hypotenuse of 10 to produce an opposite side of 5.736 and an adjacent side of 8.192, those degree inputs match how people in the field actually speak. The other acute angle in that triangle is 55°, and the two add to 90°, as they should.

Radians, by contrast, are the native language of calculus. In a calculus course, angles appear inside derivatives and integrals, and the formulas only stay clean when the angle is measured in radians. The derivative of sin θ is cos θ only when θ is in radians; switch to degrees and a conversion factor clutters every step. For pure mathematics, radians are not a preference but a requirement if you want the standard identities to hold without extra constants.

No matter which unit you select, the underlying relationships stay the same. On the unit circle, sin θ is the vertical coordinate and cos θ is the horizontal coordinate, and tan θ equals sin divided by cos. The reciprocal functions follow directly: csc, sec, and cot are the reciprocals of sin, cos, and tan, respectively. A few reference values are worth memorizing. At 30°, sin equals 0.5, cos equals 0.8660, and tan equals 0.5774. At 45°, sin and cos both equal 0.7071, and tan equals 1. These values are identical in radians once you convert the angle — the functions do not change, only the input scale does.

One identity anchors every trigonometric calculation: sin²θ + cos²θ = 1 at every angle. It is the identity used to sanity-check any trig result, and a reliable trigonometry calculator applies it behind the scenes. The same identity also exposes where functions break down. Functions are undefined where their denominator vanishes: tan and sec are undefined at 90°, where cos equals zero, and csc and cot are undefined at 0°, where sin equals zero. Knowing these boundaries in advance prevents the most common input errors, regardless of whether you are working in degrees or radians.

Always confirm the angle unit before pressing calculate. A 30° angle and a 30-radian angle produce completely different results, and mixing them up is the single most frequent source of trig errors.

FAQs

What is sin 30 degrees?

The sine of 30 degrees is exactly 0.5. The 30 degree angle is one of the standard angles with a closed-form sine, meaning it has a simple, exact value rather than an approximation. This makes it easy to work with in calculations.

What is sin 45 degrees?

Sin 45 degrees equals cos 45 degrees, both equal to the square root of 2 divided by 2, which is approximately 0.7071. This happens because the 45 degree triangle is isosceles, meaning its two legs are equal in length.

How is tan calculated from sin and cos?

To calculate tan from sin and cos, divide sin by cos. For example, at 30 degrees, sin is 0.5 and cos is 0.8660. Dividing 0.5 by 0.8660 gives 0.5774. This relationship comes directly from the definitions of these trigonometric functions in a right triangle.

How do I find the opposite side from the hypotenuse and angle?

Multiply the hypotenuse by the sine of the angle. For example, if the hypotenuse is 10 and the angle is 35 degrees, the opposite side equals 10 times sin 35 degrees, which is 5.736. Similarly, the adjacent side equals the hypotenuse times the cosine of the angle.

Why is tan 90° undefined?

Tan 90 degrees is undefined because cos 90 degrees equals 0, and tan is calculated by dividing sin by cos. Division by zero has no value, so the function has an asymptote there. This means the tangent function approaches infinity as the angle gets close to 90 degrees.

How do I convert degrees to radians?

Multiply degrees by pi divided by 180. For example, 30 degrees equals 0.5236 radians, and 45 degrees equals 0.7854 radians. This conversion factor comes from the fact that 180 degrees equals pi radians, making it simple to switch between the two angle units.

Sources

Related calculators

Pythagorean Theorem Calculator
Find the missing side of a right triangle - hypotenuse or leg - from the other two sides, with the square on the missing side and the triangle area.
Cross Product Calculator
The cross product of two 3D vectors, component by component — plus its magnitude, the dot product and the angle between the vectors.
Angle Converter Calculator
Convert angles between degrees, radians, gradians and turns — and get the coterminal angle, reference angle and quadrant that trigonometry actually works with.
Slope Calculator
Slope, angle, distance and midpoint between two points, plus the full equation of the line through them — the whole coordinate-geometry answer in one go.