Free Cotangent Calculator

Common Cotangent Values

Anglecot(α)
0°Undefined
30°√3
45°1
60°1/√3
90°0
120°-1/√3
135°-1
150°-√3
180°Undefined

Enter an angle to find its cotangent

Understanding the Cotangent Function

The cotangent — often written as cot(x) or cot x — is one of the six fundamental trigonometric functions. Though it receives less attention than sine or cosine, the cot trig function appears regularly in advanced mathematics, physics, and engineering. This guide explains the definition of the cotangent of an angle, how to extend it to any real angle, the shape of its graph, essential properties, and several alternative formulas. If you need to calculate cot online quickly, the cot calculator above returns both exact and decimal values for any angle you enter.

Cotangent Definition in a Right Triangle

Inside any right triangle, the cotangent of an acute angle is the ratio of the length of the side adjacent to the angle to the length of the side opposite the angle. Let α\alpha be an acute angle (not the right angle). Then

cot⁡α=adjacentopposite.\cot \alpha = \frac{\text{adjacent}}{\text{opposite}}.

A key feature of this definition is that it does not depend on the size of the triangle; scaling the triangle leaves the ratio unchanged. Therefore, the cotangent value depends only on the angle itself. Along with sine, cosine, tangent, secant, and cosecant, the cotangent forms the complete set of trigonometric ratios used in right‑triangle geometry.

Extending to Any Angle

The right‑triangle definition works only for angles between 0∘0^\circ and 90∘90^\circ. To handle larger or negative angles, we use the coordinate plane.

Place a point A=(x,y)A = (x, y) in the Cartesian plane, and let α\alpha be the directed angle measured counter‑clockwise from the positive xx-axis to the segment OAOA. The distance from the origin to AA is r=x2+y2r = \sqrt{x^{2}+y^{2}}. Mapping the triangle sides to the coordinates gives the general cot formula:

cot⁡α=xy,(y≠0).\cot \alpha = \frac{x}{y}, \qquad (y \neq 0).

This formulation works for angles beyond 360∘360^\circ (by wrapping around) and for negative angles (by rotating clockwise). The only restriction is y≠0y \neq 0; when the point lies on the horizontal axis, the angle is a multiple of 180∘180^\circ and the cotangent is undefined.

Cotangent Graph and Properties

Plotting cot⁡x\cot x produces a curve with repeating vertical asymptotes and a shape that is the reciprocal of the tangent graph.

Important properties of the cotangent function:

  • Domain: all real numbers except integer multiples of 180∘180^\circ (π\pi radians). In set notation:
D(cot⁡)={x∣x≠k⋅180∘,  k∈Z}.D(\cot) = \{x \mid x \neq k \cdot 180^\circ,\; k \in \mathbb{Z}\}.
  • Range: all real numbers (−∞,+∞-\infty, +\infty).

  • Periodicity: the function repeats every 180∘180^\circ (π\pi radians):

cot⁡(x+180∘)=cot⁡x.\cot(x + 180^\circ) = \cot x.
  • Odd function: cot⁡(−x)=−cot⁡(x)\cot(-x) = -\cot(x), so the graph is symmetric about the origin.

  • Vertical asymptotes: at every x=k⋅180∘x = k \cdot 180^\circ (k∈Zk \in \mathbb{Z}), where the sine function is zero and cot⁡x→±∞\cot x \to \pm \infty.

The domain gaps and asymptotes both come from the definition cot⁡x=cos⁡x/sin⁡x\cot x = \cos x / \sin x; division by zero is not allowed wherever sin⁡x=0\sin x = 0.

Alternative Cot Formulas

Cotangent can be written in terms of other trigonometric functions. The two most useful identities are:

  1. Reciprocal of tangent:
cot⁡x=1tan⁡x,tan⁡x≠0.\cot x = \frac{1}{\tan x}, \quad \tan x \neq 0.
  1. Ratio of cosine to sine:
cot⁡x=cos⁡xsin⁡x,sin⁡x≠0.\cot x = \frac{\cos x}{\sin x}, \quad \sin x \neq 0.

These formulas simplify expressions and help solve equations. Note that cot⁡x\cot x is the multiplicative inverse (reciprocal) of tan⁡x\tan x, not the inverse function — the inverse of tangent is arctan⁡x\arctan x.

Worked Examples: Cotangent of Common Angles

