Trig Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free trig calculator. Find sin, cos, tan, csc, sec and cot of any angle in degrees or radians, with the quadrant, reference angle and inverse trig functions.
- sin
- 0
- cos
- 0
- tan
- 0
- csc
- 0
- sec
- 0
- cot
- 0
- Quadrant
- 0
- Reference angle
- 0
- Inverse result
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the trig calculator
- Enter an angle and choose degrees or radians.
- Read the six trig functions: sine, cosine, tangent, cosecant, secant and cotangent, plus the quadrant and the reference angle.
- For inverse trig, choose arcsin, arccos or arctan and enter a value. The result appears in degrees and radians.
Values that should be exactly zero (such as cos 90°) are shown as 0, not as tiny rounding errors. Functions that are undefined (such as tan 90°) are shown as "Undefined".
The six trigonometric functions
For an angle θ in a right triangle:
| Function | Definition | Reciprocal of |
|---|---|---|
| sin θ | opposite ÷ hypotenuse | csc θ |
| cos θ | adjacent ÷ hypotenuse | sec θ |
| tan θ | opposite ÷ adjacent (= sin ÷ cos) | cot θ |
| csc θ | hypotenuse ÷ opposite (= 1 ÷ sin) | sin θ |
| sec θ | hypotenuse ÷ adjacent (= 1 ÷ cos) | cos θ |
| cot θ | adjacent ÷ opposite (= cos ÷ sin) | tan θ |
On the unit circle (a circle of radius 1 centred at the origin), the point at angle θ has coordinates (cos θ, sin θ). This definition works for any angle, including angles over 90° and negative angles.
Exact values for common angles
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° | 0 | 1 | 0 |
| 30° (π/6) | 1/2 | √3/2 ≈ 0.866 | 1/√3 ≈ 0.577 |
| 45° (π/4) | √2/2 ≈ 0.707 | √2/2 ≈ 0.707 | 1 |
| 60° (π/3) | √3/2 ≈ 0.866 | 1/2 | √3 ≈ 1.732 |
| 90° (π/2) | 1 | 0 | Undefined |
| 180° (π) | 0 | −1 | 0 |
| 270° (3π/2) | −1 | 0 | Undefined |
Degrees and radians
Angles can be measured in degrees (a full turn is 360°) or radians (a full turn is 2π). To convert:
- Radians = degrees × π ÷ 180
- Degrees = radians × 180 ÷ π
So 30° = π/6 ≈ 0.5236 rad, and 1 rad ≈ 57.2958°. Calculators and programming languages often use radians by default, which is a common source of wrong answers: sin(30) in radians is −0.988, not 0.5. The trig calculator lets you choose. Our angle converter converts between degrees, radians, gradians and more.
Quadrants and signs
The coordinate plane is divided into four quadrants. The signs of the trig functions depend on the quadrant:
| Quadrant | Angles | sin | cos | tan |
|---|---|---|---|---|
| I | 0° to 90° | + | + | + |
| II | 90° to 180° | + | − | − |
| III | 180° to 270° | − | − | + |
| IV | 270° to 360° | − | + | − |
A mnemonic is "All Students Take Calculus": in quadrant I all are positive, in II sine, in III tangent, and in IV cosine.
Reference angles
The reference angle is the acute angle between the terminal side of the angle and the x-axis. The trig values of any angle equal those of its reference angle, with the sign set by the quadrant. For 150°, the reference angle is 30°, so sin 150° = sin 30° = 0.5 (positive in quadrant II), and cos 150° = −cos 30° ≈ −0.866.
Inverse trig functions
Inverse functions find an angle from a ratio:
- arcsin(x) gives an angle between −90° and 90°, for x from −1 to 1.
- arccos(x) gives an angle between 0° and 180°, for x from −1 to 1.
- arctan(x) gives an angle between −90° and 90°, for any x.
These are the principal values. Other angles have the same sine, cosine or tangent too (for example, sin 30° = sin 150° = 0.5), so in real problems you may need to choose the angle that fits the situation.
Key identities
- sin²θ + cos²θ = 1
- tan θ = sin θ ÷ cos θ
- 1 + tan²θ = sec²θ
- sin(90° − θ) = cos θ
- sin(−θ) = −sin θ, cos(−θ) = cos θ
- sin 2θ = 2 sin θ cos θ
Where trigonometry is used
- Construction and design: roof angles, ramps, stairs and slopes. See the right triangle calculator and the triangle calculator.
- Physics and engineering: waves, oscillations, forces and alternating current.
- Navigation and GPS: bearings and distances on the Earth's surface.
- Computer graphics and games: rotating objects and calculating directions.
- Music and sound: sound waves are sine waves.
- Astronomy: positions of stars and planets.
A worked example
Priya is designing a solar panel mount and needs the panel tilted at 35° from horizontal. The panel is 1.7 m long.
In the trig calculator, with 35°: sin 35° = 0.5736 and cos 35° = 0.8192.
- Height of the raised edge: 1.7 × sin 35° = 0.975 m
- Horizontal depth of the mount: 1.7 × cos 35° = 1.393 m
To check her work, she uses arctan with 0.975 ÷ 1.393 = 0.7 and gets 34.99°, essentially 35° after rounding.
Who uses a trig calculator
Students use it for trigonometry, precalculus and physics. Engineers, architects and builders use it for angles and slopes. Programmers use it in graphics and simulations, and teachers use it to prepare examples.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
The unit circle
The unit circle is the easiest way to understand trigonometry beyond right triangles. It's a circle of radius 1 centred at the origin. For any angle measured anticlockwise from the positive x-axis, the point where the angle's line meets the circle has coordinates (cos θ, sin θ). At 0°, that point is (1, 0), so cos 0° = 1 and sin 0° = 0. At 90°, it's (0, 1). At 180°, it's (−1, 0). This picture explains why sine and cosine always stay between −1 and 1, why they change sign in different quadrants, and why they repeat every 360°.
Why tangent is undefined at 90°
Tangent equals sine divided by cosine. At 90° and 270°, cosine is exactly zero, so tangent would mean dividing by zero, which is undefined. As the angle gets close to 90°, tangent grows without limit: tan 89° ≈ 57.29 and tan 89.9° ≈ 572.96. The trig calculator reports tangent as undefined at these angles instead of showing a huge, misleading number caused by rounding. Secant (1 ÷ cos) is undefined at the same angles, while cosecant and cotangent are undefined at 0°, 180° and 360°, where sine is zero.
Sine and cosine waves
If you plot sin θ against θ, you get a smooth wave that repeats every 360°, or 2π radians. The cosine wave has exactly the same shape, shifted 90° to the left. These waves describe anything that repeats regularly: sound, alternating current, tides, the swing of a pendulum and the motion of a spring. In a sound wave, the height of the wave sets the volume and how quickly it repeats sets the pitch. That's why trigonometry turns up throughout physics, engineering and music technology.
Using a trig calculator to check homework
When you solve a trigonometry problem by hand, a trig calculator is a quick way to check each step. Work out the angle or side yourself first, then enter the angle to confirm the sine, cosine or tangent values you used. Pay attention to the angle mode: most textbook problems use degrees, but calculus and physics problems often use radians. A common error is getting sin 30 = −0.988, which is what you get when 30 is read as radians instead of degrees. The trig calculator labels the unit clearly so that mistake can't happen unnoticed.
Exact values versus decimals
Some angles have exact trigonometric values written with square roots. For example, sin 60° = √3 ÷ 2, which is about 0.8660, and cos 45° = √2 ÷ 2, which is about 0.7071. Exams often expect the exact form, while engineering work uses decimals. The trig calculator shows the decimal value, and for common angles such as 30°, 45° and 60° you can compare it with the exact values in the table above.
Angles larger than 360° and negative angles
Trigonometric functions repeat every 360°, so an angle of 390° has the same sine, cosine and tangent as 30°. Negative angles are measured clockwise: −30° points to the same place as 330°. Sine and tangent change sign for negative angles, so sin(−30°) = −0.5, while cosine doesn't, so cos(−30°) = cos 30° ≈ 0.8660. The trig calculator accepts any angle, positive or negative and of any size, and also shows which quadrant the angle falls in and its reference angle. This is useful for rotations in engineering and animation, where angles often build up past a full turn.
A memory aid for signs
To remember which functions are positive in each quadrant, many students use the phrase "All Students Take Calculus". Starting in the first quadrant and moving anticlockwise: All functions are positive in the first, Sine in the second, Tangent in the third, and Cosine in the fourth.
Sources and further reading
- Trigonometric functions on Wikipedia: definitions and graphs.
- Unit circle on Wikipedia: the circle definition of sine and cosine.
- List of trigonometric identities on Wikipedia.
Frequently asked questions
What is sin 30°?
0.5.
What is cos 60°?
0.5.
Why is tan 90° undefined?
Because cos 90° is 0, and tan = sin ÷ cos, which would mean dividing by zero.
How do I convert degrees to radians?
Multiply by π and divide by 180. 90° = π/2 ≈ 1.5708 rad.
Why does my calculator give a different answer?
It's probably set to radians instead of degrees, or the other way round.
Is the trig calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.