Abc Triangle Calculator - Sides a, b, c, Angles alpha, beta

Use this abc triangle calculator to enter two values from a, b, c, alpha, beta that include a side and get the missing sides, angles, area, and perimeter.

Abc Triangle Calculator

Length of leg a, opposite angle alpha. Leave blank if unknown.

Length of leg b, opposite angle beta. Leave blank if unknown.

Length of the hypotenuse, opposite the 90 degree angle. Leave blank to solve for it.

Acute angle opposite leg a, in degrees. Leave blank if unknown.

Acute angle opposite leg b, in degrees. Leave blank if unknown.

Results

Hypotenuse c
0units
Angle alpha 0°
Angle beta 0°
Side a 0units
Side b 0units
Area 0square units
Perimeter 0units

What Is Abc Triangle Calculator?

An abc triangle calculator solves a right triangle labelled with the textbook notation: side a, side b, side c, angle alpha, and angle beta. The legs are a and b, the hypotenuse is c, and the two acute angles are alpha (opposite a) and beta (opposite b). Entering any two of those five values, as long as at least one is a side, returns the other three, plus the area and the perimeter, in a single pass.

  • Textbook and worksheet problems: Check a homework or exam problem that already uses the a, b, c, alpha, beta labels.
  • Roof pitches and stair stringers: Convert a measured run and rise into the hypotenuse and the pitch angle so you can cut rafters or stringers to length.
  • Ladder and reach problems: Find how high a ladder of known length reaches up a wall using only the length and the ground angle.
  • Surveying and slope checks: Convert a measured slope distance and angle into a horizontal leg and a vertical rise for grades, drainage, and access ramps.

The ABC notation shows up most often in trigonometry chapters, but it is just a clean way of writing the same right triangle you have seen many times. The 90 degree angle lives where legs a and b meet, side c is the longest side opposite that 90 degree corner, and alpha and beta sit across from legs a and b.

Because the triangle has one 90 degree angle, the other two sum to 90 degrees, and that single fact is what links alpha and beta together once you know one of them. The Pythagorean theorem and the three basic trigonometric ratios are enough to recover any missing value from two of the five ABC pieces, as long as at least one is a side length.

For a right triangle page that walks through the same five values using the more familiar A and B angle labels, the Right Triangle Calculator is the closest peer. The abc triangle calculator focuses on the alpha and beta notation that worksheets use.

How Abc Triangle Calculator Works

The calculator reads which of the five ABC values you have filled in, then chooses the right rule. Two known sides use the Pythagorean theorem; one side and one angle use sine, cosine, and tangent. The result is checked so an impossible right triangle is rejected before any number is shown.

a^2 + b^2 = c^2, sin(alpha) = a / c, cos(alpha) = b / c, tan(alpha) = a / b, alpha + beta = 90 degrees, area = (a * b) / 2, perimeter = a + b + c
  • a, b: the two legs of the right triangle, the sides that form the 90 degree corner, measured in the same length unit
  • c: the hypotenuse, the longest side opposite the 90 degree angle, also in the same length unit
  • alpha: the acute angle opposite leg a, in degrees, strictly between 0 and 90
  • beta: the acute angle opposite leg b, in degrees, equal to 90 - alpha

With only the two legs, the Pythagorean theorem is enough to find the hypotenuse, and the inverse tangent on the leg ratio returns alpha. With the hypotenuse and one angle, sine and cosine stretch the hypotenuse into the two legs. The triangle inequality is also enforced: c must be longer than a and longer than b.

Example: legs a = 3 and b = 4

Enter a = 3 and b = 4, leave c, alpha, and beta blank.

c = sqrt(3^2 + 4^2) = 5. alpha = arctan(3 / 4) = 36.87 degrees. beta = 90 - 36.87 = 53.13 degrees. area = (3 * 4) / 2 = 6.

c = 5.00 units, alpha = 36.87°, beta = 53.13°, area = 6.00 square units, perimeter = 12.00 units.

