Trig Calculator

Calculate trig instantly in your browser.

Loading calculator…

What this tool does

Calculate trig instantly in your browser. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.

How to use the Trig Calculator

  1. Enter or select angle.
  2. Enter or select angle mode.
  3. Enter or select value for inverse functions (e.g. 0.5).
  4. Read the calculated result; change any measurement to compare alternatives.

Formula

sin, cos and tan come straight from the unit circle; the reciprocals are csc = 1/sin, sec = 1/cos, cot = 1/tan, and asin/acos/atan invert the main three (output in the selected angle mode).
angle
Angle
mode
Angle mode
inv
Value for inverse functions (e.g. 0.5)

Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.

Worked example

For trig calculator, the following measurements illustrate the exact method: Angle: 30; Angle mode: deg; Value for inverse functions (e.g. 0.5): 0.5.

Inputs

  • Angle30
  • Angle modeDegrees
  • Value for inverse functions (e.g. 0.5)0.5

Result

  • sin0.5
  • cos0.87
  • tan0.58
  • csc2
  • sec1.15
  • cot1.73
  • asin(inverse value)30
  • acos(inverse value)60
  • atan(inverse value)26.57

Results explained

sin
sin from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
cos
cos from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
tan
tan from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
csc
csc from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
sec
sec from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
cot
cot from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
asin(inverse value)
asin(inverse value) from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
acos(inverse value)
acos(inverse value) from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.
atan(inverse value)
atan(inverse value) from the formula above. Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.

Frequently asked questions

sin, cos and tan come straight from the unit circle; the reciprocals are csc = 1/sin, sec = 1/cos, cot = 1/tan, and asin/acos/atan invert the main three (output in the selected angle mode).

Angles repeat every 360° (2π rad); tan, sec are undefined at 90° + 180°k and csc, cot at 0° + 180°k — shown as an asymptote note rather than a huge number.

Where mathematically meaningful, yes. Fields specify permitted ranges and undefined operations display an error.

Exact integer calculations use safe integers; decimal calculations use browser floating point, so small rounding differences can occur.

All values remain in your browser and are never uploaded.