Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Cosine Calculator

Cosine Calculator

Calculate the cosine of any angle in degrees or radians. See exact values like √3/2 for special angles, plus the related secant.

What Is the Cosine Function?

The cosine function (cos) is a core trigonometric function. In a right triangle it is the ratio of the side adjacent to an angle to the hypotenuse. This calculator computes cos(x) for any angle you enter in degrees or radians, and shows the exact value for special angles.

Definition: cos(θ) = adjacent / hypotenuse. On the unit circle, cos(θ) equals the x-coordinate of the point at angle θ.

Key Properties

Bounded Range

cos(x) always returns a value between −1 and 1, inclusive.

Unit Circle

cos(θ) is the x-coordinate on the unit circle of radius 1.

Periodic

The pattern repeats every 360° (2π), so cos(x) = cos(x + 360°).

How to Use the Cos Calculator

1

Enter the Angle

Type your angle value in the input field. You can enter whole numbers, decimals, or π notation such as π/3, π/6, or an expression like 2π/3.

2

Choose DEG or RAD

Select DEG for degrees (the default) or RAD for radians. The input unit and placeholder update to match your choice.

3

Read the Result Instantly

The result updates automatically as you type — no submit button needed. The primary cos(x) value appears immediately.

4

View Exact & Related Values

For special angles, an exact value like √3/2 is shown. The secant (sec = 1/cos) appears as a related value, and a special-angles table can be expanded for reference.

Calculator Features

Degrees & Radians

Switch between DEG and RAD with one click, including support for π notation like π/3, π/6 and expressions such as 2π/3.

Exact Special Angles

Shows exact values such as 1/2, √2/2 and √3/2 for common angles instead of long decimals.

Related Secant

Displays the secant (sec = 1/cos) alongside the cosine result for quick reference.

Real-Time Calculation

Results update instantly as you type, with a special-angles table you can expand anytime.

Common Cosine Values

Anglecos valueDecimal
cos(0°)11.000
cos(30°)√3/20.866
cos(45°)√2/20.707
cos(60°)1/20.500
cos(90°)00.000
Private by design: every calculation runs locally in your browser — nothing you type is uploaded to a server.

Frequently Asked Questions

What is the range of the cosine function?

The cosine function always returns values between −1 and 1, inclusive — that is, cos(x) ∈ [−1, 1]. No angle produces a cosine outside this range.

What is cos(0°) and cos(90°)?

cos(0°) = 1, the maximum value, reached when the angle points along the positive x-axis on the unit circle. cos(90°) = 0, where the point sits on the y-axis.

What is the difference between degrees and radians?

Both measure the same angle in different units: a full turn is 360° or 2π radians. cos(60°) and cos(π/3) give the same result (0.5). Use the DEG/RAD toggle to match your input, since the same number means a different angle in each mode.

What is the relationship between sin and cos?

They are cofunctions: sin(x) = cos(90° − x) and cos(x) = sin(90° − x). They also satisfy the Pythagorean identity sin²(x) + cos²(x) = 1.

What is the secant shown next to the result?

Secant is the reciprocal of cosine: sec(θ) = 1 / cos(θ). The calculator displays it alongside the cosine value. Where cos(θ) = 0 (such as 90°), the secant is undefined (∞).

How do I enter radians?

Click the RAD button, then enter the value. You can use π notation such as π/3, an expression like 2π/3, or a decimal like 1.0472.

Enter angle
°
sin(0°) 0
Formula
Degrees Radians sin cos tan
0010
30°π/61/2√3/2√3/3
45°π/4√2/2√2/21
60°π/3√3/21/2√3
90°π/210
120°2π/3√3/2−1/2−√3
135°3π/4√2/2−√2/2−1
150°5π/61/2−√3/2−√3/3
180°π0−10
Enter the angle in degrees (default) or switch to RAD for radians
Supports π notation such as π/3 or π/6, and expressions like 2π/3
Special angles (30°, 45°, 60°, …) show exact values like √3/2 instead of decimals
The secant (sec = 1/cos) is shown alongside each cosine result
All calculations run locally in your browser
Want to learn more? Read documentation →
1/6
Start typing to search...
Searching...
No results found
Try searching with different keywords