Right Triangle Solver logo
Right Triangle Solver

Focused Calculator

Cotangent Ratio Calculator

Calculate cot(A) from adjacent side b over opposite side a in a right triangle.

Calculate Cotangent Ratio

This calculator finds cot(A) using cot⁡(A)=ba\cot(A) = \frac{b}{a}.

Enter inputs to calculate cot(A).

What Is a Cotangent Ratio Calculator?

A cotangent ratio calculator answers one question: for an acute angle in a right triangle, how does the side next to the angle compare with the side across from it? Enter the two side lengths, and the tool divides the adjacent side by the opposite side, returning cot⁡(A)=b/a\cot(A)=b/a. With an adjacent side of 4 cm and an opposite side of 3 cm, the calculation is 4/3≈1.33334/3\approx1.3333: the adjacent side is roughly 1.3333 times as long as the opposite side. That decimal is the complete answer. It carries no units, since centimetres cancel in the division, and it is not an angle in degrees. The hypotenuse never enters this calculation; the two perpendicular legs are sufficient. Cotangent is also the reciprocal of tangent, which is why many textbooks introduce it as the flipped form of tan⁡(A)\tan(A)

Understanding the Adjacent Side and Opposite Side

What Is a Right Triangle?

A right triangle has one angle of exactly 90∘90^\circ, the angle between two perpendicular lines, like a wall meeting a level floor. The hypotenuse sits opposite that right angle and is always the longest side. The other two angles share the remaining 90 degrees, so both are acute. The two legs meet at the right angle, perpendicular to each other, and it is their relationship that cotangent describes.

What Is the Adjacent Side?

The adjacent side bb is the leg that touches the reference angle AA without being the hypotenuse. In practical problems it often plays the role of the horizontal run: ground distance from a ladder's base, the horizontal projection of a roof, or the horizontal component of a force. It goes in the numerator of the cotangent formula. Which leg counts as adjacent depends on the chosen reference angle, so switching from angle AA to angle BB swaps the adjacent and opposite labels.

What Is the Opposite Side?

The opposite side aa sits directly across from angle AA and never touches its vertex. In practical problems it often plays the role of the vertical rise: the height of a wall, an elevation difference, or the vertical component of a measurement. It goes in the denominator of the cotangent formula, which means making it larger shrinks the ratio and making it smaller grows the ratio.

What Is the Hypotenuse?

The hypotenuse cc is the side opposite the right angle: in any diagram it faces the small square marking the 90∘90^\circ corner, and it is strictly longer than either leg. It plays no role in the basic cotangent ratio, which is why the calculator never asks for it. It becomes relevant when sine, cosine, secant, or cosecant enter the work, or when the Pythagorean theorem is used to verify that the two legs form a genuine right triangle.

Right triangle with angle A bottom-left, gold adjacent side b, green opposite side a, cot(A)=b/a
Angle A sits at the bottom-left; cotangent uses the gold adjacent side b and the green opposite side a, not the hypotenuse c.

Understanding the Cotangent Ratio

Cotangent compares the length next to the reference angle with the length across from it:

cot⁡(A)=ba\cot(A)=\frac{b}{a}

Here cot⁡(A)\cot(A) is the cotangent of angle AA, bb is the adjacent side, and aa is the opposite side: how many times the opposite side fits into the adjacent side.

Cotangent as the Reciprocal of Tangent

Tangent divides the opposite side by the adjacent side, tan⁡(A)=a/b\tan(A)=a/b. Taking the reciprocal flips that fraction, 1/tan⁡(A)=b/a1/\tan(A)=b/a, which is exactly the cotangent formula:

cot⁡(A)=1tan⁡(A)=ba\boxed{\cot(A)=\frac{1}{\tan(A)}=\frac{b}{a}}

With tan⁡(A)=3/4=0.75\tan(A)=3/4=0.75, the reciprocal is cot⁡(A)=1/0.75=4/3≈1.3333\cot(A)=1/0.75=4/3\approx1.3333: the same triangle, described from the opposite direction. This distinction matters because tan⁡−1\tan^{-1} denotes the inverse tangent function, while 1/tan⁡(A)1/\tan(A) is the reciprocal tangent: related ideas, different meanings, different answers.

Understanding Cotangent as Run Divided by Rise