Let's compute cot⁡\cot for 30∘30^\circ, 45∘45^\circ, 60∘60^\circ, and 75∘75^\circ using the definitions above.

30∘30^\circ and 60∘60^\circ

A 30∘30^\circ-60∘60^\circ-90∘90^\circ triangle has sides proportional to 11, 3\sqrt{3}, and 22. If the short leg (opposite 30∘30^\circ) is xx, the long leg (adjacent to 30∘30^\circ) is x3x\sqrt{3}. Applying the adjacent‑over‑opposite rule:

cot⁡30∘=x3x=3≈1.732,\cot 30^\circ = \frac{x\sqrt{3}}{x} = \sqrt{3} \approx 1.732, cot⁡60∘=xx3=13=33≈0.577.\cot 60^\circ = \frac{x}{x\sqrt{3}} = \frac{1}{\sqrt{3}} = \frac{\sqrt{3}}{3} \approx 0.577.

45∘45^\circ

A 45∘45^\circ-45∘45^\circ-90∘90^\circ triangle has both legs equal. If each leg is xx:

cot⁡45∘=xx=1.\cot 45^\circ = \frac{x}{x} = 1.

75∘75^\circ

No special triangle exists for 75∘75^\circ. One approach uses the tangent addition formula and the reciprocal identity.

tan⁡75∘=tan⁡(45∘+30∘)=tan⁡45∘+tan⁡30∘1−tan⁡45∘tan⁡30∘=1+3/31−3/3=3+33−3.\tan 75^\circ = \tan(45^\circ + 30^\circ) = \frac{\tan 45^\circ + \tan 30^\circ}{1 - \tan 45^\circ \tan 30^\circ} = \frac{1 + \sqrt{3}/3}{1 - \sqrt{3}/3} = \frac{3 + \sqrt{3}}{3 - \sqrt{3}}.

Rationalizing gives tan⁡75∘=2+3\tan 75^\circ = 2 + \sqrt{3}. Since cot⁡x=1/tan⁡x\cot x = 1/\tan x:

cot⁡75∘=12+3=2−3≈0.268.\cot 75^\circ = \frac{1}{2 + \sqrt{3}} = 2 - \sqrt{3} \approx 0.268.

The table below summarizes the results:

Anglecot (exact)Decimal
30°√31.732
45°11.000
60°√3/30.577
75°2−√30.268

For angles that do not correspond to special triangles, an online cot calculator provides an instant answer.

Using the Cot Calculator

To calculate cot online, enter the angle in degrees or radians; the tool returns the cotangent value immediately. You can adjust the number of significant figures if needed. The calculator also shows the exact expression (involving radicals) when possible, which is helpful for academic work.

Summary

The cotangent may be less famous than sine or cosine, but it plays an indispensable role in trigonometry. Whether you use the right‑triangle definition, the coordinate‑plane extension, or the reciprocal identities, being comfortable with the cot trig function is essential for solving a wide range of problems. Use the cot x calculator whenever you need a quick and reliable answer, and refer to the formulas and examples above to strengthen your understanding.

FAQ

1. How do I calculate the cotangent of an angle?

You can calculate cot(x) using the formulas: cot(x) = adjacent/opposite (right triangle), cot(x) = 1/tan(x), or cot(x) = cos(x)/sin(x). The easiest way is to enter the angle into the cot calculator above for an instant result.

2. Why is cot(0) undefined?

At 0°, sin(0) = 0, and since cot(x) = cos(x)/sin(x), the denominator becomes zero, making the function undefined. The same occurs at any multiple of 180°.

3. What is the relationship between cot and tan?

Cotangent is the reciprocal of tangent: cot(x) = 1/tan(x). They are not inverse functions; the inverse of tan is arctan(x).

4. Does the cotangent function have a period?

Yes, the cotangent function repeats every 180° (π radians). This means cot(x+180°) = cot(x) for all x in its domain.

5. Can I use the cot calculator for negative angles?

Yes, the calculator accepts negative angles. Because cot is an odd function, cot(-x) = -cot(x), so a negative angle simply produces the negative of the cotangent of the positive angle.

How to Use

  1. Enter the angle value in the input field.
  2. Select the angle unit from the dropdown (degrees, radians, milliradians, or π radians).
  3. The cotangent value is calculated instantly as you type.