Inradius Calculator

Find the radius of the circle that fits inside a triangle from its three side lengths.

Math and PercentUpdated 2026-11-184 min read
Inradius Calculator
The side opposite vertex A.
The side opposite vertex B.
The side opposite vertex C.
Inradius
...
Triangle area...
Semiperimeter...

What it does

The incircle of a triangle is the circle that sits inside it and touches each of the three sides once. Its centre is the incenter, the point where the three internal angle bisectors meet, and its radius is the inradius. Because every point on an angle bisector is the same distance from the two sides of that angle, the incenter is equally far from all three sides. That common distance is exactly the radius of the inscribed circle.

The incircle is also the largest circle that can be placed inside the triangle. Any circle inside has a radius no bigger than its distance to each side line, and adding the three small triangles formed with an interior point shows that this radius cannot exceed the area divided by the semiperimeter. The bound is reached by the incircle, so the inradius is the largest possible value. Clark University's edition of Euclid's Elements, Book IV, Proposition 4, gives the classical construction of the incircle and derives the area relation area = r x s.

Three side lengths are enough to find the radius. Heron's formula turns the sides into the area without needing any angles, and dividing that area by the semiperimeter gives the inradius. The triangle with sides 13, 14 and 15 is a handy check: its semiperimeter is 21, its area is 84, and the radius comes out at exactly 4. For a right triangle there is a shorter path, since the inradius is just the sum of the legs minus the hypotenuse, all divided by two.

This kind of calculation turns up whenever a circle must be fitted into a triangular space. A fabricator cutting the largest round blank from a triangular sheet, a designer placing a badge inside a triangular panel, and a surveyor describing a triangular plot all need the same number. The tool reports the inradius together with the area and semiperimeter, so you can see which quantities produced the answer.

One caution is worth keeping in mind. Heron's formula can lose relative precision for a nearly flat triangle, where two sides only just add up to more than the third. The tool still rejects any triple that fails the triangle inequality outright, but for a very thin triangle the last few decimal places of the radius are less trustworthy than the leading digits.

How to use

  1. Enter the length of side a.
  2. Enter the length of side b.
  3. Enter the length of side c, using the same unit for all three sides.
  4. The tool checks the triangle inequality before it computes anything.
  5. Read the inradius as the main result, with the area and semiperimeter underneath.
  6. Change one side to see how the inscribed circle grows or shrinks.

Formula

r = K / s, where K = sqrt(s x (s - a) x (s - b) x (s - c)) and s = (a + b + c) / 2. All lengths use the same unit, and the inradius comes out in that unit.
r
Inradius, the radius of the incircle, in the same unit as the sides.
K
Area of the triangle, in square units.
s
Semiperimeter, half the perimeter, in the same unit as the sides.
a
Length of side a, opposite vertex A.
b
Length of side b, opposite vertex B.
c
Length of side c, opposite vertex C.

The three sides determine a triangle up to congruence, so no angle is needed. For a right triangle the shorter route is r = (p + q - h) / 2, where p and q are the legs and h is the hypotenuse. Heron's formula can lose relative precision for nearly degenerate triangles, where two sides barely exceed the third, so the leading digits of the radius are more reliable than the last ones in that case.

Worked example

Example: the 13-14-15 triangle

Defaults: sides a = 13, b = 14 and c = 15, all measured in the same unit.

  1. Semiperimeter: s = (13 + 14 + 15) / 2 = 42 / 2 = 21.
  2. The three differences: s - a = 8, s - b = 7 and s - c = 6.
  3. Heron product: 21 x 8 x 7 x 6 = 7056.
  4. Area: K = sqrt(7056) = 84.
  5. Inradius: r = 84 / 21 = 4.
  6. Check by splitting the triangle at the incenter: r x s = 4 x 21 = 84, which matches K.
  7. The tool shows inradius 4, area 84 and semiperimeter 21.

Reference table

Inradius for common triangles, with all sides in the same unit
Sides (a, b, c)SemiperimeterAreaInradius
3, 4, 5661
5, 5, 68121.5
13, 14, 1521844
7, 8, 91226.83282.2361
2, 2, 231.73210.5774

Limits

  • Needs three side lengths that close a non-degenerate triangle. Flat or impossible triples are rejected.
  • Heron's formula can lose relative precision when the triangle is almost flat.
  • Assumes a flat Euclidean triangle. A triangle drawn on a sphere follows different rules.
  • Finds the incircle only. Excircles and the circumcircle are separate problems.

Common mistakes

  • Using the full perimeter instead of the semiperimeter inside Heron's formula.
  • Mixing units, such as two sides in centimetres and the third in metres.
  • Multiplying K by s instead of dividing K by s to get the radius.
  • Treating a circle that touches the extensions of the sides as the incircle. That is an excircle.
  • Rounding the area too early, which shifts the last digits of the radius.

Try it yourself

Quick checks. Answers sit tucked under each question.

A triangle has sides 3, 4 and 5. What is its inradius?

The semiperimeter is 6 and the area is sqrt(6 x 3 x 2 x 1) = 6, so r = 6 / 6 = 1. The right triangle shortcut (3 + 4 - 5) / 2 gives 1 as well.

An equilateral triangle has side 6. Find the inradius.

The semiperimeter is 9 and the area is sqrt(9 x 3 x 3 x 3) = sqrt(243) = 15.5885, so r = 15.5885 / 9 = 1.7321.

Two perpendicular sides measure 8 and 15. What is the inradius?

The hypotenuse is 17, so this is a right triangle. The area is 8 x 15 / 2 = 60 and the semiperimeter is 20, giving r = 60 / 20 = 3. The shortcut (8 + 15 - 17) / 2 agrees.

Questions

What is an inradius?

The radius of the incircle, the circle inside a triangle that touches all three sides. It equals the area divided by the semiperimeter.

Do I need the angles to find it?

No. Three side lengths fix the triangle, and Heron's formula gives the area from the sides alone.

What if the sides cannot form a triangle?

The tool checks the triangle inequality and returns a clear error. No triangle means no incircle.

Is the inradius the same as the circumradius?

No. The inradius belongs to the circle inside the triangle, while the circumradius belongs to the circle through the three vertices and is always at least twice the inradius.

Does the choice of unit matter?

Use one unit for all three sides. The radius comes back in that same unit and the area in square units.

Why is the incircle the largest circle inside the triangle?

Any interior circle of radius q has q no larger than its distance to each side. Splitting the triangle at its centre gives q x s at most the area K, so q is at most K / s, which is the inradius.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.