Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the ACOS function. |
Examples
Arccosine of 0.5
=ACOS(0.5)
Angle between vectors
=DEGREES(ACOS(SUMPRODUCT(A1:A3,B1:B3)/(SQRT(SUMSQ(A1:A3))*SQRT(SUMSQ(B1:B3)))))
Right triangle angle
=DEGREES(ACOS(4/5))
Common Errors
Input must be between -1 and 1. =ACOS(2) returns #NUM! because no angle has a cosine of 2.
Non-numeric input returns #VALUE!.
Tips
The angle between two vectors = ACOS(dot_product / (magnitude1 × magnitude2)). This is one of the most common uses of ACOS.
ACOS always returns a value between 0 and π (0° to 180°). It never returns negative angles.
ASIN(x) + ACOS(x) = π/2 (90°). If you know the arcsine, you can get the arccosine by subtracting from π/2.
Try ACOS in Viztab
Import your data and use ACOS with 370+ other formulas. No signup required.
Open Viztab