When angle AA is measured from the horizontal, the adjacent side can represent the horizontal run and the opposite side the vertical rise. Then cot⁡(A)=Horizontal runVertical rise\cot(A)=\frac{\text{Horizontal run}}{\text{Vertical rise}}. Tangent gives the same relationship flipped, rise divided by run. This run-over-rise reading makes cotangent the natural ratio for questions like "how much horizontal distance covers how much height?" and it depends on the chosen reference angle and the geometry of the situation.

What Does a Cotangent Value Mean?

A cotangent greater than 1 means the adjacent side is longer than the opposite side, and the reference angle is less than 45∘45^\circ. A cotangent equal to 1 means the two legs are equal and angle AA is exactly 45∘45^\circ. A cotangent between 0 and 1 means the opposite side is longer than the adjacent side, and the reference angle lies between 45∘45^\circ and 90∘90^\circ

Why Cotangent Can Be Greater Than 1

Unlike sine and cosine, cotangent has no 0-to-1 ceiling because the hypotenuse never enters the division. For cot⁡(A)=8/2=4\cot(A)=8/2=4, the adjacent side is simply four times the opposite side, and the reference angle is a relatively small acute angle. Any positive finite value is possible.

Why Cotangent Can Be Less Than 1

For cot⁡(A)=3/6=0.5\cot(A)=3/6=0.5, the adjacent side is half the opposite side, so the reference angle is a relatively large acute angle. The ratio drops below 1 without anything going wrong: it is simply the signature of a taller, narrower triangle.

Why Cotangent Is a Dimensionless Ratio

Dividing one length by another cancels the units: 4 m/3 m=4/34\text{ m}/3\text{ m}=4/3, and 400 cm/300 cm=4/3400\text{ cm}/300\text{ cm}=4/3 as well. The number describes the shape of the triangle, not a measurement with physical units, so write the result as a plain number, never with metres, centimetres, or degrees attached.

Three stages: 3-4-5 triangle labeled, tangent tan(A)=3/4=0.75, cotangent cot(A)=4/3=1.3333, the reciprocal relationship
Three stages: label the 3-4-5 triangle, compute tangent tan(A) = 3/4, then flip the fraction to get cot(A) = 4/3.

How the Cotangent Formula Works

Start from the definition: cotangent is the adjacent side divided by the opposite side. In this page's notation:

cot⁡(A)=ba\boxed{\cot(A)=\frac{b}{a}}

The adjacent side is the numerator because it is the length being compared; the opposite side is the denominator because it is the reference length, the "how many of these fit into that" unit. Swapping them gives the tangent ratio instead.

Fully Worked Example: A 3-4-5 Right Triangle

Given b=4 cmb=4\text{ cm}, a=3 cma=3\text{ cm}, c=5 cmc=5\text{ cm}:

Step 1: Write the formula. cot⁡(A)=b/a\cot(A)=b/a

Step 2: Substitute the measurements. cot⁡(A)=4/3\cot(A)=4/3

Step 3: Divide. cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}

Step 4: Interpret the answer. The adjacent side is about 1.3333 times the opposite side.

Step 5: Verify with the tangent ratio. tan⁡(A)=3/4=0.75\tan(A)=3/4=0.75, and 1/0.75≈1.33331/0.75\approx1.3333. Both paths land on the same number, which is exactly how reciprocal ratios behave.

How to Use the Cotangent Ratio Calculator

The walkthrough below matches the actual interface on this page.

  1. Identify the reference angle AA, since the adjacent and opposite sides are defined relative to it.
  2. Locate the adjacent side bb: the leg touching angle AA that is not the hypotenuse.
  3. Locate the opposite side aa: the leg directly across from angle AA, the one that never touches its vertex.
  4. Measure or obtain both side lengths in the same unit.
  5. Enter the adjacent-side length in the first input field.
  6. Enter the opposite-side length in the second input field.
  7. Select matching units with the unit selectors so the division compares like with like.
  8. Confirm both measurements are positive; zero or negative lengths cannot form a real triangle.
  9. Click Calculate cot(A) to divide the adjacent side by the opposite side.
  10. Read the cotangent ratio: the adjacent side expressed as a multiple of the opposite side.
  11. Interpret the result: greater than 1 means a longer adjacent side, equal to 1 means equal legs, less than 1 means a longer opposite side.
  12. Use Reset to clear the inputs and start over.

