Find C Value Calculator

Find C Value Calculator finds triangle side c from side a and side b using c=√(a²+b²) for right triangles, or law of cosines with angle C, then returns area and perimeter in selected units.

Calculated Side c (Hypotenuse)
5
Triangle Area
6 sq m
Triangle Perimeter
12 m
By: AxisCalc Published: May 13, 2026 Reviewed by: Arthur Penhaligon

The Find C Value Calculator computes the unknown side c of a triangle when you know sides a and b. For a right triangle it applies the Pythagorean theorem directly. When you supply an included angle C between the two known sides, it switches to the law of cosines to handle any oblique triangle. Along with side c, the calculator returns the triangle’s area and perimeter in whichever unit you choose.

What the Find C Value Calculator Does

Enter side a, side b, and an optional angle C, then select your preferred unit. The calculator returns three values:

  • Side c — the computed length of the third side, expressed in your chosen unit.
  • Triangle Area — the enclosed surface of the triangle, reported in squared units (e.g., sq m, sq ft).
  • Triangle Perimeter — the total boundary length $ P = a + b + c $, in the same linear unit.

No angle entry is needed for a right triangle. Angle C is required only when the triangle is oblique — that is, when sides a and b are not perpendicular to each other.

Finding Side c in a Right Triangle

When sides a and b are the two legs of a right triangle — meaning they meet at a 90° angle — side c is the hypotenuse, the longest side, directly opposite the right angle. The Pythagorean theorem gives its length exactly:

$$c=\sqrt{a^2+b^2}$$

No angle input is required because a right triangle’s geometry is fully determined by its two legs. Simply enter a and b, leave angle C blank, and select Right Triangle in the calculator.

a b c 90° Right Triangle — c is the hypotenuse
Legs a and b are perpendicular. Side c (red) is computed with the Pythagorean theorem.

Example: The 3-4-5 Right Triangle

The calculator’s default example uses the most recognisable right triangle in practice. With $ a = 3\text{ m} $ and $ b = 4\text{ m} $:

$$c=\sqrt{3^2+4^2}=\sqrt{9+16}=\sqrt{25}=5\text{ m}$$

The supporting outputs follow directly:

Value Formula Result
Side c $ \sqrt{3^2+4^2} $ 5 m
Area $ \tfrac{1}{2}\times 3\times 4 $ 6 sq m
Perimeter $ 3 + 4 + 5 $ 12 m

The 3-4-5 ratio is a standard site-layout check used in construction and surveying to confirm a right angle: if you measure 3 units along one wall and 4 units along the adjacent wall, the diagonal must be exactly 5 units for the corner to be square.

Finding Side c with the Law of Cosines

When the angle between sides a and b is something other than 90°, the triangle is oblique. The Pythagorean theorem no longer applies. Select Oblique Triangle, enter the included angle C (the angle formed at the vertex where a and b meet), and the calculator uses the law of cosines:

$$c=\sqrt{a^2+b^2-2ab\cos(C)}$$

Notice that when $ C = 90° $, $ \cos(90°) = 0 $, and the formula collapses to $ c = \sqrt{a^2 + b^2} $ — exactly the Pythagorean theorem. The law of cosines is therefore the general form; the Pythagorean theorem is a special case of it.

a b c C Oblique Triangle — angle C is included between sides a and b
Angle C sits at the vertex where sides a and b meet. Side c (red) is the unknown.

What Triangle Area and Perimeter Mean

The calculator returns area and perimeter automatically alongside side c. Here is how each is computed.

Triangle Area

For a right triangle, the two legs are already base and height, so:

$$A=\frac{1}{2}ab$$

For an oblique triangle, the height is not directly given, but the included angle provides it through the sine function:

$$A=\frac{1}{2}ab\sin(C)$$

Area is always reported in squared units of whatever linear unit you selected — square metres, square feet, and so on. A result labelled “6 sq m” means 6 square metres, not 6 metres.

Triangle Perimeter

Perimeter is the sum of all three sides. After side c is calculated, the perimeter follows as:

$$P=a+b+c$$

All three values must be in the same unit before summing. The calculator handles this automatically when you select a consistent output unit.

Unit Handling and Conversion Notes

Side lengths can be entered in any of six units: inches (in), feet (ft), yards (yd), millimetres (mm), centimetres (cm), or metres (m). The unit selector controls what the output values — side c, area, and perimeter — are displayed in.

