Categories
Pages
π

Cosine Calculator

Calculate cosine of any angle in degrees or radians. Returns the value with the relevant triangle

LIVE
85
Uses
1
Select typeChoose conversion direction
2
Enter amountType the value to convert
3
Get resultsSee live conversion rates
ANGLE
:
UNIT
:

Copy the code below to embed this calculator on your website:

<iframe src="https://calculatorcafe.com/widget/cosine-calculator/" width="100%" height="500" frameborder="0" style="border:1px solid #e2e8f0;border-radius:12px"></iframe>

Free to use · Links back to CalculatorCafe

What Is Cosine?

Cosine is one of the six fundamental trigonometric functions. In a right triangle, the cosine of an angle equals the length of the adjacent side divided by the length of the hypotenuse: cos(angle) = adjacent / hypotenuse. While sine measures the vertical component of an angle, cosine measures the horizontal component. Together, sine and cosine completely describe any angle's relationship to a right triangle and to the unit circle. Enter any angle in the calculator above to find its cosine value instantly.

Common Cosine Values

The most important cosine values to memorize are: cos(0) = 1. cos(30) = 0.8660 (square root of 3 divided by 2). cos(45) = 0.7071 (square root of 2 divided by 2). cos(60) = 0.5. cos(90) = 0. cos(180) = -1. cos(270) = 0. cos(360) = 1. Notice that cosine values are the same as sine values but shifted by 90 degrees: cos(x) = sin(90 - x). This complementary relationship gives "cosine" its name (complement of sine).

Cosine and the Unit Circle

On the unit circle, cosine equals the x-coordinate of the point where the angle's terminal side intersects the circle. Cosine is positive in the first and fourth quadrants (0 to 90 and 270 to 360 degrees) and negative in the second and third quadrants (90 to 270 degrees). The cosine function produces a wave identical in shape to the sine wave but shifted 90 degrees to the left. This phase relationship between sine and cosine is fundamental to understanding alternating current circuits, wave interference, and signal processing.

Law of Cosines

The law of cosines generalizes the Pythagorean Theorem to all triangles: c² = a² + b² - 2ab cos(C). When angle C is 90 degrees, cos(90) = 0, and the formula reduces to c² = a² + b² (the Pythagorean theorem). For any triangle where you know two sides and the included angle, the law of cosines finds the third side. It also works in reverse: knowing all three sides, you can find any angle. Surveyors, navigators, and engineers use it whenever they need to solve triangles that do not contain a right angle.

Cosine Similarity

In data science and machine learning, cosine similarity measures how similar two vectors are by calculating the cosine of the angle between them. A cosine similarity of 1 means the vectors point in the same direction (identical orientation). A value of 0 means they are perpendicular (unrelated). A value of -1 means they point in opposite directions. Search engines use cosine similarity to match search queries with documents. Recommendation systems use it to find users with similar preferences. Natural language processing uses it to measure semantic similarity between text passages.

Cosine in Physics and Engineering

The dot product of two vectors uses cosine: A dot B = |A||B|cos(theta). This determines how much of one force acts in the direction of another. When you push a box across the floor at an angle, only the cosine component of your force moves the box horizontally. A force applied at 60 degrees contributes only cos(60) = 50% of its magnitude to horizontal motion. This cosine projection appears in work calculations, electrical engineering (power factor is cosine of the phase angle), and any physics problem involving components of vectors along specific directions.

Inverse Cosine (Arccos)

The inverse cosine function, arccos or cos⁻¹, returns the angle whose cosine equals a given value. arccos(0.5) = 60 degrees because cos(60) = 0.5. The principal range of arccos is 0 to 180 degrees (0 to pi radians), meaning it always returns a non-negative angle. This function is essential for finding angles in vector calculations, determining the angle of incidence in optics, and solving any equation where the unknown is inside a cosine function.

Cosine in Everyday Applications

Solar panel installers use cosine to calculate energy output at different tilt angles. A panel tilted away from the sun by angle theta receives only cos(theta) fraction of the maximum possible energy. At a 30-degree tilt from optimal, the panel captures cos(30) = 86.6% of peak energy. Photographers use the cosine fourth law to understand light falloff at the edges of images. Navigation systems use cosine in distance calculations between coordinates on Earth's surface. Structural engineers use cosine to resolve forces into horizontal and vertical components when analyzing bridges, roofs, and support structures under angled loads.

Frequently asked questions

What is cos(60)?
cos(60 degrees) = 0.5. The adjacent side of a 60-degree angle in a right triangle is half the hypotenuse.
What is the relationship between sine and cosine?
cos(x) = sin(90-x). They are complementary functions. Cosine is the sine of the complement angle. The cosine wave is a sine wave shifted 90 degrees.
What is the law of cosines?
c² = a² + b² - 2ab*cos(C). Generalizes the Pythagorean theorem to all triangles, not just right triangles.
What is cosine similarity?
A measure of similarity between vectors. Used in search engines, recommendation systems, and machine learning to compare documents or user preferences.
What is inverse cosine?
arccos returns the angle with a given cosine value. arccos(0.5) = 60 degrees. Returns angles between 0 and 180 degrees.
What is the range of cosine?
Cosine values range from -1 to 1. cos(0) = 1 maximum, cos(180) = -1 minimum.
USER RATINGS

Rate This Calculator

Your feedback helps us improve our tools