This is the classic 3-4-5 right triangle in abc triangle calculator notation.

According to Wolfram MathWorld, the Pythagorean theorem states that for a right triangle with legs a and b and hypotenuse c, a^2 + b^2 = c^2

To check whether three integer side lengths actually satisfy a squared plus b squared equals c squared before applying the theorem, the Pythagorean Triples Calculator verifies the relationship first.

Key Concepts Explained

These four ideas cover the rules the calculator uses to recover any missing value from two known pieces.

Pythagorean Theorem

For a right triangle with legs a and b and hypotenuse c, a squared plus b squared equals c squared. Knowing any two of a, b, c is enough to recover the third.

SOH-CAH-TOA

Sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent. Once one side and one angle are known, the other sides fall out.

Acute Angles Sum to 90

Inside a right triangle, alpha and beta are complementary, so alpha plus beta always equals 90 degrees. Knowing one fixes the other.

Hypotenuse Is the Longest Side

The hypotenuse c sits opposite the 90 degree angle, so it must be longer than either leg. Any input that places a leg at or above c cannot form a right triangle.

These four facts are the entire toolbox the calculator needs. They are also why the right triangle is the most useful triangle in real work: with one known side, every other piece can be recovered from two of the five ABC values.

If the acute angles need to move between degrees and radians, the Angle Converter handles the unit shift without redoing the right triangle math.

How to Use This Calculator

Pick any two of the five ABC values you already know from a problem, drawing, or measurement. The result panel fills in the rest.

  1. 1 Pick a single length unit: Use meters, feet, or inches for all three side inputs. Mixing units is the most common cause of a wrong hypotenuse.
  2. 2 Enter side a and side b if you have two legs: Type the two legs into Side a and Side b. The calculator solves c, alpha, beta, area, and perimeter for you.
  3. 3 Enter side a and side c if you have a leg and the hypotenuse: Type the leg into Side a and the hypotenuse into Side c. The other leg, both angles, area, and perimeter appear.
  4. 4 Enter side c and angle alpha if you have the hypotenuse and an angle: Type the hypotenuse and the acute angle opposite leg a. Sine and cosine give the two legs, and beta is 90 - alpha.
  5. 5 Use one leg and one angle when only those are known: Type a leg and the angle next to it, or a leg and the angle opposite it. The right ratio finishes the triangle.
  6. 6 Read the solved triangle: Use the area for a coverage estimate, the perimeter for a trim length, and the angles for a pitch readout.

Suppose a roof rafter sits against a 4 m wall and runs 3 m out from the base. The wall is leg a, the run is leg b, the rafter is c. Enter a = 4 and b = 3. The hypotenuse c is 5 m, alpha is 53.13 degrees, beta is 36.87 degrees, and the area under the rafter is 6 square meters. That is the same 3-4-5 triangle in abc triangle calculator notation.

When the same problem also needs the area of a triangle that is not a right triangle, the Triangle Area Calculator covers the general base-times-height and Heron cases in one place.

Benefits of Using This Calculator

The ABC notation is the most compact way to write a right triangle, and this calculator keeps the entire solution visible at once.

  • Solve from any two values that include a side: Two sides, or one side with one angle, both lead to a complete triangle without rearranging the problem.
  • Shows the full ABC solution: Side a, side b, side c, angle alpha, angle beta, area, and perimeter all appear together, so the answer can be reused for a follow-up step.
  • Matches the worksheet notation: Textbooks and trigonometry worksheets already label a right triangle with a, b, c, alpha, beta, so the result lines up with the variables you have written down.
  • Decimal-friendly input: Field-measured lengths such as 3.27 m or 4.05 m work without rounding. The trigonometric calculations are done at full precision.
  • Guards against impossible inputs: The hypotenuse must be longer than either leg, and each acute angle must be strictly between 0 and 90.

If the right triangle is part of a larger shape, the perimeter feeds fence or trim work, while the area feeds material coverage like flooring, fabric, or sheathing. The angle outputs also feed a follow-up slope or pitch calculation in construction or survey work.

