ACOS in Google Sheets: Find Principal Angles from Cosine Ratios
Calculate Sheets arccosine with its inclusive domain, nonnegative branch, vector-angle example and precision cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: ACOS returns an angle from a cosine ratio. =ACOS(0.5)*180/PI() is expected to return 60 degrees, while the direct ACOS result is in radians.
Availability and version history
- Introduced: original service launch date is not established by the official history reviewed; Sheets has no corresponding numbered desktop release in this guide.
- Availability: documented in the rolling Google Sheets service; examples use an ordinary web spreadsheet and numeric cells.
- Checked: October 14, 2026; official ACOS reference. Documentation and independent calculations, without native Sheets execution or broader client certification.
Syntax and principal range
=ACOS(value)
Google requires a value between −1 and 1 inclusive. Because cosine has multiple inverse solutions, the function selects the angle from 0 through PI() radians. The corresponding degree range is 0 through 180.
The ratio has no degree unit to convert. Apply 180/PI() or DEGREES to the output only when a degree result is needed. Examples use English names and comma separators; check the file locale when importing formulas.
Example 1: a complete landmark table
Enter ratios 1, 0.5, 0, −0.5, −1 in A2:A6. In B2 enter and fill down:
=ACOS(A2)*180/PI()
Expected results: 0, 60, 90, 120, 180 degrees. A negative cosine produces an obtuse principal angle, not a negative output. ACOS(0) itself is approximately 1.570796327 radians.
These simple inputs provide controls for accidental use of ASIN or failure to convert the result. A radian number near 1.57 is a right angle, not an angle of 1.57 degrees.
Example 2: use an adjacent-to-hypotenuse ratio
For a constructed right triangle with adjacent side 6 and hypotenuse 10:
=ACOS(6/10)*180/PI()
Expected acute angle: approximately 53.130102354 degrees. The remaining opposite side is 8, giving the matching ASIN(8/10) result. Use ASIN for the opposite/hypotenuse relationship instead of swapping side roles unnoticed.
The lengths need compatible units and the hypotenuse must be nonzero. A ratio above one cannot describe this stated right-triangle model.
Advanced example: compare two nonzero vectors
Let u=(3,0) and v=(3,4). Their dot product is 9 and their lengths are 3 and 5. The normalized dot product is 0.6. Use:
=ACOS((3*3+0*4)/(SQRT(3^2+0^2)*SQRT(3^2+4^2)))*180/PI()
Expected angle: approximately 53.130102354 degrees. Reversing v to (−3,−4) changes the ratio to −0.6 and the expected angle to approximately 126.869897646 degrees.
This is an unsigned angle between vectors. It does not identify the clockwise or counterclockwise sense of a turn. Zero-length vectors also invalidate the normalization denominator. Keep component, length and ratio helpers visible when adapting the formula.
Advanced check: the original sign cannot always be recovered
=ACOS(COS(-120*PI()/180))*180/PI()
Expected result: 120 degrees. COS is even, so the sign of the original angle is absent from the cosine alone. ACOS correctly returns its documented principal representative.
If the task requires full direction from an origin, retain both signed coordinates and examine ATAN2 instead of expecting one cosine ratio to preserve that information.
Boundaries and troubleshooting
A normalized ratio that falls outside the domain may reflect mismatched components, a zero vector, inconsistent units or numerical rounding. Do not silently clip every result into −1 through 1 without a justified tolerance policy; a real modelling error can be hidden that way.
Google’s direct page establishes the input interval and principal branch. Exact native error labels, unusual text conversion and every extreme-precision case remain untested here. These ordinary numerical examples are independent mathematical checks for the supplied datasets.
References and verification
Worked inputs are fictional and outputs independently calculated. Approximate values are rounded mathematical expectations, not captured native results. Imported types, extreme magnitudes and a complete error/coercion matrix remain outside the tests.