Inverse Cosine Calculator - Principal Angle in Three Units
Use this free inverse cosine calculator to convert a cosine value in [-1, 1] into the principal angle in degrees, radians, and as a multiple of pi.
Inverse Cosine Calculator
Results
What Is Inverse Cosine Calculator?
An inverse cosine calculator is a tool that takes a cosine value between -1 and 1 and returns the principal angle whose cosine equals that value, in degrees, radians, and as a multiple of pi. Students, engineers, and designers reach for an inverse cosine calculator whenever a problem hands them a cosine ratio and asks for the angle itself, whether the cosine came from a triangle, a vector dot product, or a phase shift in a signal.
- • Solving triangle problems: Find the angle of a right 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, a common step in physics and graphics code.
- • Checking reference-angle 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.
Inverse cosine is also written as arccos, arccosine, or as cosine 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, 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. The output angle always lies between 0 and 180 degrees, which is the same as 0 to pi radians.
If you usually see the function written as arccos or arccosine rather than inverse cosine, the Arccos Calculator covers the same principal-branch computation with the same three output units.
How Inverse Cosine 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 inverse cosine 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 inverse cosine. Mathematically, arccos is defined as the unique angle theta in [0, pi] that satisfies cos(theta) = x, which 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.
Worked example: arccos(-0.5)
x = -0.5, with the result requested in degrees
theta = arccos(-0.5) = 2*pi/3 radians because cos(2*pi/3) = -1/2. Converting 2*pi/3 radians to degrees gives (2*pi/3) * (180/pi) = 120 degrees.
120 degrees (2*pi/3 radians, 0.6667 pi)
A negative cosine value maps to an obtuse principal angle in the second quadrant, which is why arccos(-0.5) returns 120 degrees rather than -60 degrees.
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.
Key Concepts Explained
These four concepts are the building blocks for understanding what the calculator is showing you and why the result is always in [0, 180] degrees.
Principal branch
Inverse cosine 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 inverse cosine can only accept inputs in that closed interval. Anything outside the domain is undefined.
Inverse relationship
Inverse cosine 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.
If you are moving between degrees, radians, and gradians while you work through reference angles, the Angle Converter keeps the units consistent without retyping the angle.
How to Use This Calculator
Working with the inverse cosine 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 inverse cosine 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 inverse cosine angle against the other sides and the remaining angles of the triangle.
Benefits of Using This 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 value.
- • 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, angle-converter, and the right-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 inverse cosine 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
Inverse cosine always returns the angle in [0, pi]. The principal value of arccos(0.5) is 60 degrees, not 300 degrees, even though both angles have a cosine of 0.5. Use 360 - angle or 2 pi - angle if you need the coterminal reflex angle.
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.
- • A supplementary angle, which sums with the principal to 180 degrees, does not share the same cosine. arccos(0.5) = 60 degrees has a supplementary of 120 degrees whose cosine is -0.5, because cosine flips sign in the second quadrant.
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 cosine to the power of negative one.
If the principal inverse cosine result needs to be reported in a different angle unit than the one shown, the Radians to Degrees Calculator reformats it without losing precision.
Frequently Asked Questions
Q: What is the inverse cosine calculator used for?
A: The inverse cosine calculator takes a cosine value in the closed interval [-1, 1] and returns the principal angle whose cosine equals that value. You can read the result in degrees, radians, or as a multiple of pi, and a cosine check confirms the inverse relationship.
Q: What is the range of inverse cosine?
A: The principal range of inverse cosine is [0, pi] radians, or [0, 180] degrees. Every valid cosine input maps to one angle in that interval, which is what makes inverse cosine a well-defined function.
Q: Is arccos the same as 1 over cosine?
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 the inverse cosine of 0.5?
A: Inverse cosine of 0.5 is pi/3 radians, or exactly 60 degrees, because cos(pi/3) = 1/2. The calculator returns that value along with the same angle expressed in degrees and as a multiple of pi.
Q: Why does inverse cosine 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 calculator returns a domain error for any input outside [-1, 1] to keep the answer mathematically valid.
Q: How do I convert inverse cosine from radians to degrees?
A: Multiply the radian result by 180 divided by pi. The calculator does this for you and shows the principal angle in degrees, radians, and as a multiple of pi in the same result panel.