For the broader triangle case that accepts base-height or SAS inputs alongside SSS, the Triangle Calculator is the natural follow-up to the abc triangle calculator.

Factors That Affect Your Results

A few input choices and assumptions decide whether the result matches the actual triangle you are trying to solve with the abc triangle calculator.

Unit consistency

All three side inputs must use the same length unit. Mixing meters with feet will produce a hypotenuse in a mismatched unit.

Angle range

Alpha and beta must be strictly between 0 and 90 degrees. A right angle or a zero angle means the triangle is not really a right triangle, and the trigonometric ratios would be undefined.

Hypotenuse ordering

Side c is the hypotenuse, so it must be longer than both legs. If a measured value is longer than the actual hypotenuse, it is a leg, and the input order needs to be corrected.

Measurement precision

Inverse trigonometric functions amplify small input errors, especially when alpha is very close to 0 or 90. Measure the value you trust the most.

Complementary angle check

Alpha plus beta always equals 90. If your measured alpha and beta sum to 89.5 or 90.5, one of the measurements is off, and the side and angle combination will not be self-consistent.

  • Two angles alone cannot fix the size of the triangle. If you only know alpha and beta, the calculator still needs one side to recover the rest.
  • The result is the geometric solution of an ideal right triangle. Real construction work usually needs extra allowance for material thickness, overlap, slope, or clearance.
  • Rounded output can differ from a hand calculation by a few hundredths. Keep full precision through the calculation, then round only the final displayed numbers.

If your sides come from a drawing, double-check whether the values are edge-to-edge or include a wall, fence, or material thickness. Stripping that thickness before entering the sides keeps the result aligned with the actual triangle being measured.

According to Math Open Reference, a right triangle has one 90 degree angle, the other two angles sum to 90 degrees, and the side opposite the 90 degree angle is the hypotenuse

According to Wikipedia, the SOH-CAH-TOA mnemonic defines sine as opposite over hypotenuse, cosine as adjacent over hypotenuse, and tangent as opposite over adjacent in a right triangle

abc triangle calculator showing sides a, b, c and angles alpha, beta solved with the Pythagorean theorem and SOH-CAH-TOA
abc triangle calculator showing sides a, b, c and angles alpha, beta solved with the Pythagorean theorem and SOH-CAH-TOA

Frequently Asked Questions

Q: What is an ABC triangle?

A: An ABC triangle is the textbook way to label a right triangle. Side a and side b are the two legs that meet at the 90 degree corner, side c is the hypotenuse opposite the right angle, and the acute angles opposite legs a and b are called alpha and beta. Entering any two of these five values is enough to recover the rest, as long as at least one is a side length.

Q: How do you solve an ABC triangle?

A: Pick the two of the five ABC values that you already know, then apply the matching rule. Two known sides use the Pythagorean theorem. One side and one angle use sine, cosine, and tangent. The two acute angles always sum to 90 degrees, so knowing one gives the other.

Q: What is the Pythagorean theorem in an ABC triangle?

A: The Pythagorean theorem in an ABC triangle is a squared plus b squared equals c squared. Knowing a and b gives c, and any pair of sides can be rearranged to find the third as long as c stays the longest side.

Q: How do you find angle alpha in a right triangle?

A: Angle alpha is the acute angle opposite leg a. The cleanest way to find it is to use the inverse tangent: alpha equals arctan(a divided by b) when you know both legs, or arcsin(a divided by c) when you know a leg and the hypotenuse.

Q: How do you find the area of an ABC triangle?

A: The area of an ABC right triangle is a times b divided by 2. That holds because the two legs are perpendicular, so the area is exactly half the rectangle they would form. The calculator returns the area in the square unit that matches your length unit.

Q: What units does the ABC triangle calculator use?

A: All three side inputs must use the same length unit, and the calculator returns side, area, and perimeter results in that same unit family. Angle inputs are always in degrees. If the answer needs to switch length units, convert the finished side or area afterward.