Math calculators

Cos Calculator

Updated Jul 18, 2026 By Jehan Wadia
Rate Formulas

Cosine Calculator

Cosine calculator inputs
Enter an angle, choose the unit, or click π to insert 3.14159…
cos(α)
0.707107
cos(45°) = 0.707107

Need the inverse? Try the Arccos (cos⁻¹) Calculator

Step-by-Step Solution
Graph of cos(α)

Advanced: Evaluate cos() Expressions

Supports cos(value deg/rad), pi, + − × ÷, ^ (power), and parentheses. Press Enter to evaluate. Bare numbers inside cos() are treated as radians.
cos(45°) + 1 = 1.707107

Introduction

This cosine calculator finds the exact value of cos(α) for any angle you type in. Enter your angle in degrees or radians, and the tool gives you the answer right away. It also shows a step-by-step solution so you can see how the math works.

The cosine function is one of the main functions in trigonometry. It tells you the ratio of the side next to an angle over the longest side (the hypotenuse) in a right triangle. You use it in geometry, physics, engineering, and many other fields. The value of cosine always falls between −1 and 1.

You can pick how many decimal places you want in your result, copy the answer with one click, and view a graph that plots the cos wave around your chosen angle. There is also an advanced expression evaluator that lets you type full math expressions like cos(60deg) + cos(90deg) and get a combined result.

How to Use Our Cosine Calculator

Enter an angle and choose your settings below. The calculator will return the exact cosine value (cos) of that angle along with a step-by-step solution and a graph.

Angle (α): Type the angle you want to find the cosine of into the input box. You can use whole numbers or decimals. Click the π button to insert the value of pi.

Angle Unit: Pick Degrees (°) or Radians (rad) from the dropdown menu to match your angle. If you need help converting between units, remember that a full circle is 360° or 2π radians. You can also use our angle calculator for quick conversions.

Decimal Places: Choose how many decimal places you want in your answer. The default is 6. For more control over rounding, see our sig fig calculator.

Calculate: Press the Calculate button or hit Enter to get your result. The cosine value, a full formula, step-by-step work, and a graph will appear right away.

Copy: Click the Copy button next to the result to copy the cosine value to your clipboard.

Advanced Expression: Use the expression box to solve more complex problems like cos(45deg) + 1. You can combine cos() with addition, subtraction, multiplication, division, and exponents. Press Calculate or hit Enter to evaluate.

What Is Cosine?

Cosine (often written as cos) is one of the main functions in trigonometry. It connects an angle of a right triangle to the ratio of two of its sides. Specifically, the cosine of an angle equals the length of the adjacent side (the side next to the angle) divided by the length of the hypotenuse (the longest side of the triangle). To explore all three primary trig functions together, try our trig calculator.

The Cosine Formula

The basic formula is:

cos(α) = adjacent ÷ hypotenuse

Here, α (alpha) is the angle you are working with. The result of cos(α) is always a number between −1 and 1. If you know two sides of a right triangle and need to find the hypotenuse, the Pythagorean theorem calculator can help.

Degrees vs. Radians

Angles can be measured in two common units: degrees and radians. A full circle is 360 degrees or 2π radians. To convert degrees to radians, multiply the degree value by π/180. This calculator handles both units for you automatically. Working with arc measurements? Our arc length calculator uses radians to find the length of a curved section of a circle.

Common Cosine Values

  • 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
  • cos(360°) = 1

Where Is Cosine Used?

Cosine shows up in many real-world tasks. Engineers use it to calculate forces and angles in structures. Physicists use it to study waves, sound, and light — for example, when working with a wavelength calculator. Game developers use it to move objects on a screen. Pilots and sailors use it for navigation. Any time you need to find a missing side or angle in a triangle, cosine can help. For triangles that are not right-angled, you can apply the Law of Cosines calculator or the Law of Sines calculator to solve for unknown sides and angles. Cosine is also essential in projectile motion calculations, where it breaks a launch velocity into its horizontal component.

The Cosine Wave

When you plot cosine values on a graph, you get a smooth, repeating wave. This wave starts at 1 when the angle is 0°, drops to 0 at 90°, reaches −1 at 180°, returns to 0 at 270°, and comes back to 1 at 360°. This pattern repeats forever in both directions. The shape is called a cosine wave, and it is the same as a sine wave shifted by 90°. You can visualize any trigonometric function interactively with our graphing calculator. Cosine waves are closely tied to concepts like frequency, which describes how many cycles a wave completes per second.


Formulas used

Cosine of an angle
\cos(\alpha)
Degrees to radians conversion
\alpha_{\text{rad}} = \alpha_{\text{deg}} \times \frac{\pi}{180}

Frequently asked questions

How do I switch between degrees and radians?

Use the dropdown menu next to the angle input box. Pick Degrees (°) or Radians (rad). The calculator will update your result right away based on the unit you choose.

What does the π button do?

The π button fills in the angle box with the value of pi (3.14159…). This is helpful when you work in radians, since many common angles use π.

Can I type negative angles?

Yes. You can enter any negative number as your angle. The calculator handles negative angles the same way a standard math formula does. For example, cos(−60°) equals 0.5, the same as cos(60°), because cosine is an even function.

Why does cos(90°) not show exactly 0?

Computers use floating-point math, which can produce a tiny rounding error. The result may show something like 0.000000 instead of a perfect 0. This is normal and the difference is too small to matter in real work.

What is the range of values cosine can return?

The cosine function always gives a result between −1 and 1. It can never go above 1 or below −1, no matter what angle you enter.

How do I copy the result?

Click the Copy button next to the result. The cosine value is saved to your clipboard so you can paste it anywhere you need it.

What expressions can I type in the advanced evaluator?

You can type math expressions that use cos(), numbers, pi, and the operators +, , ×, ÷, and ^ (for powers). Use deg or rad inside cos() to set the unit. For example: cos(30deg) + cos(60deg).

Are bare numbers inside cos() treated as degrees or radians?

In the advanced expression box, a bare number inside cos() is treated as radians. If you want degrees, add deg after the number, like cos(45deg).

How do I change the number of decimal places?

Use the Decimal Places dropdown. You can choose 2, 4, 6, 8, or 10 decimal places. The default is 6.

What does the graph show?

The graph draws the cosine wave over one full cycle on each side of your angle. An orange dot marks the exact point for the angle you entered so you can see where it sits on the curve.

Can I use this calculator on my phone?

Yes. The calculator is fully responsive. It works on phones, tablets, and desktop computers. All buttons and inputs resize to fit your screen.

What is the step-by-step solution for?

The step-by-step section breaks the calculation into simple parts. It shows the unit conversion (if needed), the cosine evaluation, and the final rounding. This helps you learn how the answer was found.

Is cos(0) always 1?

Yes. Whether you measure in degrees or radians, cos(0) = 1. Zero degrees and zero radians are the same angle.

Can I enter angles larger than 360°?

Yes. The calculator accepts any angle, including values above 360° or below −360°. Cosine repeats every 360° (or 2π radians), so large angles still give valid results.

What is the difference between cosine and inverse cosine?

Cosine takes an angle and gives you a number between −1 and 1. Inverse cosine (arccos) does the opposite — it takes a number between −1 and 1 and gives you an angle. Use the arccos calculator link below the result if you need the inverse.