The Cosine Function
Cosine relates an angle to the ratio of the adjacent side over the hypotenuse. On the unit circle, cos(θ) is the x-coordinate — the horizontal component of the point at angle θ.
Did our AI summary help? Let us know.
Cosine is positive in quadrants 1 and 4 (where x > 0), negative in 2 and 3. Remember C in ASTC. cos(0°)=1, cos(30°)=√3/2, cos(45°)=√2/2, cos(60°)=1/2, cos(90°)=0 — the pattern mirrors sine. Cosine similarity in machine learning measures the angle between vectors using cos(θ).
Ready to run the numbers?
Why: Cosine models horizontal displacement and in-phase oscillations. It is essential for signal processing, Fourier analysis, and structural engineering.
How: cos(θ) = adjacent/hypotenuse in a right triangle. On the unit circle, it equals the x-coordinate. Cosine is sine shifted by 90°: cos(θ) = sin(θ + 90°).
Run the calculator when you are ready.
Examples — Click to Load
Trig Value Breakdown
All 6 Trig Functions
cos² vs sin² (Pythagorean Identity)
Calculation Breakdown
For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
Cosine gets its name from 'complement of sine' — cos(θ) = sin(90° - θ).
— Wolfram MathWorld
Cosine is even: cos(-θ) = cos(θ). The graph is symmetric about the y-axis.
— Paul's Online Notes
Key Takeaways
- • cos(θ) = adjacent / hypotenuse in a right triangle; on the unit circle it is the x-coordinate
- • Range is always [-1, 1]. Key values: cos(0°) = 1, cos(30°) = √3/2, cos(45°) = √2/2, cos(90°) = 0, cos(180°) = -1
- • Cosine is an even function: cos(-θ) = cos(θ) with period 2π (360°)
- • The Pythagorean identity sin²(θ) + cos²(θ) = 1 always holds
- • Cosine is positive in Q1 and Q4 (0°–90° and 270°–360°), negative in Q2 and Q3 (90°–270°)
Did You Know?
How the Cosine Function Works
The cosine function relates an angle in a right triangle to the ratio of the adjacent side over the hypotenuse. On the unit circle, it is simply the x-coordinate of the point at angle θ.
Unit Circle Definition
For any angle θ measured counterclockwise from the positive x-axis, the terminal point on a circle of radius 1 has coordinates (cos θ, sin θ). Cosine is the horizontal component — it starts at 1 when θ = 0° and returns to 1 after a full rotation.
Even Function Symmetry
Cosine is even: cos(-θ) = cos(θ). Reflecting the angle across the x-axis leaves cosine unchanged. This contrasts with sine, which is odd. The cosine graph is symmetric about the y-axis.
Cofunction Identity
cos(θ) = sin(90° - θ) and sin(θ) = cos(90° - θ). For complementary angles, sine and cosine swap. So cos(60°) = sin(30°) = 0.5. This identity is essential for solving many trig problems.
Expert Tips
Memorize the Special Angles
cos(0°)=1, cos(30°)=√3/2, cos(45°)=√2/2, cos(60°)=1/2, cos(90°)=0. Cosine "starts high" at 0° — the pattern mirrors sine but shifted. Use the Unit Circle Calculator to visualize.
Q1 and Q4 Are Positive
Cosine is positive where x > 0: Quadrants 1 and 4. Negative in Q2 and Q3. Remember "All Students Take Calculus" — Cosine is positive in the 4th quadrant. Try the Sum & Difference Calculator.
Phase Shift from Sine
cos(θ) = sin(θ + 90°). Cosine is sine shifted left by 90°. In wave analysis, this 90° phase difference is why AC voltage and current are often "out of phase" in inductors and capacitors.
The Pythagorean Identity
sin²θ + cos²θ = 1 always. If you know cos(θ), then sin(θ) = ±√(1 - cos²θ), with the sign from the quadrant. See the Trig Identities Calculator.
Why Use This Calculator vs. Other Tools?
| Feature | This Calculator | Scientific Calculator | Manual Computation |
|---|---|---|---|
| All 6 trig functions at once | ✅ | ❌ One at a time | ❌ |
| Quadrant & reference angle | ✅ | ❌ | ✅ Slow |
| Visual charts & breakdown | ✅ | ❌ | ❌ |
| Step-by-step explanation | ✅ | ❌ | ✅ |
| Pythagorean identity check | ✅ | ❌ | ⚠️ Manual |
| Copy & share results | ✅ | ❌ | ❌ |
| Degrees and radians | ✅ | ✅ | ✅ |
| Preset examples | ✅ | ❌ | ❌ |
Frequently Asked Questions
What is the range of the cosine function?
The cosine function always outputs values between -1 and 1, inclusive. cos(0°) = 1 is the maximum and cos(180°) = -1 is the minimum. Like sine, this bounded range makes cosine ideal for modeling oscillations and circular motion.
Why is cosine called an even function?
A function is even when f(-x) = f(x). For cosine: cos(-θ) = cos(θ). Graphically, the cosine curve is symmetric about the y-axis — reflecting it produces the same graph. This contrasts with sine, which is odd: sin(-θ) = -sin(θ).
Where is cosine positive and negative?
Cosine is positive in Quadrants 1 and 4 (where x > 0 on the unit circle): 0°–90° and 270°–360°. It is negative in Quadrants 2 and 3 (90°–270°) where x < 0. Remember: cosine = x-coordinate.
What is the cofunction identity for cosine?
cos(θ) = sin(90° - θ) and sin(θ) = cos(90° - θ). For complementary angles that sum to 90°, sine and cosine swap. So cos(20°) = sin(70°). This identity is fundamental in trigonometry.
How do I find cosine without a calculator?
Memorize the special angles: cos(0°)=1, cos(30°)=√3/2, cos(45°)=√2/2≈0.707, cos(60°)=1/2, cos(90°)=0. For other angles, use reference angles and quadrant signs, or the Taylor series: cos(x) ≈ 1 - x²/2 + x⁴/24.
How is cosine related to sine?
They are cofunctions and phase-shifted: cos(θ) = sin(θ + 90°). The Pythagorean identity sin²θ + cos²θ = 1 links them. On the unit circle, (cos θ, sin θ) gives the coordinates of the point at angle θ.
What is the period of cosine?
The period of cos(θ) is 2π radians (360°), meaning cos(θ + 2π) = cos(θ). For cos(Bθ), the period becomes 2π/B. Cosine and sine share the same period.
Where is cosine used in real life?
Cosine appears in physics (wave motion, projections), engineering (structural analysis, signal processing), computer graphics (rotations, 3D transforms), navigation (bearing calculations), and machine learning (cosine similarity).
Cosine Function by the Numbers
Official & Educational Sources
Disclaimer: This calculator provides results based on standard IEEE 754 floating-point arithmetic. Results are accurate to approximately 15 significant digits. For mission-critical applications (aerospace, medical devices), always verify with certified computational tools. Not a substitute for professional engineering analysis.
Related Calculators
Sine Calculator
Calculate the sine of any angle in degrees or radians. Get sin(θ), related cos and tan values, quadrant info, step-by-step solutions, and interactive charts....
MathematicsTangent Calculator
Calculate the tangent of any angle in degrees or radians. Get tan(θ), related sin and cos values, quadrant info, asymptote detection, step-by-step solutions...
MathematicsCosecant Calculator
Calculate the cosecant of any angle in degrees or radians. Get csc(θ) = 1/sin(θ), undefined detection at 0°/180°, step-by-step solutions, and interactive...
MathematicsCotangent Calculator
Calculate the cotangent of any angle in degrees or radians. Get cot(θ) = cos(θ)/sin(θ), undefined detection at 0° and 180°, step-by-step solutions, and...
MathematicsSecant Calculator
Calculate the secant of any angle in degrees or radians. Get sec(θ) = 1/cos(θ), undefined detection at 90° and 270°, step-by-step solutions, and interactive...
MathematicsUnit Circle Calculator
Find x (cos), y (sin), reference angle, quadrant for any angle. Step-by-step, charts.
Mathematics