Beginner

Sin Cos Tan Calculator

Compute all six trigonometric ratios — sine, cosine, tangent, cosecant, secant and cotangent — for any angle.
Enter the angle value

Angle unit

Sine
0.500000

sin of the angle

sin
0.5
cos
0.866025
tan
0.57735
csc
2
sec
1.154701
cot
1.732051
Angle in radians
0.523599
sin θ = 0.5 | cos θ = 0.866025
Step by step
  1. 1

    Convert degrees to radians

    30 × π ÷ 180 = 0.523599
  2. 2

    sin(θ)

    sin(0.523599 rad) = 0.500000
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Enter an angle in degrees or radians and this calculator returns all six trig ratios. Degrees are converted to radians (×π/180), then sin, cos and tan are computed directly, with csc, sec and cot as their reciprocals. Ratios whose denominator is zero are shown as undefined.

Formula
sin θ, cos θ, tan θ; csc θ = 1/sin θ, sec θ = 1/cos θ, cot θ = 1/tan θ
How this is calculated

Enter an angle and choose whether it is measured in degrees or radians. JavaScript trigonometric functions work in radians, so a degree value is first converted with θ_rad = θ_deg × π / 180. Radian inputs are used as-is.

The primary ratios are then evaluated directly: sin θ = Math.sin(θ), cos θ = Math.cos(θ) and tan θ = Math.tan(θ). The three reciprocal ratios follow as csc θ = 1/sin θ, sec θ = 1/cos θ and cot θ = 1/tan θ.

Reciprocal ratios are undefined where their base ratio is zero — for example sec and tan blow up near 90°, while csc and cot are undefined at multiples of 180°. In those cases the calculator reports "undefined" instead of an enormous floating-point artifact. Because of binary rounding, results at exact special angles may show tiny residuals (e.g. cos 90° as about 6e-17 rather than exactly 0).

Frequently asked questions

Use whichever your problem states. Select the matching unit and the calculator converts internally; both give identical ratios for the same physical angle.

Tangent is sin/cos, and cos 90° is zero, so tan is mathematically undefined there. Floating-point may produce a very large value, which we report as undefined.

They are the reciprocals of sin, cos and tan respectively: csc = 1/sin, sec = 1/cos, cot = 1/tan.

Also known as

sin cos tan
trig function calculator
sine cosine tangent
trig ratios
secant cosecant cotangent

APA

TG we-Calculate Editorial Team. (2026). Sin Cos Tan Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/sine-cosine-tangent-calculator

Chicago

TG we-Calculate Editorial Team. "Sin Cos Tan Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/sine-cosine-tangent-calculator.

IEEE

TG we-Calculate Editorial Team, "Sin Cos Tan Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/sine-cosine-tangent-calculator

BibTeX

@misc{wecalculate_sine_cosine_tangent_calculator, title = {Sin Cos Tan Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/sine-cosine-tangent-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?