Skip to content
Math & Scientific

Inverse Cos Calculator

Inverse Cos Calculator

Enter a cosine value between -1 and 1 to find the angle whose cosine equals it, shown in both degrees and radians.

Formula used: cos¹(x) = atan2(√(1 − x²), x). Degrees are the familiar 0°–180° range; radians cover 0 to π.

Inverse cosine answers one simple question: which angle has this cosine value? You type in any number between -1 and 1, and the answer appears as an angle in degrees and radians.

Cosine is a compressor. It squeezes every angle into a value between -1 and 1. Inverse cosine runs the other way: it stretches that value back into an angle. Think of it as the undo button for the cosine function.

The calculator above gives you the result in four forms: degrees, radians, a fraction of pi, and a built-in check that proves the answer is right. Everything below explains what each of those lines means and how to read them.

What Does the Inverse Cos Calculator Do?

You enter a cosine value x, which must lie between -1 and 1. The calculator returns the angle whose cosine equals x, written out in both degrees and radians.

It also expresses the angle as a fraction of pi, which is the natural way mathematicians and physicists write angles, and it verifies the answer by computing the cosine of the result and showing it matches your input.

Under the hood it uses the identity cos-1(x) = atan2(√(1 − x2), x). That form stays numerically accurate even for inputs very close to -1 or 1, where simpler formulas wobble.

How to Use the Inverse Cos Calculator

Type your cosine value into the box labeled "Cosine value (x)". Make sure it sits between -1 and 1, inclusive.

Press Calculate. The headline gives you the answer in degrees first, to four decimal places.

Read the breakdown underneath for the radian value, the fraction-of-pi form, and the check line. Each line says the same answer in a different language.

Press Reset to clear the result and run a fresh calculation.

What Inverse Cosine Means in Plain Language

Picture the unit circle. The cosine of an angle is the x-coordinate of the point sitting at that angle. Inverse cosine walks that backwards: hand it the x-coordinate and it hands back the angle.

This is why the function is also written arccos, short for arc cosine. The "arc" is the angle of the circular arc that produces the given cosine value.

The inverse only ever returns one answer, called the principal value, even though several angles can share the same cosine. The calculator follows that same convention.

Why Answers Always Fall Between 0° and 180°

Mathematicians define arccos so that its answers live in the range 0° to 180°, or 0 to π radians. This keeps the function single-valued and predictable for everyone.

Several angles can share one cosine value. The angles 60° and 300° both have a cosine of 0.5, and so do 60° and −60°. The calculator always reports the principal one: 60°.

If your problem needs an angle outside that range, you do the extra geometry yourself. A common move is subtracting the result from 360° to reach the mirror angle in the fourth quadrant.

Degrees, Radians, and the Fraction-of-Pi Line

Degrees are the everyday 0-to-180 scale you learned in school. Radians run from 0 to π and are the standard unit in calculus, physics, and programming.

The fraction-of-pi line rewrites radians as a multiple of π. A reading of 0.3333 × π means π/3, which is 60°. This form makes exact-value problems easy to recognize.

The calculator shows degrees to four decimals and radians to six decimals. That is far more precision than a pencil-and-paper problem ever needs, and enough for most engineering sketches.

The Formula Behind the Result

The calculator computes inverse cosine through the two-argument arctangent form, which handles the endpoints -1 and 1 without rounding glitches.

The formula is:

cos-1(x) = atan2(√(1 − x2), x)

To turn the radian result into degrees, the calculator multiplies by 180/π. The fraction-of-pi line comes from dividing the radian result by π.

What an Input of Exactly 1 Means

The cosine of 0° is 1, so arccos(1) = 0°. The angle with a cosine of 1 is zero degrees: no turn at all.

The fraction-of-pi line reads 0.0000 × π. The check line confirms cos(0.00°) = 1, closing the loop.

In geometry terms, this is the degenerate case. Nothing to solve, but it confirms the calculator is behaving at the boundary.