The calculator asks for no hypotenuse and no angle in degrees: two positive side lengths are the complete input, and the result is always a positive, dimensionless number.

Step-by-Step Examples of Calculating Cotangent

Each example follows the same pattern: write the formula, substitute, divide, interpret.

Example 1: A 3-4-5 Right Triangle

Given b=4 cmb=4\text{ cm}, a=3 cma=3\text{ cm}, c=5 cmc=5\text{ cm}:

cot⁡(A)=4/3\cot(A)=4/3

cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}

The adjacent side is about 1.3333 times the opposite side; the hypotenuse sits out of the calculation entirely.

Example 2: A 5-12-13 Right Triangle

Given b=12 mb=12\text{ m}, a=5 ma=5\text{ m}, c=13 mc=13\text{ m}:

cot⁡(A)=12/5\cot(A)=12/5

cot⁡(A)=2.4\boxed{\cot(A)=2.4}

The ratio is greater than 1 because the adjacent side is the longer leg; it tells us the adjacent side is 2.4 times the opposite side, not how large the triangle is.

Example 3: An Isosceles Right Triangle

Given b=6 cmb=6\text{ cm}, a=6 cma=6\text{ cm}, c=62 cmc=6\sqrt{2}\text{ cm}:

cot⁡(A)=6/6\cot(A)=6/6

cot⁡(A)=1\boxed{\cot(A)=1}

Equal legs give a ratio of exactly 1, which is the signature of a 45∘45^\circ reference angle.

Example 4: A Triangle With a Smaller Adjacent Side

Given b=6 mb=6\text{ m} and a=8 ma=8\text{ m}:

cot⁡(A)=6/8\cot(A)=6/8

cot⁡(A)=0.75\boxed{\cot(A)=0.75}

The result is less than 1 because the opposite side is the longer leg, so the reference angle is greater than 45∘45^\circ

Real-Life Examples of Using the Cotangent Ratio

Cotangent is a mathematical ratio, not a physical quantity with units. Its practical value lies in comparing horizontal run with vertical rise, checking triangle geometry, and using formulas that specifically call for adjacent divided by opposite. Each example assumes a simplified right triangle, and none of these ratios alone settles questions of safety, strength, or code compliance.

Example 5: Finding a Ladder's Run-to-Rise Ratio

A ladder rests against a vertical wall. Its base is 3 m from the wall, and it reaches 4 m up the wall. The horizontal distance is the adjacent side b=3 mb=3\text{ m}, the vertical reach the opposite side a=4 ma=4\text{ m}. cot⁡(A)=3/4\cot(A)=3/4, so cot⁡(A)=0.75\boxed{\cot(A)=0.75}: the horizontal distance is 75 percent of the vertical height. The ratio describes the ladder's geometry; it does not determine whether the ladder is safely positioned.

Example 6: Calculating a Roof's Run-to-Rise Ratio

A roof section has a horizontal run of 4 m and a vertical rise of 3 m. Here b=4 mb=4\text{ m} and a=3 ma=3\text{ m}. cot⁡(A)=4/3\cot(A)=4/3, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}: the horizontal run is about 1.3333 times the vertical rise. This ratio is not a complete structural or roofing-code assessment.

Example 7: Evaluating a Ramp's Cotangent Ratio

A simplified ramp has a horizontal run of 9 m and a vertical rise of 0.75 m. With b=9 mb=9\text{ m} and a=0.75 ma=0.75\text{ m}: cot⁡(A)=9/0.75\cot(A)=9/0.75, so cot⁡(A)=12\boxed{\cot(A)=12}. The horizontal run is 12 times the vertical rise, the signature of a gentle slope. The ratio alone does not determine accessibility or building-code compliance.

Example 8: A Surveying Measurement

A simplified surveying triangle has a horizontal distance of 40 m and a vertical elevation difference of 30 m. With b=40 mb=40\text{ m} and a=30 ma=30\text{ m}: cot⁡(A)=40/30\cot(A)=40/30, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}. The ratio compares the horizontal separation with the vertical difference directly. Actual surveying can require additional measurements, corrections, and instrument procedures.

Example 9: A Guy Wire Supporting a Pole

