Last verified · v1.0
Calculator · math
Cosine (Cos) Calculator
Compute the cosine of any angle in degrees or radians. Enter an angle value and instantly get the exact cos(theta) result.
Inputs
Cosine Value
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is Cosine?
The cosine function, written as cos(θ), is one of the six fundamental trigonometric functions. It relates an angle in a right triangle to the ratio of the adjacent side to the hypotenuse. On the unit circle — a circle with radius 1 centered at the origin — cos(θ) equals the x-coordinate of the point where the terminal side of angle θ intersects the circle.
The Cosine Formula
The defining formula is:
y = cos(θ)
where θ (theta) is the input angle and y is the resulting cosine value. The output is always a dimensionless real number in the closed interval [−1, 1]. This bounded range makes cosine especially useful for modeling periodic phenomena such as wave motion, alternating current, and seasonal cycles.
Degrees vs. Radians
The cosine function accepts angles expressed in either degrees or radians. Most scientific and graphing calculators default to radians, as described in The Open University guide to using a scientific calculator. To convert between units:
- Degrees to radians: multiply by π / 180 — e.g., 90° × π/180 = π/2 ≈ 1.5708 rad
- Radians to degrees: multiply by 180 / π — e.g., 1 rad × 180/π ≈ 57.296°
Key Reference Values
The following cosine values appear most frequently in mathematics and applied sciences:
- cos(0°) = 1
- cos(30°) ≈ 0.8660 — equivalently cos(π/6)
- cos(45°) ≈ 0.7071 — equivalently cos(π/4)
- cos(60°) = 0.5 — equivalently cos(π/3)
- cos(90°) = 0 — equivalently cos(π/2)
- cos(180°) = −1 — equivalently cos(π)
- cos(1 radian) ≈ 0.54030 — the value most often searched as cos 1
Properties and Characteristics of Cosine
The cosine function possesses several important mathematical properties that distinguish it among trigonometric functions. First, cosine is an even function, meaning that cos(−θ) = cos(θ). This symmetry about the y-axis is evident on the unit circle, where angles θ and −θ produce identical cosine values. Second, cosine is periodic with a period of 2π radians (or 360°), so cos(θ) = cos(θ + 2πk) for any integer k. This periodicity makes cosine indispensable for describing cyclical phenomena.
The cosine function is also intimately related to the sine function through the fundamental identity sin2(θ) + cos2(θ) = 1, known as the Pythagorean trigonometric identity. Additionally, the derivative of cosine with respect to θ is −sin(θ), while the indefinite integral of cosine is sin(θ) + C. These calculus relationships are essential in physics, engineering, and mathematical analysis whenever rates of change or accumulation of oscillating quantities must be studied.
How Calculators Compute Cosine
Modern calculators and processors compute cosine using the CORDIC algorithm (Coordinate Rotation Digital Computer), a shift-and-add method that iteratively rotates a vector toward the target angle until it converges on the cosine value. As analyzed by Bruce H. Edwards of the University of Florida in his paper on calculator computation methods, CORDIC achieves high precision without hardware multiplication, making it fast and power-efficient for embedded devices. According to Colorado State University's trigonometry reference, radian measure is the international standard in higher mathematics and physics, while degree measure remains common in applied fields such as surveying and architecture.
Real-World Applications
The cosine function appears across virtually every quantitative discipline:
- Physics and engineering: A force of 100 N acting at 30° from horizontal has a horizontal component of 100 × cos(30°) ≈ 86.6 N.
- Navigation and GPS: The haversine formula uses cosine to compute great-circle distances between geographic coordinates on Earth.
- Electrical engineering: Alternating current voltage follows V = Vmax × cos(ωt), where ω is angular frequency in radians per second.
- Computer graphics: Rotation matrices and Lambert's cosine law use cosine to render realistic 3D lighting and surface shading.
- Signal processing: The Discrete Cosine Transform (DCT) compresses JPEG images and MP3 audio by converting spatial or time-domain data into frequency components.
Worked Example: cos(1)
The query cos 1 can refer to two distinct calculations depending on the selected unit:
- cos(1 radian) ≈ 0.54030 — the standard mathematical result. One radian equals approximately 57.296°, placing the angle in the first quadrant where cosine is positive.
- cos(1°) ≈ 0.99985 — a very small angle close to 0°, so its cosine is nearly 1.
Always verify the angle unit before interpreting results. This calculator supports both degrees and radians and returns results to five decimal places by default.
Reference