What an Input of Exactly -1 Means

The cosine of 180° is -1, so arccos(-1) = 180°. That is the largest angle the function can return.

In radians the answer is 3.141593, which the fraction-of-pi line writes as 1.0000 × π. Clean and exact.

Both endpoints are accepted without complaint. Only values strictly beyond ±1 trigger the out-of-range error.

Why Values Outside -1 to 1 Are Rejected

No real angle has a cosine beyond ±1. That is a hard fact about circles, not a limitation of the calculator.

Typing 1.5 or -2.3 gives the message "Out of range: the cosine value must be between -1 and 1." The calculator refuses to guess rather than inventing an answer.

If your value came from a measurement or an earlier calculation, recheck that step. A genuine cosine always lands inside the range, so an out-of-range number means something upstream went wrong.

Negative Inputs and Obtuse Angles

A negative cosine always produces an obtuse angle: the result lands between 90° and 180°.

For instance, arccos(-0.7071) is about 134.9995°, essentially the classic 135° unit-circle angle. The cosine is negative, so the angle has to sit in the second quadrant.

A common slip is expecting 315° for that input. The principal answer is 135°; 315° is its mirror, and you only reach it by doing the extra subtraction yourself.

The Built-in Check Line

The final line reads something like "Check: cos(60.00 deg) = 0.5" when you enter 0.5. It recomputes the cosine of the answer and displays it.

If the check value matches your original input, the result is internally consistent. This is the same verification you would do on a scientific calculator by pressing cos right after arccos.

Treat this line as confirmation, not decoration. When it agrees with your input, you can trust every line above it.

Worked Example: Finding the Angle for a Cosine of 0.5

You need the angle whose cosine is 0.5.

First: type 0.5 into the "Cosine value (x)" box and press Calculate.

The headline reads: The inverse cosine of 0.5 is 60.0000 degrees.

The radians line reads 1.047198 rad, and the fraction-of-pi line reads 0.3333 × π, which is π/3.

The check line reads: Check: cos(60.00 deg) = 0.5.

Answer: 60°. This is the classic 30-60-90 triangle angle.

Worked Example: Finding the Angle for a Cosine of -0.7071

You need the angle whose cosine is -0.7071, a negative input.

First: type -0.7071 into the box and press Calculate.

The headline reads: The inverse cosine of -0.7071 is 134.9995 degrees.

The radians line reads 2.356185 rad, and the fraction-of-pi line reads 0.7500 × π, which is 3π/4.

The check line reads: Check: cos(135.00 deg) = -0.7071.

Answer: about 135°. The negative input correctly produced an obtuse angle.

Worked Example: Finding the Angle for a Cosine of 0

You need the angle whose cosine is exactly 0.

First: type 0 into the box and press Calculate.

The headline reads: The inverse cosine of 0 is 90.0000 degrees.

The radians line reads 1.570796 rad, and the fraction-of-pi line reads 0.5000 × π, which is π/2.

The check line reads: Check: cos(90.00 deg) = 0.

Answer: 90°. Zero cosine marks the boundary between acute and obtuse angles.

Worked Example: Finding the Angle for a Cosine of 0.866

You need the angle whose cosine is 0.866, close to the exact value √3/2.

First: type 0.866 into the box and press Calculate.

The headline reads: The inverse cosine of 0.866 is 30.0029 degrees.

The radians line reads 0.523650 rad, and the fraction-of-pi line reads 0.1667 × π, which is π/6.

The check line reads: Check: cos(30.00 deg) = 0.866.

Answer: about 30°, the other acute angle of the 30-60-90 triangle.

Common Inverse Cosine Mistakes

Typing an angle into the input box is the biggest one. Arccos takes a ratio between -1 and 1, not a number of degrees.

Reading the fraction-of-pi line as plain radians is another. If it says 0.3333 × π, the radians value is about 1.0472, not 0.3333.

Some people type a rounded cosine like 0.87 and expect exactly 30°. Rounding the input shifts the answer slightly, so the result reads 29.54° instead.

Others confuse arccos with 1/cos. They are entirely different: arccos undoes the cosine, while 1/cos is the secant function.

Where Inverse Cosine Calculations Are Useful

Trigonometry homework leans on it constantly: finding an unknown angle from two known side lengths of a right triangle.

Physics uses it to recover a direction. When a force is split into horizontal and vertical components, arccos turns the components back into an angle.

Engineers and robotics programmers use it to compute joint angles from the positions of linked arms and legs.

Navigation, surveying, and game development use it to convert direction vectors into headings and bearings.

How to Interpret Your Result Correctly

The degree headline is the everyday answer. Use it for geometry problems, word problems, and anything drawn on paper.

Reach for radians when the next step involves calculus, a physics formula, or a programming library, since those all expect radians.

The fraction-of-pi line is your shortcut for exact values. A clean 0.5 or 0.3333 there usually signals a textbook angle like 90° or 60°.

Always remember the result is the principal angle. It is the only angle between 0° and 180° with that cosine, and any other valid angle comes from your own extra geometry.

Frequently Asked Questions

1. What is inverse cosine?

Inverse cosine, written arccos or cos-1, is the function that undoes cosine. You give it a cosine value between -1 and 1, and it returns the angle whose cosine equals that value, between 0° and 180°.

2. What values can I enter into the calculator?

Any number from -1 to 1, including the endpoints. Values outside that range have no real angle with that cosine, so the calculator shows an out-of-range error instead.

3. Why does arccos(0.5) give 60° and not 300°?

Both angles have a cosine of 0.5, but the calculator returns the principal value: the one angle between 0° and 180°. If you need 300°, subtract the result from 360° yourself.

4. How do I convert the radian answer into degrees?

Multiply radians by 180/π, which is about 57.2958. The calculator already does this for you, so the headline in degrees and the radian line always agree.

5. What does the fraction-of-pi line mean?

It writes the radian answer as a multiple of π. A reading of 0.5 × π equals π/2, which is 90°. It helps you spot exact angles in math and physics problems.

6. Why am I getting an out-of-range error?

You entered a number smaller than -1 or larger than 1. No real angle has a cosine beyond those bounds. Double-check your input or the calculation that produced it.

7. Is arccos the same thing as 1/cos?

No. Arccos is the inverse function: it turns a cosine value back into an angle. The expression 1/cos is the secant function, a completely different operation.

8. What happens when I enter a negative number?

You get an obtuse angle between 90° and 180°. Negative cosines come from the second quadrant of the unit circle, so the principal angle has to be larger than a right angle.

9. Can the calculator give me an angle in another quadrant?

Not directly. It always returns the principal angle between 0° and 180°. For other quadrants, combine the result with your own geometry, such as subtracting it from 360°.

10. Why does the calculator include a check line?

The check line recomputes cos of the answer and shows it equals your input. It is a quick internal proof that the result is consistent and correctly computed.

11. What formula does the calculator use?

It uses cos^-1(x) = atan2(sqrt(1 - x^2), x). This form stays accurate near the endpoints -1 and 1, where simpler approaches lose precision.

12. How many decimal places should I trust?

The calculator shows degrees to four decimals and radians to six. That precision is more than enough for homework and engineering sketches; round down to whatever your problem's significant figures allow.

13. Is there a difference between arccos and cos⁻¹ notation?

None. They are two names for the same function. Just don't confuse cos-1 with (cos)-1 as a power: it never means 1 divided by cosine.

14. Can the answer be exactly 0° or exactly 180°?

Yes. An input of exactly 1 gives 0°, and an input of exactly -1 gives 180°. These are the two endpoints of the function's range, and the calculator handles both cleanly.

15. Where is inverse cosine used in real life?

Anywhere an angle must be recovered from measured sides or components: truss and roof geometry in construction, joint angles in robotics, force directions in physics, and headings in navigation.