Skip to content
Other

Trig Function Calculator

Enter any angle and choose your unit (degrees, radians, or gradians). The calculator instantly returns all six trigonometric functions: sine, cosine, tangent, cosecant, secant, and cotangent. Switch to Inverse mode to recover the angle from a known function value. The worked steps panel shows every calculation so you can follow along.

Your details

Forward mode: enter an angle and get all six function values. Inverse mode: enter a function value and get the angle.
Choose whether your angle is measured in degrees (0-360), radians (0-2π), or gradians (0-400).
The angle whose trigonometric functions you want to calculate.
°
Primary result
sin(45°) = 0.707107, cos = 0.707107, tan = 1

The main computed value for the selected mode

sin0.707107
cos0.707107
tan1
csc1.414214
sec1.414214
cot1
sin0.707107
cos0.707107
tan1
-3.7303.730180360
Angle (degrees)
Value
Angle (degrees)sincostan (clamped)
0010
50.0910.09
100.170.980.18
150.260.970.27
200.340.940.36
250.420.910.47
300.50.870.58
350.570.820.7
400.640.770.84
450.710.711
500.770.641.19
550.820.571.43
600.870.51.73
650.910.422.14
700.940.342.75
750.970.263.73
800.980.17-3.73
8510.09-2.75
9010-2.14
951-0.09-1.73
1000.98-0.17-1.43
1050.97-0.26-1.19
1100.94-0.34-1
1150.91-0.42-0.84
1200.87-0.5-0.7
1250.82-0.57-0.58
1300.77-0.64-0.47
1350.71-0.71-0.36
1400.64-0.77-0.27
1450.57-0.82-0.18
1500.5-0.87-0.09
1550.42-0.910
1600.34-0.940.09
1650.26-0.970.18
1700.17-0.980.27
1750.09-10.36
1800-10.47
185-0.09-10.58
190-0.17-0.980.7
195-0.26-0.970.84
200-0.34-0.941
205-0.42-0.911.19
210-0.5-0.871.43
215-0.57-0.821.73
220-0.64-0.772.14
225-0.71-0.712.75
230-0.77-0.643.73
235-0.82-0.57-3.73
240-0.87-0.5-2.75
245-0.91-0.42-2.14
250-0.94-0.34-1.73
255-0.97-0.26-1.43
260-0.98-0.17-1.19
265-1-0.09-1
270-10-0.84
275-10.09-0.7
280-0.980.17-0.58
285-0.970.26-0.47
290-0.940.34-0.36
295-0.910.42-0.27
300-0.870.5-0.18
305-0.820.57-0.09
310-0.770.640
315-0.710.71
320-0.640.77
325-0.570.82
330-0.50.87
335-0.420.91
340-0.340.94
345-0.260.97
350-0.170.98
355-0.091
36001
  • sin
  • cos
  • tan (clamped)

All six trig functions at 45°.

  • Pythagorean identity check: sin² + cos² = 1.000000 (should be 1.000000).
  • tan = sin/cos = 0.7071 / 0.7071 = 1.0000.
  • This angle falls in Quadrant I (both sin and cos are positive).

Next stepSwitch to Inverse mode to reverse the calculation - enter any of these values and recover the angle.

The six trigonometric functions

All six trig functions relate the angles of a right triangle to the ratios of its sides. For an acute angle in a right triangle: - Sine (sin) = opposite / hypotenuse - Cosine (cos) = adjacent / hypotenuse - Tangent (tan) = opposite / adjacent - Cosecant (csc) = hypotenuse / opposite = 1 / sin - Secant (sec) = hypotenuse / adjacent = 1 / cos - Cotangent (cot) = adjacent / opposite = 1 / tan The mnemonic SOHCAHTOA helps you remember sin, cos, and tan. The remaining three (csc, sec, cot) are simply the reciprocals. These definitions extend beyond right triangles to all real angles via the unit circle, which is why you can compute sin(270 degrees) or sin(-45 degrees).

Degrees, radians, and gradians