A few practical points to keep in mind:

  • Use one unit throughout. If you enter a in feet and b in metres without converting first, the result for c will be mathematically wrong. Input values should already be in the same unit before you enter them.
  • Area units are always squared. If you enter sides in centimetres and the output unit is cm, the area appears in sq cm. A 3 cm × 4 cm right triangle has an area of 6 sq cm, not 6 cm.
  • Perimeter is linear. Perimeter and side c share the same linear unit as a and b.
Output Unit Linear Result (c, P) Area Result
metres (m)msq m
centimetres (cm)cmsq cm
millimetres (mm)mmsq mm
feet (ft)ftsq ft
inches (in)insq in
yards (yd)ydsq yd

Common Mistakes When Finding Side c

Most errors with this type of calculation come from misidentifying the triangle type or entering the wrong angle. The questions below address the most frequent points of confusion.

Is side c always the hypotenuse?

Only in a right triangle. When you use the Pythagorean theorem, the calculator is solving for the hypotenuse — the side opposite the 90° angle. In an oblique triangle, c is simply the third side; it may be shorter or longer than either of the other two sides depending on the angle C.

Can I use the Pythagorean theorem for every triangle?

No. The Pythagorean theorem applies only when sides a and b are perpendicular legs. Using it on an oblique triangle produces an incorrect value for c. If you are unsure whether your triangle is right-angled, select Oblique Triangle and enter the actual angle C. If C equals exactly 90°, the law of cosines gives the same answer as the Pythagorean theorem.

What angle do I enter for the law of cosines?

You must enter the included angle C — the angle at the vertex where sides a and b meet. This is not the angle opposite side a or opposite side b; it is the angle between them. Entering the wrong angle produces a geometrically different triangle and a wrong value for c.

Why does the area unit change to square units?

Area measures two-dimensional space. When you multiply two lengths — for example, $ \tfrac{1}{2} \times 3\text{ m} \times 4\text{ m} $ — the metre units multiply as well: $ \text{m} \times \text{m} = \text{m}^2 $, written as sq m. This is standard SI and imperial unit behaviour, not a calculator quirk. If your result shows “6 sq ft” it means 6 square feet of area, not 6 linear feet.

What happens if side a or side b is zero?

A triangle cannot exist if either leg is zero. The Pythagorean theorem would return $ c = b $ or $ c = a $, which is a degenerate line segment rather than a triangle. The law of cosines formula similarly collapses. Always enter positive, non-zero values for both sides.

Does the angle have to be in degrees?

The calculator expects angle C in degrees. If your angle is expressed in radians, convert it first: multiply by $ \tfrac{180}{\pi} $. For example, $ \tfrac{\pi}{3} $ radians equals 60°. Entering radians without converting will produce a completely wrong result.

When This Calculator Is Useful

The tool is designed for any situation where two sides of a triangle are known and the third must be confirmed or computed. Practical use cases include:

  • Geometry and trigonometry homework — verify answers for Pythagorean theorem or law of cosines problems quickly, with area and perimeter included.
  • Construction and site layout — use the 3-4-5 (or scaled equivalent) method to check right angles on foundations, frames, and fence lines without a dedicated angle tool.
  • Diagonal measurement — find the diagonal of a rectangular space by treating width and height as sides a and b of a right triangle.
  • Technical drawing and drafting — confirm that a drawn triangle has the correct third-side length when only two dimensions are annotated.
  • Triangle side verification — check whether a proposed set of three lengths satisfies the Pythagorean theorem, confirming or ruling out a right angle.
  • Unit-specific calculations — work entirely in millimetres for machining, or in yards for landscaping, without manual conversion.

The calculator covers side c, area, and perimeter only. It does not solve for angles A or B, compute medians, or apply the law of sines. Those tasks require a full triangle solver.

Formula Summary

RIGHT TRIANGLE c = a 2 + b 2 Area A = ½ab Perimeter P = a+b+c OBLIQUE TRIANGLE — LAW OF COSINES c = a 2 + b 2 2 ab ·cos( C ) Area A = ½ab sin(C) When C = 90°, cos(90°) = 0 and the law of cosines reduces to the Pythagorean theorem.
Formula reference card for both triangle modes supported by the calculator.

References and Calculation Notes

The formulas and unit definitions used in this calculator are based on standard geometry, trigonometry, and SI unit references.

All calculator results are computed with floating-point arithmetic and rounded to a practical number of decimal places for display. For high-precision engineering, surveying, fabrication, or safety-critical work, verify the result with specialised software or a qualified professional.