Cos Calculator - Cosine, Sine, and Unit Circle
Use this free cos calculator to evaluate the cosine of any angle in degrees or radians, with the matching sine, unit-circle point, and quadrant.
Cos Calculator
Results
What Is a Cos Calculator?
A cos calculator is a tool that returns the cosine of any angle in degrees or radians, together with the matching sine, the tangent, the unit-circle point, and the quadrant the angle lands in. Cosine is the adjacent-over-hypotenuse ratio in a right triangle and the x-coordinate of the point on the unit circle, so a single cosine value covers triangle problems, vector dot products, periodic-signal analysis, and graph-plotting checks.
- • Solving right-triangle problems: Read the cosine of an angle in degrees to get the adjacent-over-hypotenuse ratio, or use the sine and tangent next to it for the other two sides of the triangle.
- • Working in radians with pi notation: Switch the unit toggle to radians and type pi notation such as pi/3 or 5pi/6, or a plain decimal like 2.3. The tool reads pi notation directly.
- • Checking unit-circle coordinates: Use the unit-circle x and y outputs to confirm where the point at a given angle sits on the circle, and the quadrant label to see the sign of the cosine.
- • Plotting cosine graph reference values: Test the cosine for the standard reference angles (0, 30, 45, 60, 90 degrees) to anchor the cosine graph, then check 120, 150, 180, 210, 240, 270, 300, 330 degrees to follow the curve.
Cosine pairs naturally with sine, and this tool shows both at the same time so you can read the unit-circle point (cos, sin) in one line. That pairing also makes it easy to confirm the Pythagorean identity sin^2 + cos^2 = 1.
The unit toggle is the most common source of confusion. cos(60 deg) and cos(pi/3) both return 0.5 because pi/3 radians is the same angle as 60 deg.
When the angle you have is in radians but the problem expects degrees, the Radians to Degrees Calculator converts the input both ways without changing the underlying cosine value.
How the Cos Calculator Works
The tool reads the angle and the unit toggle, normalizes the input (converting degrees to radians, or expanding pi notation such as pi/3 into a numeric radian value), applies Math.cos to return the cosine, and reuses the same radian value to compute the matching sine, tangent, and unit-circle coordinates. The result is re-expressed as a multiple of pi and the angle is reduced to the 0-360 deg (or 0-2pi rad) range.
- angle: The angle you enter. In degrees mode it must be a plain number; in radians mode it can be a plain decimal or pi notation such as pi/3, 5pi/6, or 2pi.
- angleUnit: The unit toggle. 'degrees' expects a plain number; 'radians' expects a decimal or a pi multiple.
- cosValue: The cosine of the angle, returned in the closed interval [-1, 1]. The tool also exposes this value as the x-coordinate of the unit-circle point.
- quadrant: Label I, II, III, or IV indicating which quadrant the angle lands in, or 'axis' for a reference angle.
Behind the scenes, the tool applies the standard cosine function to a single radian value. Everything else (sine, tangent, unit-circle point, pi multiple, reduced angle) is computed from that same radian value, which keeps the results internally consistent.
Reducing the angle to the 0-360 deg (or 0-2pi rad) range before computing makes the result easy to read for very large or negative inputs like 12345 deg or -750 deg.
Worked example: cos(pi/3 radians)
angle = pi/3, angleUnit = radians
pi/3 is parsed as 1.0471975511965976 radians. cos(pi/3) = 1/2 = 0.5. sin(pi/3) = sqrt(3)/2 = 0.8660254. tan(pi/3) = sqrt(3) = 1.7320508. The unit-circle point is (0.5, 0.8660254) and the angle lands in quadrant I.
cos = 0.5, sin = 0.8660254, tan = 1.7320508, unit-circle point (0.5, 0.8660254), quadrant I
Pi/3 radians is the standard 30-60-90 reference value.
According to Wikipedia: Trigonometric functions, cosine is the x-coordinate of the point on the unit circle at the given angle, with cos(60 deg) = 1/2 and cos(90 deg) = 0
Because the cosine tool returns a value in [-1, 1], the Cos 1 Calculator is the natural next step when the problem hands you a cosine and asks for the original angle.
Key Concepts Explained
These four concepts come up every time you work with cosine, and they are the building blocks for understanding what the tool is showing you.
Unit-circle definition
On the unit circle, every angle corresponds to a point (cos, sin). The cosine is the x-coordinate, so it tells you how far left or right the point is.
Degree-to-radian conversion
A full turn is 360 deg or 2 pi radians, so converting degrees to radians uses the factor pi / 180. Pi notation in radians mode is just shorthand for the same math.
Quadrant sign of cosine
Cosine is positive in quadrants I and IV (angles 0-90 deg and 270-360 deg) and negative in quadrants II and III (angles 90-180 deg and 180-270 deg).
Periodicity of cosine
Cosine repeats every 2 pi radians (or every 360 deg), so cos(theta) = cos(theta + 360 deg). The range label switches to 0-2pi rad in radians mode.
Reference values are the easiest way to read the result at a glance. cos(0 deg) = 1, cos(30 deg) = sqrt(3)/2, cos(45 deg) = sqrt(2)/2, cos(60 deg) = 1/2, cos(90 deg) = 0. In radians the same set is cos(pi/6) = sqrt(3)/2, cos(pi/4) = sqrt(2)/2, cos(pi/3) = 1/2, cos(pi/2) = 0, and you can type any of these into the tool directly.
The Pythagorean identity sin^2 + cos^2 = 1 is a built-in cross-check. The tool shows both sin and cos, so you can square both and confirm they sum to 1. If they do not, the input was probably in the wrong unit.
If you keep switching between degrees, radians, and gradians while working through reference angles, the Angle Converter is the fastest way to keep the units consistent across problems.
How to Use This Cos Calculator
Working with the tool only takes a few seconds. Type the angle, pick the unit, and read the cosine together with the matching sine, tangent, unit-circle point, and quadrant label.
- 1 Enter the angle: Type the angle in the input box. In degrees mode use a plain number; in radians mode use either a decimal or pi notation like pi/3 or 5pi/6. The value can be positive, negative, or larger than a full turn.
- 2 Pick the unit: Select 'Degrees' for problems written in 0 to 360, or 'Radians' for pi notation or decimal radians.
- 3 Read the cosine: The cosine appears in the top of the results panel, in the closed interval [-1, 1] and rounded to 6 decimal places.
- 4 Check the unit-circle point: Read the unit-circle x and y values, which match the cosine and the sine, to confirm the point on the circle.
- 5 Verify the quadrant: Use the quadrant label (I, II, III, IV, or 'axis') to confirm the sign of the cosine. The tangent reads 'undefined' at 90 deg and 270 deg.
- 6 Read the reduced angle: The reduced angle uses deg and the range 0-360 deg in degrees mode, and rad and the range 0-2pi rad in radians mode.
Suppose a right triangle has an angle of 60 deg and you need the cosine. Leave the toggle on 'Degrees' and enter 60; the tool returns cos = 0.5. The unit-circle point (0.5, 0.8660254) and the quadrant I label both confirm the result.
When the cosine value comes from a real right triangle, the Right Triangle Calculator lets you cross-check the cosine against the other sides and the remaining angles of the same triangle.
Benefits of Using This Cos Calculator
A cosine tool that returns the full trig triple, the unit-circle point, and a quadrant label saves time on homework, design work, and code reviews.
- • Cosine, sine, and tangent in one pass: Read all three primary trig values from a single calculation, so you do not have to enter the same angle three times.
- • Degrees and radians from one input: Switch the unit toggle without re-entering the angle when a problem moves between 60 deg and pi/3.
- • Unit-circle coordinates: The unit-circle x and y values match the cosine and sine, so the tool doubles as a quick unit-circle reference.
- • Quadrant label: The quadrant label confirms the sign of the cosine at a glance, which catches the most common sign error in trig problems.
- • Reduced angle for very large inputs: Angles larger than 360 deg (or 2pi rad) or negative angles reduce to the standard range.
- • Tangent undefined handled: At 90 deg and 270 deg (pi/2 and 3pi/2 in radians) the tool returns the text 'undefined' instead of a misleading infinity.
The biggest practical win is keeping the trig values consistent. Reading cosine, sine, and tangent from the same angle removes the chance of mixing up radians and degrees.
For problems that go beyond a single angle and ask for cos(2 theta) or the double-angle identities, the Cos 2 Theta Calculator carries the same angle through the double-angle formulas with the same unit toggle.
Factors That Affect Your Results
A handful of factors control what the cosine tool can give you. Knowing them up front prevents the most common mistakes.
Unit of the input angle
The unit toggle changes how the input is interpreted. cos(60 deg) = 0.5, but cos(60 radians) is a totally different value. In radians mode, pi notation such as pi/3 or 5pi/6 is also accepted.
Angle outside the standard range
Large or negative angles reduce to 0-360 deg (or 0-2pi rad) before computing. The reduced angle is shown next to the result, and the unit suffix follows the toggle.
Angle on a 90 deg or 270 deg reference
Tangent is undefined at 90 deg and 270 deg (pi/2 and 3pi/2 in radians). The tangent field shows 'undefined' instead of a number.
Floating-point rounding near 0
At exact reference angles like 90 deg and 270 deg, the cosine is mathematically 0 but the floating-point result can show a tiny non-zero value (about 6.12e-17). The tool rounds to 6 decimal places.
- • The cosine tool returns a real number for any real angle. It does not return a complex-valued cosine for inputs that would need it, because the surrounding problem almost always expects a real answer.
- • Floating-point arithmetic means the displayed cosine is only equal to the true cosine to roughly 15 significant digits. Treat the cosine as an approximation, not a symbolic value.
If the cosine comes out negative, double-check the quadrant label. A negative cosine is only valid in quadrants II and III, so the quadrant label should read II or III whenever the cosine is negative.
According to Wolfram MathWorld: Cosine, cosine is an even, 2 pi-periodic function with the identity cos(-x) = cos(x)
If the cosine you get from the cosine tool needs to be inverted back into an angle, the Cos Inverse Calculator returns the principal angle.
Frequently Asked Questions
Q: What is cos?
A: Cos, short for cosine, is a trigonometric function that returns a value between -1 and 1 for any real angle. Geometrically, it gives the x-coordinate of the point on the unit circle at that angle, and in a right triangle it is the adjacent-over-hypotenuse ratio.
Q: How do I calculate cos of an angle by hand?
A: For a right triangle, divide the length of the adjacent side by the hypotenuse. For a unit-circle problem, drop a perpendicular from the point on the circle to the x-axis and read the x-coordinate. The cos calculator handles both cases at once and shows the unit-circle point next to the cosine.
Q: What is the range of cos?
A: The range of cos is the closed interval [-1, 1]. Cosine reaches 1 at 0 deg, drops to 0 at 90 deg, hits -1 at 180 deg, and returns to 1 at 360 deg before the cycle repeats every 360 deg (or 2 pi radians).
Q: What is cos of 0 degrees?
A: Cos of 0 deg is 1. On the unit circle, the point at 0 deg is (1, 0), so the x-coordinate (the cosine) is 1. The cos calculator returns 1 together with sine = 0 and the unit-circle point (1, 0).
Q: What is cos of 60 degrees?
A: Cos of 60 deg is 0.5 (or 1/2). It comes from the 30-60-90 reference triangle, where the side adjacent to the 60 deg angle is half the hypotenuse. The cos calculator returns 0.5 along with sine = sqrt(3)/2 and the unit-circle point (0.5, 0.866). In radians mode, typing pi/3 produces the same 0.5 result.
Q: Is cos an even function?
A: Yes. Cosine is an even function, so cos(-x) = cos(x) for any angle x. The cos calculator returns the same cosine for an angle and its negative, which is also why the reduced angle for -30 deg and 330 deg is the same 30 deg.