A guy wire connects a pole to a ground anchor. The anchor is 12 m horizontally from the pole, and the attachment point is 5 m above the ground. With b=12 mb=12\text{ m} and a=5 ma=5\text{ m}: cot⁡(A)=12/5\cot(A)=12/5, so cot⁡(A)=2.4\boxed{\cot(A)=2.4}. The horizontal distance is 2.4 times the vertical separation. This ratio does not establish wire tension, anchor strength, or structural safety.

Example 10: Understanding a Staircase's Run-to-Rise Ratio

A simplified staircase has a horizontal run of 4 m and a vertical rise of 3 m. With b=4 mb=4\text{ m} and a=3 ma=3\text{ m}: cot⁡(A)=4/3\cot(A)=4/3, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}. The horizontal run is about 1.3333 times the vertical rise. The example describes an idealized diagonal and does not verify staircase dimensions or code compliance.

Example 11: A Crane Boom's Horizontal and Vertical Components

A simplified crane boom forms a right triangle with a horizontal projection of 6 m and a vertical rise of 8 m. With b=6 mb=6\text{ m} and a=8 ma=8\text{ m}: cot⁡(A)=6/8\cot(A)=6/8, so cot⁡(A)=0.75\boxed{\cot(A)=0.75}. The horizontal projection is 75 percent of the vertical component. The ratio does not establish lifting capacity or operating safety.

Example 12: A Straight Aircraft Flight Segment

For a simplified flight segment, an aircraft travels along a straight path with a horizontal displacement of 4 km and a vertical gain of 3 km. With b=4 kmb=4\text{ km} and a=3 kma=3\text{ km}: cot⁡(A)=4/3\cot(A)=4/3, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}. The horizontal displacement is about 1.3333 times the vertical gain. This is an idealized geometric model, not a complete flight-navigation calculation.

Example 13: A Diagonal Mechanical Brace

A diagonal brace has a horizontal offset of 1.2 m and a vertical rise of 1.6 m. With b=1.2 mb=1.2\text{ m} and a=1.6 ma=1.6\text{ m}: cot⁡(A)=1.2/1.6\cot(A)=1.2/1.6, so cot⁡(A)=0.75\boxed{\cot(A)=0.75}. The horizontal offset is 75 percent of the vertical rise. The ratio does not determine the brace's strength or suitability.

Example 14: A Straight Hiking Section

A simplified straight section of a hiking route has a horizontal displacement of 80 m and a vertical gain of 60 m. With b=80 mb=80\text{ m} and a=60 ma=60\text{ m}: cot⁡(A)=80/60\cot(A)=80/60, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}. The horizontal displacement is about 1.3333 times the elevation gain. Actual trails can have curves and changing gradients.

Example 15: An Awning Support

A diagonal awning support has a horizontal projection of 2.4 m and a vertical rise of 1.8 m. With b=2.4 mb=2.4\text{ m} and a=1.8 ma=1.8\text{ m}: cot⁡(A)=2.4/1.8\cot(A)=2.4/1.8, so cot⁡(A)≈1.3333\boxed{\cot(A)\approx1.3333}. The ratio describes the horizontal projection relative to the vertical rise. This calculation does not establish structural suitability.

Example 16: A Cable Spanning Two Different Heights

A straight cable spans 24 m horizontally between two points with a vertical separation of 7 m. With b=24 mb=24\text{ m} and a=7 ma=7\text{ m}: cot⁡(A)=24/7\cot(A)=24/7, so cot⁡(A)≈3.4286\boxed{\cot(A)\approx3.4286}. The horizontal separation is about 3.4286 times the vertical difference. The model assumes a straight line between the endpoints.

Practical Examples Compared

Situation Adjacent side b Opposite side a Cotangent formula Calculated ratio Interpretation
Ladder3 m4 m3/40.75Run is 75% of vertical reach
Roof4 m3 m4/31.3333Run is 1.3333 times the rise
Ramp9 m0.75 m9/0.7512Run is 12 times the rise
Surveying40 m30 m40/301.3333Distance is 1.3333 times the elevation gap
Guy wire12 m5 m12/52.4Distance is 2.4 times the height
Staircase4 m3 m4/31.3333Run is 1.3333 times the rise
Crane boom6 m8 m6/80.75Projection is 75% of the rise
Flight segment4 km3 km4/31.3333Displacement is 1.3333 times the gain
Brace1.2 m1.6 m1.2/1.60.75Offset is 75% of the rise
Hiking route80 m60 m80/601.3333Displacement is 1.3333 times the gain
Awning support2.4 m1.8 m2.4/1.81.3333Projection is 1.3333 times the rise
Cable24 m7 m24/73.4286Separation is 3.4286 times the height gap
Four panels: ladder ratio 0.75, roof 1.3333, ramp 12, surveying 1.3333, each with a labeled right triangle
Four practical calculations: ladder, roof, ramp, and surveying, each with its triangle, formula, and ratio.

