Arccos Calculator
Arccos(0.5) is 60 degrees, because the cosine of 60 degrees is one half. The input must be between -1 and 1, and the principal answer runs from 0 to 180 degrees. The side mode uses adjacent divided by hypotenuse.
Hand over a cosine value from -1 to 1, or the adjacent side and hypotenuse of a right triangle.
| Angle | |
| In radians | |
| Cosine check | |
| Complement | |
| Other solutions |
All calculations run in your browser, and nothing you type is uploaded or stored.
Enter a cosine value to get its principal angle in degrees and radians, or enter the adjacent side and hypotenuse of a right triangle.
Key takeaways
- Arccos accepts values from -1 to 1 and returns a principal angle from 0 to 180 degrees
- arccos(1) is 0 degrees, arccos(0.5) is 60 degrees, arccos(0) is 90 degrees and arccos(-1) is 180 degrees
- For a right triangle, cos(theta) = adjacent / hypotenuse, so a 6 to 10 ratio gives 53.1301 degrees
- The identity arccos(x) + arcsin(x) = 90 degrees holds for every x from -1 to 1
- Use arctan when you know opposite and adjacent sides, and arccos when you know adjacent side and hypotenuse
On this page
What arccos returns
Cosine starts with an angle and reports a ratio. Arccos, also called acos or inverse cosine, starts with the ratio and walks back to an angle. The ratio is adjacent side divided by hypotenuse in a right triangle, so arccos(0.5) is 60 degrees: the adjacent side is half the hypotenuse at that angle.
Use the NIST Digital Library of Mathematical Functions for the formal definition and principal-value range. The Wolfram MathWorld inverse cosine reference gives the same range and useful identities. On a calculator, the key may say acos, cos^-1, or shift-cos. The superscript minus one means inverse function, not one divided by cosine.
The input is limited because two sides of a right triangle cannot make a ratio outside -1 to 1. Values 1.2 and -1.4 are not large angles. They signal a wrong side pairing, a unit mistake, or rounded measurements that no longer form a possible ratio.
| Cosine value | Arccos in degrees | Arccos in radians |
|---|---|---|
| 1 | 0 degrees | 0 |
| 0.8660 | 30.0022 degrees | 0.5236 |
| 0.5 | 60 degrees | 1.0472 |
| 0 | 90 degrees | 1.5708 |
| -1 | 180 degrees | 3.1416 |
The principal angle is 0 to 180 degrees
Cosine repeats, so one ratio belongs to many angles. A cosine of 0.5 occurs at 60 degrees, 300 degrees, -60 degrees and every full turn added to those positions. Arccos chooses the one answer in the closed interval from 0 through 180 degrees. That is called the principal value, and it makes a function with one dependable output.
The sign tells you which half of the circle contains the principal result. A positive cosine gives an angle from 0 to 90 degrees. A negative cosine gives an angle from 90 to 180 degrees. At zero, the answer is exactly 90 degrees. If a drawing needs the angle in the lower half of the circle, use the principal result as a reference and choose the branch from the geometry.
For example, arccos(-0.5) is 120 degrees, while 240 degrees has the same cosine. Neither is more correct without a drawing; arccos selects 120 degrees by definition. Navigation and robotics usually use atan2 when both coordinate signs matter, because one ratio alone cannot identify a full direction.
Degrees, radians, and calculator mode
The answer can be displayed in degrees or radians. Convert radians to degrees by multiplying by 180 and dividing by pi. Convert degrees to radians by multiplying by pi and dividing by 180. The anchor points are 60 degrees = 1.0472 radians, 90 degrees = 1.5708 radians, and 180 degrees = 3.1416 radians.
JavaScript Math.acos, Python math.acos, and most programming libraries return radians. If a program reports 1.0472 for arccos(0.5), it has not disagreed with the 60 degree answer; it has used the other unit. Handheld calculators also have DEG and RAD modes. A mode mismatch can turn 60 degrees into a displayed value near 1.0472, or make a radian input look like an enormous angle.
Near the endpoints, small ratio errors can have different angle effects. Around cosine 0, the curve changes steadily. Near cosine 1, a small measurement change can move the angle noticeably because the curve is flat at the top. Keep extra digits in the side ratio until the final rounding.
Right triangles: adjacent over hypotenuse
For a right triangle, label the angle first. The adjacent side touches that angle, but it is not the hypotenuse. The hypotenuse is always the side opposite the 90 degree corner and is the longest side. Then use cos(theta) = adjacent / hypotenuse and take arccos of the quotient.
A triangle with an adjacent side of 6 and hypotenuse of 10 has a ratio of 6 / 10 = 0.6. Arccos(0.6) gives 53.1301 degrees, or 0.9273 radians. A 3 foot adjacent side with a 5 foot hypotenuse has the same ratio and the same angle: scale changes the triangle, not its shape.
| Adjacent | Hypotenuse | Ratio | Angle |
|---|---|---|---|
| 10 | 10 | 1 | 0 degrees |
| 8 | 10 | 0.8 | 36.8699 degrees |
| 6 | 10 | 0.6 | 53.1301 degrees |
| 0 | 10 | 0 | 90 degrees |
| -6 | 10 | -0.6 | 126.8699 degrees |
A negative adjacent side is useful in coordinate geometry, where signs mark direction. In a physical right triangle, side lengths are normally positive, so a negative input usually means you are describing a signed horizontal change rather than measuring a piece of wood.
Choosing arccos, arcsin, or arctan
Choose the inverse function from the two sides you know. Arccos uses adjacent and hypotenuse. Arcsin uses opposite and hypotenuse. Arctan uses opposite and adjacent. The ratio must be formed with respect to the angle you want, not with respect to whichever two labels are easiest to read.
| Known sides | Ratio | Function | Example |
|---|---|---|---|
| Adjacent and hypotenuse | adjacent / hypotenuse | arccos | 6 / 10 gives 53.1301 degrees |
| Opposite and hypotenuse | opposite / hypotenuse | arcsin | 8 / 10 gives 53.1301 degrees |
| Opposite and adjacent | opposite / adjacent | arctan | 8 / 6 gives 53.1301 degrees |
The three examples describe the same triangle, so they agree. If they do not agree in your work, a side was named from the wrong angle or the hypotenuse was mistaken for a leg.
One useful check is arccos(x) + arcsin(x) = 90 degrees for a valid x. For x = 0.6, arccos(0.6) is 53.1301 degrees and arcsin(0.6) is 36.8699 degrees. Their sum is 90 degrees.
Using arccos for slopes and elevation
Arccos can describe a slope when you know the horizontal run and the sloping length. A roof rafter that runs 12 feet and measures 13 feet has cos(theta) = 12 / 13 = 0.9231, so theta = 22.6199 degrees above horizontal. The complementary angle from vertical is 67.3801 degrees.
For a ramp, use the horizontal distance as the adjacent side and the ramp surface as the hypotenuse. A 4 foot horizontal run and a 5 foot surface gives arccos(0.8) = 36.8699 degrees. This is a geometric angle, not a code approval or accessibility determination. For accessible design requirements, consult the United States Access Board ADA standards and the local authority.
In surveying, a horizontal distance and a line-of-sight distance also form this ratio. Keep all distances in the same unit before dividing. Twelve meters and 20 feet cannot be mixed in one ratio, although converting both to meters first leaves the angle unchanged.
Law of cosines: arccos beyond right triangles
Arccos also solves a general triangle when all three sides are known. For sides a, b, and c, the angle opposite c is arccos((a² + b² - c²) / (2ab)). This is the law of cosines, and it reduces to the right triangle rule when c is the hypotenuse and the angle is 90 degrees.
Take sides a = 5, b = 6, and c = 7. The cosine ratio is (25 + 36 - 49) / (2 x 5 x 6) = 12 / 60 = 0.2, so the angle opposite the 7 side is arccos(0.2) = 78.463 degrees. The OpenStax law of cosines explanation shows why the side opposite the target angle gets the minus sign.
Do not round the ratio too early. Side measurements with only a few significant digits cannot support a long decimal angle, but keeping the full calculator value until the final step prevents extra rounding drift.
Common arccos mistakes
Using the wrong side pair. Opposite over hypotenuse belongs to arcsin. Adjacent over opposite belongs to arctan. Swapping the pair changes the angle.
Entering an angle instead of a ratio. The calculator expects a cosine value such as 0.6, not 60. If you have 60 degrees and want its cosine, use the ordinary cosine key.
Ignoring degree and radian mode. A result of 1.0472 is a radian value for 60 degrees. Label the unit before copying it into another calculation.
Rounding a ratio outside the domain. Measurements may produce 1.0002 after rounding even though the true ratio is 1. Use unrounded measurements when possible, and treat a value just beyond 1 as a measurement issue rather than forcing a result.
Assuming the answer identifies a full direction. Arccos returns one principal angle. A map bearing needs signed coordinates and usually atan2, not a lone cosine ratio.
Frequently asked questions
What is arccos of 0.5?
Arccos(0.5) is 60 degrees, or 1.0472 radians. The cosine of 60 degrees is exactly one half.
What is the range of arccos?
The input must be from -1 to 1, and the principal output is from 0 to 180 degrees, or 0 to pi radians.
How do I calculate arccos from a triangle?
Divide the adjacent side by the hypotenuse, then take arccos. Adjacent 6 and hypotenuse 10 gives arccos(0.6) = 53.1301 degrees.
What is arccos of 1?
Arccos(1) is 0 degrees, because a cosine of 1 occurs at the top of the unit circle.
What is arccos of 0?
Arccos(0) is 90 degrees, or pi divided by 2 radians.
What is arccos of negative 1?
Arccos(-1) is 180 degrees, or pi radians.
What is the difference between arccos and cosine?
Cosine turns an angle into a ratio. Arccos reverses that direction: it turns a ratio from -1 to 1 into the principal angle from 0 to 180 degrees.
Should I use arccos or arcsin?
Use arccos for adjacent over hypotenuse and arcsin for opposite over hypotenuse. For a 6-8-10 triangle, arccos(6/10) and arcsin(8/10) both give 53.1301 degrees.
Should I use arccos or arctan?
Use arccos when you know adjacent and hypotenuse. Use arctan when you know opposite and adjacent. A 6-8-10 triangle gives 53.1301 degrees from either correct route.
Can arccos take a value greater than 1?
No. Arccos(1.2) has no real result because a cosine cannot exceed 1. Check the side labels, units, and rounding before entering the ratio.
What is arccos in radians?
The radian result is the degree result multiplied by pi and divided by 180. Arccos(0.5) is 60 degrees, which is 1.0472 radians.
How does arccos solve the law of cosines?
For the angle opposite side c, use arccos((a squared + b squared - c squared) divided by 2ab). With sides 5, 6, and 7, the angle is 78.463 degrees.
What angle does a 12 foot run and 13 foot slope make?
Arccos(12/13) gives 22.6199 degrees above horizontal. The vertical complement is 67.3801 degrees.
Why does my calculator show 1.047 instead of 60?
It is in radian mode. 1.0472 radians and 60 degrees describe the same angle. Switch to degree mode for a degree display.
Spotted a wrong number or a broken result?
More Everyday tools
- 1 Hour Cycling Calories Calculator
- 1 Hour Lunch Break Calculator
- 1 Million in Numbers
- 1 Weeks Ago From Today
- 1 in 60 Rule Calculator
- 10 Day Payoff Calculator
- 10 Hour Shift Schedule Calculator
- 10 Minutes From Now
- 10 Months Ago From Today
- 10 to 1 Arm Workout Calculator
- 10207 2: Log Base 2 Calculator
- 1099 Hourly Rate Calculator
- 11 Months Ago From Today
- 11 Weeks Ago From Today
- 12 Hour Shift Pay Calculator
- 12 Months Ago From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.