Inverse Cosine Calculator
Find the angle whose cosine is a given value. Enter any number from -1 to 1 and this inverse cosine calculator returns arccos(x) in degrees and radians, recognises the exact pi values, shows the quadrant and reference angle, and walks through the working. A second mode computes the angle between two vectors from their components.
Inverse Cosine Calculator
Quick Answer
arccos(0.5) = 60.0000 degrees = 1.0472 rad, exactly pi/3, in Quadrant I with a reference angle of 60.0000 degrees. The calculator is pre-filled with 0.5 at 4 decimal places, so pressing Calculate reproduces this answer exactly.
- Quick Answer
- How to use the Inverse Cosine Calculator
- Inverse cosine is not the cosine calculator run in reverse gear
- The arccos formula
- Worked example, checked against this exact tool
- Exact values worth memorising
- How the vector mode works
- Where arccos shows up in practice
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use the Inverse Cosine Calculator
Stay on the arccos(x) tab to turn one cosine value into an angle, or switch to the vector tab to find the angle between two vectors. Type the value, pick the decimal places, and press Calculate. The result gives the angle in degrees and radians together, names the quadrant, states the reference angle, and finishes with a check line that runs the answer back through cosine to prove it lands on your input.
Inputs outside the domain get an honest error, not a forced answer. Enter 1.5 and the tool tells you the cosine value cannot be greater than 1; enter nothing and it asks for a value between -1 and 1. In vector mode, a vector whose components are all zero gets its own error, because a zero vector has no direction and therefore no angle.
Inverse cosine is not the cosine calculator run in reverse gear
The two functions move in opposite directions, and keeping them straight is the whole point of this page. The forward cosine calculator starts from an angle and produces a ratio: cos(60 degrees) = 0.5. This page starts from the ratio and recovers the angle: arccos(0.5) = 60 degrees. Same pair of numbers, opposite question. The code here proves the direction: it calls the arccosine function on your input and never asks you for an angle at all.
One subtlety follows from that reversal. Cosine is many-to-one, since cos(60 degrees) and cos(300 degrees) both equal 0.5, so a true inverse cannot exist until the output is restricted. Arccos answers with the principal value, the single angle between 0 and 180 degrees whose cosine matches, following the principal-branch definition in the NIST Digital Library of Mathematical Functions, Section 4.23.
The arccos formula
The formula is a definition plus one conversion. Theta = arccos(x) means cos(theta) = x with theta between 0 and pi. The tool computes theta in radians first, then converts: degrees = radians times 180/pi. For vectors it uses theta = arccos((u dot v) divided by (|u| times |v|)), where the dot product and magnitudes come from the components; the standalone dot product calculator shows that numerator on its own.
Worked example, checked against this exact tool
Take x = 0.5 at the pre-filled 4 decimal places. Step 1 checks the domain: -1 is less than or equal to 0.5, which is less than or equal to 1. Step 2 takes arccos: theta = 1.0472 radians (the working line shows 1.047198 at 6 places before rounding). Step 3 converts: 1.047198 times 180/pi = 60.0000 degrees. The tool adds Quadrant I, a reference angle of 60.0000 degrees, and the exact value pi/3. The check line confirms cos(60.0000 degrees) = 0.5000, matching the input. In vector mode with u = (1, 2, 3) and v = (4, 5, 6): the dot product is 32.0000, |u| = 3.7417, |v| = 8.7750, the cosine is 0.974632, and the angle is 12.9332 degrees = 0.225726 rad. Both examples reproduce exactly in the calculator above.
Exact values worth memorising
Nine inputs earn an exact pi form instead of a decimal, and the tool detects each one within a tolerance of one billionth, so typing 0.8660254 gets the decimal treatment while the true square-root value gets the exact label.
| x | arccos(x) in degrees | Exact value |
|---|---|---|
| 1 | 0 | 0 |
| 0.8660254 (root 3 over 2) | 30 | pi/6 |
| 0.7071068 (root 2 over 2) | 45 | pi/4 |
| 0.5 | 60 | pi/3 |
| 0 | 90 | pi/2 |
| -0.5 | 120 | 2pi/3 |
| -0.7071068 | 135 | 3pi/4 |
| -0.8660254 | 150 | 5pi/6 |
| -1 | 180 | pi |
The pattern is worth noticing: as x falls from 1 to -1, the angle climbs steadily from 0 to 180 degrees. Arccos is a decreasing function, the mirror image of cosine across the diagonal, which is exactly what an inverse should look like. The sibling pages run the same pattern for the other ratios: the inverse tan calculator covers the tangent ratio, whose domain is every real number rather than a closed interval.
How the vector mode works
The angle between two vectors comes straight from the dot product definition, rearranged. Compute u dot v, divide by the two magnitudes multiplied together, and take arccos of the result. A cosine of 1 means the vectors point the same way, 0 means perpendicular, and -1 means exactly opposite. Before the arccos step, the tool clamps the cosine into the range -1 to 1: with nearly parallel vectors, rounding can produce 1.0000002, and clamping keeps that harmless instead of crashing the calculation. Blank components count as 0, so 2D vectors work by leaving the third box empty.
Where arccos shows up in practice
Physics uses arccos to recover the angle of a force or velocity from its components. Computer graphics uses it for lighting angles and camera directions, navigation uses it inside great-circle distance formulas, and robotics uses it in inverse kinematics, where joint angles are recovered from positions. In every case the shape of the problem is the same as the one on this page: a ratio is known, an angle is not, and the ratio came from a cosine.
What competing calculators miss
CalculatorX publishes a thorough arccos specification and an exact-values table, but its tool is a bare input with no vector mode and no quadrant or reference-angle readout. CalculatorLib returns degrees and radians and stops there. HeLovesMath adds gradians and a pi-multiple display, a genuinely nice touch, yet still treats arccos as a one-number lookup. BraveCalculator describes a vector mode and precision control in its feature list, but the page buries both under generic text. None of the seven tools checked pairs the step-by-step working with a cosine check-back line, names the quadrant, and computes the vector angle from raw components in the same place. This page does all three, and says plainly that its answer is the principal value rather than pretending the other solutions do not exist.
Frequently asked questions
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- National Institute of Standards and Technology. Digital Library of Mathematical Functions, Section 4.23: Inverse Trigonometric Functions. Accessed October 22, 2026.
- Weisstein, E. W. Inverse Cosine, from MathWorld, a Wolfram Resource. Accessed October 22, 2026.
- Abramowitz, M. and Stegun, I. A. (eds.). Handbook of Mathematical Functions, Chapter 4.4: Inverse Circular Functions. Dover, 1972. Accessed October 22, 2026.
- Massachusetts Institute of Technology. MIT OpenCourseWare 18.01: Single Variable Calculus. Accessed October 22, 2026.
- GNU Project. The GNU C Library: Inverse Trigonometric Functions. Accessed October 22, 2026.