The pattern holds throughout: the ratio is large when the adjacent side dwarfs the opposite side, and small when the opposite side dominates.

Understanding the Relationship Between Cotangent and Angle Size

Cotangent falls as the acute angle grows. A small angle keeps the adjacent side much longer than the opposite side, so the ratio is large; as angle AA opens toward 90∘90^\circ, the opposite side takes over and the ratio drops toward 0. The verified reference values below show the pattern:

Angle A Adjacent side b Opposite side a Cotangent ratio
30 degsqrt(3)1Approximately 1.7321
45 deg111
60 deg1sqrt(3)Approximately 0.5774
75 deg1Approximately 3.7321Approximately 0.2679

The table measurements are illustrative: the ratios, not the absolute lengths, determine the angles. The ratio grows without bound as the angle approaches 0∘0^\circ and approaches 0 as the angle approaches 90∘90^\circ, staying positive and finite for every valid triangle.

Three triangles at 30, 45, 60 degrees with cotangent values 1.7321, 1, 0.5774; cotangent falls as the angle grows
As angle A grows, the opposite side becomes a larger share of the adjacent side, so cot(A) falls.

The calculator takes no angle input; these reference values serve as orientation and check values when verifying a result.

How to Find an Angle When Cotangent Is Known

The cotangent ratio is not itself an angle. When the ratio is known and the angle is required, inverse trigonometry bridges the gap. For a positive cotangent ratio in a right triangle, take the reciprocal to recover the tangent ratio, then apply inverse tangent:

A=tan⁡−1(1cot⁡(A))\boxed{A=\tan^{-1}\left(\frac{1}{\cot(A)}\right)}

Equivalently, since tan⁡(A)=a/b\tan(A)=a/b:

A=tan⁡−1(ab)\boxed{A=\tan^{-1}\left(\frac{a}{b}\right)}

Worked Example

Given cot⁡(A)=4/3\cot(A)=4/3: the reciprocal is tan⁡(A)=3/4\tan(A)=3/4, so A=tan⁡−1(3/4)A=\tan^{-1}(3/4) and A≈36.87∘\boxed{A\approx36.87^\circ}. Set the scientific calculator to degrees mode before pressing the inverse tangent key. This is a separate angle calculation; the cotangent ratio calculator on this page takes side lengths and returns the ratio, never the angle.

Common Mistakes When Calculating Cotangent

  1. Reversing the formula to a/ba/b instead of b/ab/a. This computes tangent. Fix: put the adjacent side on top.
  2. Confusing cotangent with tangent. Reporting 0.75 for a 3-4-5 triangle. Fix: tangent is opposite over adjacent; cotangent is the flipped fraction.
  3. Confusing cotangent with cosine. Using b/cb/c. Fix: cosine needs the hypotenuse; cotangent never touches it.
  4. Using the hypotenuse instead of one of the two legs. Computing b/cb/c or c/ac/a. Fix: the denominator is the opposite leg aa, not cc.
  5. Mixing up the adjacent and opposite sides. Choosing the wrong leg. Fix: trace from angle AA: the leg touching it is adjacent, the one across from it is opposite.
  6. Forgetting that the side labels depend on the reference angle. Using labels drawn for angle BB. Fix: relabel whenever the reference angle changes.
  7. Assuming cotangent must be between 0 and 1. Treating 2.4 or 12 as errors. Fix: those values are fine; only sine and cosine are capped at 1.
  8. Assuming a cotangent of 1 means an invalid triangle. Fix: cot⁡(A)=1\cot(A)=1 simply means equal legs and a 45∘45^\circ angle, a perfectly valid triangle.
  9. Reporting the ratio with metres or centimetres. Writing 1.3333 m. Fix: the units already cancelled, so report a plain number.
  10. Entering zero or negative side lengths. Division by zero or a meaningless negative ratio. Fix: use positive lengths only.
  11. Mixing measurement units. Metres divided by centimetres skew the ratio by 100. Fix: convert both sides to one unit first.
  12. Rounding too early. Rounding 4/34/3 to 1.33 before verifying adds avoidable error. Fix: keep extra digits until the final step.
  13. Assuming cotangent is an angle in degrees. Reading 1.3333 as 1.3333 degrees. Fix: it is a ratio; the angle needs inverse tangent.
  14. Confusing reciprocal tangent with inverse tangent. Writing 1/tan⁡(A)1/\tan(A) when tan⁡−1(a/b)\tan^{-1}(a/b) is needed, or the reverse. Fix: reciprocal flips the fraction; inverse recovers the angle.
  15. Assuming the cotangent value determines the triangle's size. Two very different triangles can share cot⁡(A)=1.3333\cot(A)=1.3333. Fix: the ratio fixes the shape, not the scale.

