---
slug: trigonometry-calculator
title: "Trigonometry Calculator"
category: math
updated: 2026-11-17
canonical: https://calcseed.com/c/math/trigonometry-calculator/
html: /c/math/trigonometry-calculator/
---

# Trigonometry Calculator

Calculate the sine, cosine and tangent of any angle in degrees. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (30 deg), the sine is **0.5**. At these inputs: cosine = **0.87**, tangent = **0.58**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Angle | 30 | deg |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Sine | 0.5 |  |
| Cosine | 0.866025 |  |
| Tangent | 0.57735 |  |

## Formula

```text
sin(&theta;) = opposite ÷ hypotenuse, cos(&theta;) = adjacent ÷ hypotenuse, tan(&theta;) = opposite ÷ adjacent
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Angle | number | deg | 30 |

## Outputs

| Result | Format |
| --- | --- |
| Sine | primary |
| Sine | number |
| Cosine | number |
| Tangent | number |

## How it works

### What this calculator does

This calculator converts an angle in degrees into its three basic trigonometric values: sine, cosine and tangent. At the defaults, an angle of 30&deg; gives sin = 0.5000, cos = 0.8660 and tan = 0.5774. These ratios are the working vocabulary of triangles, waves and rotations, and this page computes all three at once.

### What sine, cosine and tangent are

Picture a right triangle with the angle &theta; at one corner. The side across from the angle is the opposite; the side next to it (not the slanted one) is the adjacent; the longest side, across from the right angle, is the hypotenuse. Each ratio compares two of these sides, and the ratio depends only on the angle, not the triangle&rsquo;s size — a 30&deg; triangle in a textbook and one on a highway billboard have identical sine values. The memory hook is SOH-CAH-TOA: Sine = Opposite over Hypotenuse, Cosine = Adjacent over Hypotenuse, Tangent = Opposite over Adjacent.

#### Degrees versus radians

This calculator works in degrees. Internally the angle is converted to radians first — multiply by &pi; and divide by 180 — because the math functions expect radians. 30&deg; becomes 30 × &pi; ÷ 180 ≈ 0.5236 rad. A full circle is 360&deg; or 2&pi; radians; 90&deg; is &pi;/2. If you are feeding results into programming code or calculus, radians are the standard; for reading protractors and blueprints, degrees are.

#### The identity that ties them together

For any angle, sin²(&theta;) + cos²(&theta;) = 1, and tan(&theta;) = sin(&theta;) ÷ cos(&theta;). At the defaults: 0.5² + 0.866² = 0.25 + 0.75 = 1, and 0.5 ÷ 0.866 ≈ 0.577. These two identities let you reconstruct any missing value from the other two, which is a fast error check on calculator output — if the squares do not add to 1, an input or rounding slip is hiding somewhere.

### Worked example: 30 degrees

**Step 1 — convert to radians.** 30&deg; × &pi; ÷ 180 = &pi;/6 ≈ 0.5236 rad. This is the angle the math functions actually evaluate.

**Step 2 — read the values.** sin(30&deg;) = 0.5 exactly; cos(30&deg;) = &radic;3/2 ≈ 0.8660; tan(30&deg;) = &radic;3/3 ≈ 0.5774. The 30-60-90 triangle is one of the two special triangles whose values come out in clean surds — a triangle with a 30&deg; angle has sides in ratio 1 : &radic;3 : 2.

**Step 3 — check with the identities.** 0.5² + 0.8660² = 0.25 + 0.75 = 1 and 0.5 ÷ 0.8660 ≈ 0.5774, so both identities hold. The geometric check: in a right triangle with hypotenuse 2 and a 30&deg; angle, the opposite side is 1 (so sin = 1/2) and the adjacent side is &radic;3 ≈ 1.732 (so cos = &radic;3/2).

### Key angles and their values

| Angle | sin | cos | tan |
| --- | --- | --- | --- |
| 0&deg; | 0 | 1 | 0 |
| 30&deg; | 0.5 | 0.866 | 0.577 |
| 45&deg; | 0.707 | 0.707 | 1 |
| 60&deg; | 0.866 | 0.5 | 1.732 |
| 90&deg; | 1 | 0 | undefined |
| 180&deg; | 0 | −1 | 0 |
| 270&deg; | −1 | 0 | undefined |

The 45&deg; row shows the isosceles case: opposite and adjacent are equal, so sine and cosine match and tangent is exactly 1. Tangent is undefined at 90&deg; and 270&deg; because the adjacent side has zero length there; near those angles it grows without bound — tan(89&deg;) ≈ 57.29 and tan(89.9&deg;) ≈ 572.96, roughly ten times larger for a tenth of a degree.

### What changes the values

- Range of sine and cosine: both stay between −1 and 1 for every angle, while tangent runs across all real numbers.
- Complement symmetry: sin(&theta;) = cos(90&deg; − &theta;), so sin(30&deg;) = cos(60&deg;) = 0.5; the values swap as the angle moves through 45&deg;.
- Quadrant signs: from 0&deg; to 90&deg; all three are positive; from 90&deg; to 180&deg; only sine is; from 180&deg; to 270&deg; only tangent is; from 270&deg; to 360&deg; only cosine is.
- Period 360&deg;: sin(390&deg;) = sin(30&deg;) = 0.5, because the ratios repeat every full turn.
- Triangle size is irrelevant: a 30&deg; angle has sin = 0.5 whether the hypotenuse is 2 inches or 200 feet; only the angle matters.

### Mistakes to avoid

The most common error is mode confusion: computing sin(30) on a calculator set to radians gives the sine of 30 radians, about −0.988 — a wildly wrong answer that still looks plausible. Always confirm degree mode or convert explicitly. The second error is mixing up opposite and adjacent: which side is which depends on the reference angle, and in a triangle with two acute angles each side plays both roles. The third is dividing by zero for tangent at 90&deg; — the value does not exist, and any number a calculator shows for it is an artifact.

Rounding chains are the quieter trap. If sin(30&deg;) is rounded to 0.5 and then used to recover an angle via arcsin, small roundings compound; keep 4 to 6 decimals through intermediate steps and round once at the end. The calculator&rsquo;s 6-decimal output supports this habit.

### Where these ratios show up

- Construction and DIY: a ramp rising 1 foot over a 12-foot run has tan(&theta;) = 1/12 ≈ 0.0833, so &theta; ≈ 4.76&deg;, the standard accessibility slope check.
- Roofing: a 6-in-12 pitch means tan(&theta;) = 6/12 = 0.5, so &theta; ≈ 26.57&deg;, the angle this calculator inverts.
- Navigation and surveying: bearing corrections and elevation angles are computed as inverse tangents of measured distances.
- Physics: projectile range, component forces and inclined-plane problems all start from sin and cos of one angle.
- Waves and power: sine curves describe alternating current, sound pressure and tides; 60 Hz AC completes 60 cycles per second.
- Schoolwork: SOH-CAH-TOA problems are standard from geometry through precalculus and the SAT.

The roofing example shows the workflow in miniature: measure rise and run, form the ratio, and the tangent table converts it to an angle a saw can follow. Every inverse problem — angle from ratio — is this page run backwards, and every forward problem — ratios from angle — is exactly what the defaults compute.

### Related triangle tools

When you know two sides and need the third, the Pythagorean theorem calculator handles a² + b² = c² directly, and the vector magnitude calculator applies the same squared-and-rooted logic to 3D components. Trigonometry extends the right-triangle toolkit once sides alone are not enough — whenever an angle enters the picture, these three ratios are the bridge.

## FAQ

### What is sin 30 degrees?

Exactly 0.5. In a right triangle with a 30&deg; angle, the opposite side is half the hypotenuse, which is why the ratio is one half.

### What is cos 30 degrees?

&radic;3/2 ≈ 0.8660. The adjacent side of a 30-60-90 triangle is &radic;3 times the short side, and dividing by the hypotenuse of 2 gives this value.

### How do I find the sine of an angle?

Divide the side opposite the angle by the hypotenuse. For 45&deg;, opposite and adjacent are equal, so sin = cos ≈ 0.707 and tan = 1.

### Why is tangent undefined at 90 degrees?

Tangent is opposite divided by adjacent, and at 90&deg; the adjacent side has zero length. The ratio has no defined value, and it grows without bound as the angle approaches 90&deg;.

### What is the difference between sine and cosine?

Sine uses the side opposite the angle, cosine uses the adjacent side; both divide by the hypotenuse. They swap as the angle passes 45&deg;: sin(30&deg;) = cos(60&deg;) = 0.5.

### How do I convert degrees to radians?

Multiply by &pi; and divide by 180. So 30&deg; = &pi;/6 ≈ 0.5236 rad, and a full circle of 360&deg; is 2&pi; radians.

### What is tan 45 degrees?

Exactly 1. In a 45-45-90 triangle the opposite and adjacent sides are equal, so their ratio is one — and sine and cosine both equal &radic;2/2 ≈ 0.707.

### Can sine or cosine be greater than 1?

No. Both are side lengths divided by the hypotenuse, the longest side, so they stay between −1 and 1. Tangent has no such limit.

### How do I check a trig result?

Use the identity sin² + cos² = 1. For 30&deg;: 0.5² + 0.8660² = 0.25 + 0.75 = 1, so the values are consistent.

### Why does my calculator give a wrong-looking sine?

It is probably in radian mode. The sine of 30 radians is about −0.988, while sin(30 degrees) = 0.5. Confirm the mode or convert the angle first.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-17.
- Standard right-triangle trigonometric ratios (sine, cosine, tangent).
