Arccos Calculator - Inverse Cosine
Use this free arccos calculator to convert any cosine value between -1 and 1 into the principal angle in degrees, radians, or pi form.
Arccos Calculator
Results
What Is an Arccos Calculator?
An arccos calculator is a tool that converts a cosine value into the angle that produced it. Arccos is the inverse of cosine, so when you supply a cosine value between -1 and 1, the tool returns the principal angle whose cosine equals that value. That angle is always reported in the range 0 to 180 degrees (0 to pi radians), which is the principal branch that mathematicians use to keep inverse cosine a proper function. Students, engineers, and designers reach for an inverse-cosine tool whenever a problem hands them a cosine ratio and asks for the angle itself, whether the source is a triangle, a vector dot product, or a phase shift in a signal.
- • Solving triangle problems: Find the angle of a triangle from the adjacent-side / hypotenuse ratio without pulling out a trig table or a calculator's secondary key.
- • Vector and dot-product work: Recover the angle between two vectors when the dot product and the magnitudes are known, which is a common step in physics and graphics code.
- • Checking inverse-cosine identities: Confirm textbook identities such as arccos(0.5) = 60 degrees or arccos(0) = 90 degrees while working through precalculus or calculus homework.
- • Phase and oscillation analysis: Translate a measured cosine component back into the phase angle of a periodic signal in electrical engineering and signal processing.
Arccos is also written as arccosine or as cos to the power of negative one, but that notation is easy to misread. The calculator makes it clear that you are inverting cosine, not dividing by it. That distinction matters because 1 divided by cos x is the secant, a different function with a different range.
Most classroom work and most engineering formulas use the principal branch of arccos, which always returns an angle between 0 and pi radians. For the second angle, subtract from 2 pi for the reflex angle or from pi for the supplementary angle that sums with the principal to 180 degrees.
When you need to read the principal angle in a different unit than the one the problem uses, the Radians to Degrees Calculator handles the conversion in both directions without changing the arccos result.
How the Arccos Calculator Works
The calculator reads your cosine value, checks that it lies in the closed interval from -1 to 1, and applies the inverse-cosine function to return the principal angle. The same calculation is then converted into degrees, radians, and a multiple of pi so that you can read the result in whatever unit the surrounding problem uses.
- x: The cosine value you enter. Must satisfy -1 <= x <= 1.
- theta: The principal arccos result, an angle in radians by default. Always lies between 0 and pi radians (0 and 180 degrees).
Behind the scenes, the calculator relies on the principal branch of the inverse cosine. Mathematically, arccos is defined as the unique angle theta in [0, pi] that satisfies cos(theta) = x. That uniqueness is what lets the tool give one clear answer for every valid input.
After computing the principal angle, the calculator also recomputes cos(theta) as a cosine check. That extra step is a quick way to catch typos in the input: if the cosine check does not match what you typed, the input was probably outside the domain or rounded aggressively.
Worked example: arccos(0.5)
x = 0.5, with the result requested in degrees
theta = arccos(0.5) = pi/3 radians because cos(pi/3) = 1/2. Converting pi/3 radians to degrees gives (pi/3) * (180/pi) = 60 degrees.
60 degrees (pi/3 radians, 0.3333... pi)
A cosine value of 0.5 corresponds to a 60-degree angle, which is the standard 30-60-90 reference angle from right-triangle geometry.
According to Wikipedia: Inverse trigonometric functions, the principal value of arccos is defined on [-1, 1] and returns an angle in the range [0, pi] radians.
Once you know the radius and the angle you just computed, you can confirm the result with the Arc Length Calculator.
Key Concepts Explained
These four concepts are the building blocks for understanding what the calculator is showing you.
Principal branch
Arccos uses the principal branch, which restricts the output to [0, pi] radians. Without that restriction, a single cosine value would correspond to infinitely many angles and arccos would not be a function.
Domain [-1, 1]
Cosine only ever produces values between -1 and 1, so arccos can only accept inputs in that closed interval. Anything outside the domain is undefined and the calculator surfaces it as a validation error.
Inverse relationship
Arccos and cosine undo each other. Applying arccos to a cosine value gives the original angle, and applying cosine to an arccos result returns the original cosine value within floating-point precision.
Reference angles
Many arccos problems involve reference values such as 0, 0.5, sqrt(2)/2, sqrt(3)/2, and 1. Memorising the matching angles (90, 60, 45, 30, and 0 degrees) makes the calculator's output much easier to read.
The principal-branch convention is the reason arccos(0.5) is 60 degrees and not 300 degrees; both share a cosine of 0.5, but only 60 is the principal value. The supplementary angle (180 - 60 = 120 degrees) is separate: it adds with 60 to make a straight line, and its cosine is -0.5 because cosine is negative in the second quadrant.
Keeping a small table of the most common reference pairs handy makes the calculator feel like a confirmation tool rather than a black box.
If you are moving between degrees, radians, and gradians while you work through reference angles, the Angle Converter is the fastest way to keep the units consistent.
How to Use This Arccos Calculator
Working with the calculator only takes a few seconds. Enter the cosine value, read the principal angle in the unit your problem needs, and use the cosine check to confirm the inverse relationship.
- 1 Enter the cosine value: Type the cosine value in the input box. The value must be between -1 and 1, including the endpoints.
- 2 Read the principal angle: The angle in degrees, radians, and as a multiple of pi all appear in the results panel as soon as the input is valid.
- 3 Verify with the cosine check: Compare the cosine check in the results panel with the value you entered. The two numbers should match within floating-point precision.
- 4 Convert units if you need to: Use the result in the unit that matches the rest of your work, or copy the pi-form value to plug it into formulas that prefer exact multiples of pi.
- 5 Watch for domain errors: If the input is outside [-1, 1] or left blank, the calculator replaces the result with a domain error explaining what range arccos accepts.
Suppose a right triangle has an adjacent side of 3 and a hypotenuse of 5, so the cosine of the angle is 3 / 5 = 0.6. Enter 0.6, read 53.1301 degrees (about 0.9273 radians, 0.2952 pi), and verify the cosine check back to 0.6. The tool turns a side ratio into the missing angle without manual trig table work.
When the cosine value comes from a real right triangle, the Right Triangle Calculator lets you cross-check the arccos angle against the other sides and the remaining angles of the triangle.
Benefits of This Arccos Calculator
A calculator that returns all three angle units plus a cosine check saves time on homework, design work, and code reviews.
- • Three output units at once: See the principal angle in degrees, radians, and as a multiple of pi without doing the conversion yourself.
- • Built-in cosine check: The cosine check recomputes cos(theta) so you can confirm the inverse relationship and catch input errors immediately.
- • Domain validation: The calculator flags inputs outside [-1, 1] with a clear message instead of returning a confusing NaN.
- • Reference value friendly: Common inputs like 0, 0.5, sqrt(2)/2, and 1 return exact or near-exact values that line up with textbook reference angles.
- • Compact reference for related trig: The page links to radians-to-degrees, arc length, and the triangle calculator so the surrounding geometry stays in one place.
The biggest practical win is that the calculator keeps you from manually re-doing the same conversion three times and reading degrees, radians, and pi form side by side is a quick way to internalise how they relate.
For full triangle problems that go beyond a single inverse-cosine step, the Triangle Calculator carries the side lengths, the missing angle, and the area through one workflow.
Factors That Affect Your Results
A handful of factors control what the tool can give you. Knowing them up front prevents the most common mistakes, especially when a value is almost at the edge of the domain.
Input must stay in [-1, 1]
Any value strictly greater than 1 or strictly less than -1 has no real arccos result. The calculator surfaces this as a domain error and asks for a new value.
Floating-point rounding near the boundary
Values like 1.0000000001 can come from intermediate dot product or normalization calculations. The calculator rejects any value outside [-1, 1] with a domain error rather than silently clamping it, so a stray overshoot surfaces as a clear message.
Principal branch only
Arccos always returns the angle in [0, pi]. For the second angle that shares the same cosine, subtract the principal from 360 degrees or 2 pi; arccos(0.5) = 60 degrees has a same-cosine reflex of 300 degrees. The supplementary angle, which sums with the principal to 180 degrees, is 120 degrees for that example, but its cosine is -0.5, not 0.5.
Sign of the cosine value
Negative cosine values map to obtuse angles (between 90 and 180 degrees). Positive values map to acute angles (between 0 and 90 degrees), and zero maps exactly to 90 degrees.
Unit selection
Degrees and radians are just rescaled versions of the same angle, but the surrounding problem usually expects one specific unit. Mixing them is the most common source of off-by-factor errors in homework and code.
- • The tool returns the principal real angle. It does not compute complex-valued arccos for inputs outside [-1, 1] because that is rarely what classroom or applied problems need.
- • Floating-point arithmetic means the cosine check is only equal to the input to roughly 15 significant digits. Treat the cosine check as a sanity check, not an equality test.
If you ever need a second angle whose cosine matches the principal result, the reflex angle 360 - angleDegrees (or 2 pi - angleRadians) is the one. For arccos(0.5) = 60 degrees, the reflex is 300 degrees and cos(300 degrees) is also 0.5. The supplementary angle, which sums with the principal to 180 degrees, is 120 degrees for that example, but cos(120 degrees) is -0.5, not 0.5, because cosine is negative in the second quadrant. The same-cosine angle is the reflex; the supplementary angle is the one that adds up to a straight line.
According to Wolfram MathWorld: Inverse Cosine, arccos is the inverse of the cosine function restricted to the principal branch [0, pi] and is also written as cos to the power of negative one.
If the principal arccos result needs to be reported in degrees, minutes, and seconds instead of decimal degrees, the Degrees Minutes Seconds Calculator reformats the angle without losing precision.
Frequently Asked Questions
Q: What is arccos?
A: Arccos is the inverse of the cosine function. Given a cosine value between -1 and 1, arccos returns the principal angle whose cosine equals that value, always in the range 0 to pi radians (0 to 180 degrees).
Q: How do I calculate arccos by hand?
A: Look up a cosine table or use a reference triangle to find the angle whose cosine matches your value. For common inputs such as 0, 0.5, sqrt(2)/2, sqrt(3)/2, and 1, the principal arccos results are 90, 60, 45, 30, and 0 degrees respectively.
Q: What is the range of arccos?
A: The principal range of arccos is [0, pi] radians, or [0, 180] degrees. Every valid cosine input maps to one angle in that interval, which is what makes arccos a well-defined function.
Q: Is arccos the same as 1 over cos?
A: No. Arccos is the inverse of cosine, not its reciprocal. The reciprocal of cosine is the secant function, written sec(x) = 1 / cos(x), which behaves very differently from arccos(x).
Q: What is arccos of 0?
A: Arccos of 0 is pi/2 radians, or exactly 90 degrees, because cos(pi/2) = 0. The arccos calculator returns that value along with the same angle expressed in degrees and as a multiple of pi.
Q: Why does arccos only accept values between -1 and 1?
A: Cosine is bounded between -1 and 1, so the inverse can only undo cosine on that same interval. The arccos calculator returns a domain error for any input outside [-1, 1] to keep the answer mathematically valid.