Cosine Calculator

Cosine Calculator

Growing AI Skill PRO

Enter Calculation

Formula

cos⁡(θ)=cos⁡(Angle×π180)\cos(\theta) = \cos\left(\text{Angle} \times \frac{\pi}{180}\right)
Usage stats

Advertisement

Results

Cosine of 120°
-0.5
Input Angle (degrees) 120°
Angle (radians) 2.094395
Cosine -0.5

Report an error on this page

What the Cosine Calculator Does

This Cosine Calculator takes a single angle measured in degrees and instantly returns two results: the angle converted to radians, and the cosine value \(\cos(\theta)\). It's a quick, no-fuss tool for students, engineers, surveyors and anyone who needs a fast trigonometric lookup without reaching for a scientific calculator or memorising the unit circle.

The Input You Provide

  • Angle (in degrees): the only field. Enter any number — positive or negative, whole or decimal. For example, 60, 90, 45.5 or -30 are all valid.

Because the cosine function is periodic, you can also enter angles larger than 360° (such as 720°) and still get a correct, sensible result.

Cosine wave graph over angles from 0 to 360 degrees showing values oscillating between 1 and -1
The cosine function oscillates smoothly between 1 and -1 as the angle increases.

The Formula Behind It

Most maths libraries expect angles in radians, so the calculator works in two steps:

  • Convert to radians: \(\text{radians} = \text{degrees} \times \frac{\pi}{180}\)
  • Apply cosine: \(\text{result} = \cos(\text{radians})\)

This mirrors exactly what the tool computes internally — first Math.toRadians(angle), then Math.cos(...) — and is why the radian value is shown alongside the cosine.

$$\cos(\theta) = \cos\left(\text{Angle} \times \frac{\pi}{180}\right)$$

Advertisement

Worked Example

Suppose you enter an angle of 60 degrees:

  • Step 1 – radians: $$60 \times \frac{\pi}{180} = 1.0472 \text{ radians}$$
  • Step 2 – cosine: $$\cos(1.0472) = 0.5$$

So \(\cos(60°) = \) 0.5, with the radian equivalent of roughly 1.0472. Try 0° (cosine = 1), 90° (cosine ≈ 0) or 180° (cosine = -1) to confirm the familiar reference values.

Unit circle showing an angle theta with the cosine value as the horizontal coordinate of the point on the circle
On the unit circle, \(\cos(\theta)\) is the x-coordinate of the point at angle \(\theta\).

Common Cosine Values for Standard Angles

The calculator converts degrees to radians with \(\theta_{\text{rad}} = \theta_{\text{deg}} \times \frac{\pi}{180}\) and then evaluates the cosine. The table lists the standard angles with their exact and decimal cosines (decimals rounded to 4 places).

Angle (degrees) Radians (multiple of π) Radians (decimal) cos(θ) exact cos(θ) decimal
0° 0 0.0000 1 1.0000
30° π/6 0.5236 √3/2 0.8660
45° π/4 0.7854 √2/2 0.7071
60° π/3 1.0472 1/2 0.5000
90° π/2 1.5708 0 0.0000
120° 2π/3 2.0944 −1/2 −0.5000
135° 3π/4 2.3562 −√2/2 −0.7071
150° 5π/6 2.6180 −√3/2 −0.8660
180° π 3.1416 −1 −1.0000
270° 3π/2 4.7124 0 0.0000
360° 2π 6.2832 1 1.0000
Advertisement

Interpreting the Cosine Value by Quadrant

On the unit circle, \(\cos(\theta)\) is the x-coordinate of the point reached by rotating counterclockwise by θ from the positive x-axis. In a right triangle, it equals the ratio of the adjacent side to the hypotenuse: \(\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}\). The value always lies between −1 and 1.

Sign by quadrant

  • 0° to 90° (Quadrant I): cosine is positive, falling from 1 to 0.
  • 90° to 270° (Quadrants II and III): cosine is negative, reaching −1 at 180°.
  • 270° to 360° (Quadrant IV): cosine is positive again, rising from 0 to 1.

Cosine is zero at exactly 90° and 270° (plus any multiple of 360° added to them).

Key identities

  • Even symmetry: \(\cos(-\theta) = \cos(\theta)\), so cos(−60°) = cos(60°) = 0.5.
  • Period of 360°: \(\cos(\theta + 360^\circ) = \cos(\theta)\), so cos(390°) = cos(30°) ≈ 0.8660.
  • Cofunction relation: \(\cos(\theta) = \sin(90^\circ - \theta)\), so cos(30°) = sin(60°).

Reference angles

The reference angle is the acute angle between the terminal side of θ and the x-axis. The cosine of any angle has the same magnitude as the cosine of its reference angle; only the sign changes according to the quadrant.

Example: for θ = 120°, the angle is in Quadrant II, so the reference angle is \(180^\circ - 120^\circ = 60^\circ\). Since \(\cos(60^\circ) = 0.5\) and cosine is negative in Quadrant II, \(\cos(120^\circ) = -\cos(60^\circ) = \) -0.5.

Frequently Asked Questions

Does it accept radians directly? No. The input field expects degrees. The calculator does the degree-to-radian conversion for you and displays both numbers.

Why is \(\cos(90°)\) not exactly zero? Floating-point conversion of \(\pi/2\) introduces a tiny rounding error, so the result may appear as a very small number like \(6.1\times10^{-17}\) instead of a perfect 0. This is normal and expected.

What range of values can the cosine output be? Always between -1 and 1, inclusive. If you ever see a result outside this range, check that you typed a valid number.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators