01

What arccos returns

Cosine maps an angle to the ratio of the adjacent side over the hypotenuse. Arccosine, written arccos(x) or cos−1(x), reverses that mapping: give it a ratio and it returns the angle.

Unlike arcsine, arccosine lives on the interval from 0° to 180°. That is not an arbitrary choice — it is the largest interval on which cosine is one-to-one. Cosine is symmetric about 0°, so arccos has to pick one half of the circle, and it picks the upper half.

Definitiony = arccos(x)  ⟺  cos(y) = x  and  0° ≤ y ≤ 180°
  • Domain: −1 ≤ x ≤ 1.
  • Range: 0° to 180°, or 0 to π radians.
  • Symmetry: arccos(−x) = 180° − arccos(x). The curve is symmetric about the point (0, 90°).
  • Derivative: d/dx arccos(x) = −1/√(1 − x²), always negative, so the curve only falls.
02

How to calculate inverse cosine

One formula, evaluated numerically by every calculator:

Formulaθ = arccos(x) = arccos(adjacent ÷ hypotenuse)
  1. Form the ratio. Adjacent divided by hypotenuse. If the result falls outside [−1, 1], the triangle is impossible.
  2. Apply arccosine. arccos(0.5) = 60°, arccos(0) = 90°, arccos(−1) = 180°.
  3. Convert the unit. Radians × 180/π gives degrees; degrees × π/180 gives radians.

Why arccos(0) is 90° and not −90°. Cosine is zero at both ±90°, and infinitely often beyond that. Arccosine returns the one inside 0°–180°, which is +90°.

03

Why negative inputs give obtuse angles

This is the single biggest difference between arccos and arcsin. Feed arccosine a negative number and it returns an angle greater than 90°; feed arcsine a negative number and it returns a negative angle.

The reason is geometric. A negative cosine means the adjacent side points backwards relative to the angle — the angle has opened past a right angle into the second quadrant. There is no way to represent that with a negative angle inside arccosine's range, because its range starts at 0°.

Same input, different inverse function
xarccos(x)arcsin(x)
0.560°30°
090°0°
−0.5120°−30°
−1180°−90°

Note the pattern: for any x in [−1, 1], arccos(x) + arcsin(x) = 90°. The two angles are the complementary pair of the same right triangle.

04

Worked examples

A roof pitch

A roof rafter is 6 m long and covers 4.5 m horizontally. The cosine of the pitch is 4.5 ÷ 6 = 0.75, so the pitch is arccos(0.75) ≈ 41.41°. Steep enough that most roofing standards require extra fixings.

Finding an interior angle

In a triangle with sides 5, 6 and 7, the angle opposite the side of length 7 satisfies the cosine rule: cos(C) = (25 + 36 − 49)/(2·5·6) = 0.2, so C = arccos(0.2) ≈ 78.46°.

A negative ratio

arccos(−0.8660) = 150°. The obtuse result is correct: the ratio is negative, so the angle must be past 90°.

05

Common inverse cosine values

Click any row to load the value into the calculator above.

Standard arccosine values
x (cosine value)arccos(x) degreesarccos(x) radiansExact
10°00
0.866030°0.5236π/6
0.707145°0.7854π/4
0.560°1.0472π/3
090°1.5708π/2
−0.5120°2.09442π/3
−0.7071135°2.35623π/4
−0.8660150°2.61805π/6
−1180°3.1416π
06

Where arccosine is used

  • The cosine rule — recovering any triangle angle from three side lengths, the standard alternative to measuring with a protractor.
  • Dot products — the angle between two vectors is arccos(a·b / (|a||b|)), which is how similarity scores and lighting models are computed.
  • Statics and structures — resolving forces along a member requires the angle between the member and the load, usually from a cosine.
  • Robotics — joint limits are often expressed as arccos of a reach ratio, because the law of cosines governs the elbow.

In every case the pattern is the same: the ratio is measurable, the angle is not, and arccosine bridges the gap.

07

Mistakes worth avoiding

cos−1(x) is not sec(x). The reciprocal of cosine is secant. Arccosine returns an angle between 0° and 180°; secant returns a ratio that is never between −1 and 1.

  • Expecting a negative angle. arccos(−0.5) is 120°, not −120°. If you need a signed angle for a full-circle problem, use atan2 instead.
  • Forgetting the range when solving equations. cos(θ) = 0.5 has solutions 60°, 300°, 420°… — arccos gives you 60°, and you supply the rest using 360° − θ.
  • Rounding the ratio too early. Near x = ±1 the derivative blows up, so a two-decimal ratio can shift the angle by a degree.
?

Frequently asked questions

What is arccos(0.5)?

60°, or π/3 radians. A cosine of 0.5 means the adjacent side is half the hypotenuse, which is exactly the 30–60–90 triangle seen from the 60° corner.

Why does arccos return values between 0° and 180°?

Because cosine is one-to-one on that interval. Any wider range would give two answers for the same input, and arccos has to return a single value to be a function.

Is arccos the same as 1/cos?

No. 1/cos(x) is sec(x), a ratio. arccos(x) is an angle. The superscript −1 means inverse function, not reciprocal.

How do I calculate arccos in Excel?

Use =ACOS(x), which returns radians, or =DEGREES(ACOS(x)) for degrees. Inputs outside −1 to 1 return #NUM!.

What is the relationship between arccos and arcsin?

arccos(x) + arcsin(x) = 90° for every x in [−1, 1]. They are the two acute angles of the same right triangle.

What is arccos of a negative number?

An angle between 90° and 180°. For example arccos(−0.5) = 120°. The negative cosine places the angle in the second quadrant.