What is Cosine? Understanding cos(x), Formula, Theorem & Applications
Cosine (cos) is one of the six core trigonometric functions, fundamental to mathematics, physics, engineering, and computer science. Defined in a right-angled triangle, cos(θ) = Adjacent side ÷ Hypotenuse. On the unit circle, cos(θ) represents the x-coordinate of the point at angle θ measured from the positive x-axis, and the sine represents the y-coordinate. This elegant relationship makes cosine indispensable across sciences.
The Cosine Rule (Law of Cosines)
The Law of Cosines generalises the Pythagorean theorem for any triangle. Given a triangle with sides a, b, c and the angle C opposite side c: c² = a² + b² − 2ab·cos(C). When C = 90°, cos(90°) = 0 and the formula reduces to the familiar Pythagorean theorem, confirming its correctness. This rule is vital for solving oblique (non-right) triangles in surveying, navigation, and structural analysis.
c² = 25 + 49 − 2(5)(7)·cos(60°) = 74 − 70×0.5 = 74 − 35 = 39 → c ≈ 6.245
Key Cosine Values to Remember
Memorising benchmark cosine values accelerates problem-solving. cos(0°) = 1, cos(30°) = √3/2 ≈ 0.866025, cos(45°) = √2/2 ≈ 0.707107, cos(60°) = 0.5, cos(90°) = 0, cos(180°) = −1. The function is periodic with period 360° (2π radians) and its values always remain between −1 and 1 inclusive.
How to Use This Bulk Cosine Calculator
Our tool supports two modes. For a single angle, type the value in degrees or radians, set your decimal precision (up to 15 places), and click Compute cos(θ). The result panel shows not just the cosine but also related values — sine, tangent, secant, arc-cosine, and more — mirroring the comprehensive approach of professional calculators. For bulk processing, paste multiple angles (one per line) or upload a CSV/TXT file. The tool validates each entry in real time, skipping blank rows and flagging non-numeric data, so you always get clean output.
Real-World Applications of Cosine
Cosine is everywhere. In physics, work done by a force is W = F·d·cos(θ), where θ is the angle between force and displacement. In signal processing, cosine waves are the building blocks of Fourier transforms. In computer graphics, cosine is used in Phong shading to compute diffuse lighting intensity. Navigation uses the Haversine formula — built on cosines — to calculate great-circle distances between GPS coordinates. Audio engineering uses cosine-based window functions (Hann, Hamming) to reduce spectral leakage. Even in finance, cosine similarity measures the similarity between portfolio vectors.
Cosine vs Sine vs Tangent
While cosine gives the ratio of adjacent to hypotenuse, sine gives opposite to hypotenuse, and tangent = sine/cosine = opposite/adjacent. The Pythagorean identity ties them together: sin²(θ) + cos²(θ) = 1. From cosine you can derive secant: sec(θ) = 1/cos(θ), and the inverse function arccos returns the angle whose cosine equals a given value (domain −1 to 1, range 0° to 180°).
Whether you are a student verifying homework, an engineer processing survey data, or a developer pre-computing lookup tables, this free bulk cosine calculator saves hours. Upload a CSV with thousands of angles, choose degrees or radians, and download a ready-to-use spreadsheet in seconds — no software installation, no account required.