Wrong Versus Correct

Given b=4b=4 and a=3a=3:

Incorrect: 3/4=0.753/4=0.75. This is the tangent ratio, not cotangent.

Correct: cot⁡(A)=4/3≈1.3333\cot(A)=4/3\approx1.3333. Verify: tan⁡(A)=3/4=0.75\tan(A)=3/4=0.75 and 1/0.75≈1.33331/0.75\approx1.3333, which confirms the reciprocal relationship.

How to Check Whether Your Cotangent Result Is Valid

A valid, non-degenerate right triangle requires positive legs, a>0a \gt 0 and b>0b \gt 0, so the cotangent result must be a positive, finite number:

cot⁡(A)=ba>0\boxed{\cot(A)=\frac{b}{a} \gt 0}

Both measurements must use compatible units. A result greater than 1, equal to 1, or less than 1 can all be valid; unlike sine and cosine, cotangent is not capped at 1.

Method 1: Check the Reciprocal of Tangent

Verify tan⁡(A)=a/b\tan(A)=a/b, then confirm cot⁡(A)=1/tan⁡(A)\cot(A)=1/\tan(A). With a=3a=3 and b=4b=4: tan⁡(A)=3/4=0.75\tan(A)=3/4=0.75, so cot⁡(A)=1/0.75≈1.3333\cot(A)=1/0.75\approx1.3333. A mismatch between the two paths signals a reversed fraction or a mislabeled side.

Method 2: Check the Pythagorean Theorem

If the hypotenuse is known or needed, calculate c=a2+b2c=\sqrt{a^2+b^2}. For a=3a=3 and b=4b=4: c=9+16=5c=\sqrt{9+16}=5, and 32+42=523^2+4^2=5^2. This confirms the side lengths form a genuine right triangle. The hypotenuse is a verification value here, not part of the primary cotangent formula.

Method 3: Check the Angle Relationship

For a known cotangent ratio, recover the angle with A=tan⁡−1(a/b)A=\tan^{-1}(a/b). With a=3a=3 and b=4b=4: A≈36.87∘A\approx36.87^\circ. Because the adjacent side is longer than the opposite side, the angle should land below 45∘45^\circ; if it does not, the side labels are probably swapped. Small differences may arise from rounding.

Cotangent vs. Tangent, Sine, and Cosine

Each ratio compares a different pair of sides, using the same reference angle and side labels:

Ratio Formula What it compares
Sinesin(A) = a/cOpposite side to hypotenuse
Cosinecos(A) = b/cAdjacent side to hypotenuse
Tangenttan(A) = a/bOpposite side to adjacent side
Cotangentcot(A) = b/aAdjacent side to opposite side
Secantsec(A) = c/bHypotenuse to adjacent side
Cosecantcsc(A) = c/aHypotenuse to opposite side

Cotangent and tangent are the reciprocal pair: cot⁡(A)=1/tan⁡(A)\cot(A)=1/\tan(A). If tan⁡(A)=0.75\tan(A)=0.75, then cot⁡(A)≈1.3333\cot(A)\approx1.3333. Reach for cotangent when a formula calls for adjacent divided by opposite, when you are working run-to-rise relationships, or when only the two legs are known; reach for tangent for rise-to-run, sine for the opposite side against the hypotenuse, and cosine for the adjacent side against the hypotenuse.