There are three common angle units. Degrees split a full rotation into 360 equal parts and are most familiar from everyday use. Radians are the SI standard: a full circle equals 2 pi radians (approximately 6.2832 rad), and a right angle is pi/2 rad. Gradians (also called grads or gon) split a full circle into 400 parts, so a right angle is exactly 100 grad. The conversion formulas are: radians = degrees x (pi / 180), gradians = degrees x (400 / 360). This calculator accepts all three units and converts internally before computing.

Inverse trigonometric functions

The inverse functions - arcsin, arccos, and arctan - reverse the process. Instead of entering an angle and getting a ratio, you enter a ratio and get the angle. For example, arcsin(0.5) = 30 degrees (or pi/6 radians) because sin(30 degrees) = 0.5. Because trig functions are periodic, there are infinitely many angles with the same sine. Calculators return the principal value: arcsin returns angles in the range -90 to 90 degrees, arccos returns 0 to 180 degrees, and arctan returns -90 to 90 degrees. Use Switch mode at the top of this calculator to access inverse trig.

Key identities and relationships

Several identities connect the six functions. The Pythagorean identity sin^2(x) + cos^2(x) = 1 is the most fundamental, and it follows directly from the Pythagorean theorem applied to the unit circle. Two related forms are 1 + tan^2(x) = sec^2(x) and 1 + cot^2(x) = csc^2(x). Parity identities state that sin and tan are odd functions (sin(-x) = -sin(x)), while cos is even (cos(-x) = cos(x)). Complementary-angle identities show that sin(90 deg - x) = cos(x), so sine and cosine are co-functions - as are tan/cot and sec/csc. This is where the co- prefix in cosine, cosecant, and cotangent originates.

Common angle trig values

Angle (degrees)Angle (radians)sincostancscseccot
00010undef.1undef.
30π/61/2√3/21/√322/√3√3
45π/4√2/2√2/21√2√21
60π/3√3/21/2√32/√321/√3
90π/210undef.1undef.0
1202π/3√3/2-1/2-√32/√3-2-1/√3
1353π/4√2/2-√2/2-1√2-√2-1
1505π/61/2-√3/2-1/√32-2/√3-√3
180π0-10undef.-1undef.
2703π/2-10undef.-1undef.0
3602π010undef.1undef.

Exact values of the six trig functions at frequently tested angles.

Frequently asked questions

What is the difference between sin and arcsin?

Sin takes an angle as input and returns a ratio (a number between -1 and 1). Arcsin does the reverse: it takes a ratio and returns the angle. For example, sin(30 degrees) = 0.5, while arcsin(0.5) = 30 degrees. Use forward mode for sin, and switch to inverse mode for arcsin.

Why is tan undefined at 90 degrees and 270 degrees?

Tan = sin / cos. At 90 degrees and 270 degrees, cos equals exactly zero, so the division is undefined. The same applies to sec (= 1/cos) at those angles. Similarly, csc and cot are undefined wherever sin = 0, which is at 0, 180, and 360 degrees.

How do I convert degrees to radians?

Multiply degrees by pi/180. For example, 45 degrees x (pi/180) = pi/4 rad, which is approximately 0.7854 rad. To go the other way, multiply radians by 180/pi. This calculator handles the conversion automatically when you choose the angle unit.

What does the Pythagorean identity mean?

The identity sin^2(x) + cos^2(x) = 1 says that for any angle, the squares of sin and cos always add up to exactly 1. It comes from the Pythagorean theorem applied to a point on the unit circle (a circle of radius 1 centred at the origin). Because the radius is 1, opposite^2 + adjacent^2 = 1^2 = 1, which gives sin^2 + cos^2 = 1.

What is the range of the inverse trig functions?

Arcsin returns angles from -90 to 90 degrees (-pi/2 to pi/2 rad). Arccos returns 0 to 180 degrees (0 to pi rad). Arctan returns -90 to 90 degrees (-pi/2 to pi/2 rad). These are the principal values. Because trig functions repeat every period, there are always other angles that give the same result, but by convention the inverse functions return only the angle in the principal range.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…