Cosine Calculator: cos θ in Degrees or Radians with Exact Values
By FindMySum · Last reviewed
A cosine calculator finds cos θ for any angle you type, in degrees, radians, multiples of π or gradians. For the special angles it gives the exact value (cos 60° = 1/2, cos 45° = √2/2, cos 30° = √3/2); for the rest, a decimal to 12 significant figures. It also draws the angle on the unit circle, says which quadrant it ends in and whether cosine is positive or negative there, shows the secant (1/cos θ), and lists cosine at every standard angle from 0° to 360°.
What cosine measures
Right-triangle view: for an acute angle θ, cos θ = adjacent side ÷ hypotenuse. A 4 m rafter pitched at 25° covers a horizontal span of 4 × cos 25° ≈ 3.63 m. Cosine tells you how much of a slanted length lies along the base.
Unit-circle view: turn a ray from the positive x-axis by θ until it meets the circle of radius 1. The meeting point is (cos θ, sin θ), so cos θ is the horizontal position of that point: 1 at the far right, 0 at the top and bottom, −1 at the far left. This view defines cosine for every angle, including obtuse, negative and multi-turn ones.
The default example: cos 60°
The calculator opens at 60°. Fold an equilateral triangle in half and you get a 30-60-90 triangle whose short side, next to the 60° angle, is half the hypotenuse. So cos 60° = 1/2. The reciprocal line gives sec 60° = 2, and the cofunction line gives sin 30° = 1/2, because cos θ = sin(90° − θ).
Exact cosine values
| θ | 0° | 30° | 45° | 60° | 90° | 120° | 135° | 150° | 180° | 270° |
|---|---|---|---|---|---|---|---|---|---|---|
| cos θ | 1 | √3/2 | √2/2 | 1/2 | 0 | −1/2 | −√2/2 | −√3/2 | −1 | 0 |
Cosine runs through the sine values backwards over 0°–90°, and past 90° the values turn negative: cos(180° − θ) = −cos θ, so cos 120° = −cos 60° = −1/2. The calculator's table goes on to 360°, where cosine is back to 1.
Signs and the shape of the graph
Cosine is positive right of the y-axis (quadrants I and IV) and negative left of it (quadrants II and III). It always stays between −1 and 1 and repeats every 360° (2π radians). Its graph is the sine wave shifted 90° to the left: it starts at its peak, 1 at 0°, falls through 0 at 90° to −1 at 180°, and climbs back through 0 at 270° to 1 at 360°.
Because cosine is the x-coordinate, the zeros of cosine are exactly where the ray points straight up or down, 90° and 270°. Those are the angles where tangent and secant, which divide by cos θ, are undefined.
Radians
In radian mode, cos 1 means the cosine of 1 radian (about 57.3°), which is 0.540302305868, not the cosine of 1°. Calculus formulas such as d/dx cos x = −sin x and the series cos x = 1 − x²/2! + x⁴/4! − … only hold in radians. Select "multiples of π" to type π/3 as 1/3 and get the exact answer 1/2.
The law of cosines
Cosine extends Pythagoras' theorem to every triangle. With sides a, b, c and angle C opposite c:
c² = a² + b² − 2ab cos C
When C = 90°, cos C = 0 and the formula becomes c² = a² + b². Navigation, surveying and the distance between two points given their bearings all use it. The triangle calculator solves triangles with the law of cosines and the law of sines.
Other places cosine appears
- Work and power: work done by a force F over distance d at angle θ is F d cos θ, and the power factor of an AC circuit is cos φ.
- Dot products: the angle between two vectors u and v satisfies cos θ = (u · v) / (|u| |v|), the basis of the vector calculator and of "cosine similarity" in search engines and machine learning.
- Daylight and solar panels: the sunlight falling on a surface is proportional to the cosine of the angle between the sun and the surface's perpendicular.
Related calculators
See the sine and tangent calculators for the other basic functions and the secant calculator for 1/cos θ. The trigonometry calculator shows all six functions and turns a cosine back into an angle.
More questions
What is cos 0°?
1, the largest value cosine takes. At 0° the point on the unit circle is (1, 0), all the way to the right.
What is cos 180°?
−1. At 180° the point is (−1, 0), all the way to the left, the smallest value cosine reaches.
Is cosine even or odd?
Even: cos(−θ) = cos θ. Turning 60° clockwise or counter-clockwise lands at the same horizontal position, so cos(−60°) = cos 60° = 1/2.
What is the reciprocal of cosine?
Secant: sec θ = 1/cos θ, undefined wherever cos θ = 0. It is not the same as cos⁻¹ x (arccos), the angle whose cosine is x.
How do I find an angle from its cosine?
Use the inverse cosine, arccos (cos⁻¹). arccos(0.5) = 60°. The answer is always between 0° and 180°; other angles with the same cosine are its negative and anything a full turn away. The trigonometry calculator's inverse mode does this.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.