For the neighbouring ratios, see the Sine Ratio Calculator, the Cosine Ratio Calculator, the Tangent Ratio Calculator, the Secant Ratio Calculator, and the Cosecant Ratio Calculator.

Frequently Asked Questions

Answers to the most common right-triangle solving questions.

01 What is the cotangent formula for a right triangle?

cot(A) = b / a: divide the side adjacent to angle A by the side opposite angle A. With an adjacent side of 4 cm and an opposite side of 3 cm, the result is 4/3, about 1.3333.

02 How is cotangent related to tangent?

Cotangent is the reciprocal of tangent: cot(A) = 1 / tan(A). If tan(A) = 3/4 = 0.75, then cot(A) = 4/3, about 1.3333. The two ratios describe the same triangle from flipped perspectives, and the reciprocal check is the fastest way to verify a result.

03 What is the difference between cotangent and cosine?

Cotangent divides the adjacent side by the opposite side (b/a), using the two legs only. Cosine divides the adjacent side by the hypotenuse (b/c). Cotangent is the reciprocal of tangent, not of cosine; that distinction is one of the most tested mistakes in early trigonometry.

04 Can cotangent be greater than 1?

Yes. Cotangent has no 0-to-1 ceiling because no hypotenuse is involved. When the adjacent side is longer than the opposite side, the result is above 1: for a 30-degree angle, cot(30 deg) is about 1.7321. Values of 2.4, 12, or any positive finite number are all possible.

05 What does a cotangent value of 1 mean?

The adjacent and opposite sides are equal in length, so the triangle is isosceles at the reference angle and angle A is 45 degrees. A 6 cm adjacent side and a 6 cm opposite side give cot(A) = 6/6 = 1.

06 Can cotangent be less than 1?

Yes, whenever the opposite side is longer than the adjacent side. An adjacent side of 6 m and an opposite side of 8 m give cot(A) = 6/8 = 0.75, and the reference angle is then greater than 45 degrees.

07 Does cotangent have measurement units?

No. Both inputs are lengths measured in the same unit, so the units cancel: 4 m / 3 m = 4/3, exactly as 400 cm / 300 cm = 4/3. Report cotangent as a plain dimensionless number, never with degrees, metres, or feet attached.

08 How do you calculate cotangent from side lengths?

Measure the adjacent side b and the opposite side a in the same unit, confirm both are positive, then divide: cot(A) = b / a. On this page, enter the adjacent side in the first field and the opposite side in the second, pick compatible units, and click Calculate cot(A).

09 How can I find an angle from a cotangent ratio?

Take the reciprocal to get the tangent ratio, then apply inverse tangent: A = tan^-1(a / b). For cot(A) = 4/3, the tangent ratio is 3/4, so A = tan^-1(0.75), about 36.87 degrees. Set your scientific calculator to degrees mode first. This page's calculator returns the ratio, not the angle.

10 Does the cotangent calculator need the hypotenuse?

No. The basic cotangent ratio uses only the two perpendicular sides, so the hypotenuse never enters the formula. It becomes relevant only for follow-up work with sine, cosine, secant, or cosecant, or when the Pythagorean theorem is used to verify the triangle.

11 What does cotangent mean in terms of run and rise?

When angle A is measured from the horizontal, cot(A) is the horizontal run divided by the vertical rise. A cotangent of 0.75 means the horizontal run is 75 percent of the vertical rise; a cotangent of 12 means the run is twelve times the rise. Tangent is the same idea flipped: rise divided by run.

12 When should I use cotangent instead of tangent?

Use cotangent when a formula or procedure specifically calls for adjacent divided by opposite, when you are comparing horizontal run against vertical rise, or when the known sides are the two legs. If the known relationship is rise over run, or opposite over adjacent, tangent is the direct choice.

Use the Cotangent Ratio With Confidence

Cotangent is the flipped form of tangent: divide the adjacent side by the opposite side and you have described the triangle's run-to-rise shape. The formula cot⁡(A)=b/a\cot(A)=b/a needs only two measurements, the answer is always a positive dimensionless number, and it can sit above, at, or below 1 depending on which leg is longer. When the angle itself is needed, A=tan⁡−1(a/b)A=\tan^{-1}(a/b) recovers it. Ladder, roof, ramp, or textbook 3-4-5, the method never changes: identify the adjacent side, identify the opposite side, divide, and verify with the reciprocal of tangent.