Incenter Calculator

Locate the incenter of a triangle from its three corners, with inradius, area and a side distance check.

Math and PercentUpdated 2026-11-183 min read
Incenter Calculator
Incenter
...
Inradius...
Area...
Semiperimeter...
Perimeter...
Distances to the three sides...

What it does

Every triangle has a circle that touches all three sides from the inside. Its center is the incenter, the point where the three internal angle bisectors cross. Wolfram MathWorld describes it both as that intersection and as the interior point whose distances to the three sides are equal. That equal distance is the inradius.

The Encyclopedia of Triangle Centers, maintained at the University of Evansville, lists the incenter as X(1) with barycentric coordinates a : b : c. In practice this means the incenter is a weighted average of the three vertices, where the weight on a vertex is the length of the side opposite it. The opposite weighting is what makes the point slide toward the longest side.

The same reference gives the inradius as twice the area divided by the perimeter, which is the area over the semiperimeter. Michigan State University Libraries host a CRC mathematics table that derives the same result from trilinear coordinates and records the right triangle case, where a right triangle with integer sides has an integer inradius.

This page reads three vertex coordinates and returns the incenter, the inradius, the area, the semiperimeter and the perimeter. It also measures the distance from the computed center to each of the three sides. When those three numbers match the inradius, the construction checks out.

The inputs are bare coordinates on a Cartesian grid, so no unit selector is needed. The inradius carries the same unit as the coordinates, and the area is in square units. Keep the two axes at the same scale.

How to use

  1. Enter the x and y coordinates of the first vertex.
  2. Enter the second and third vertices, in any order.
  3. Read the incenter point from the main result.
  4. Read the inradius, which is the radius of the circle touching all three sides.
  5. Check the side distances. They should all equal the inradius.
  6. Use the area, semiperimeter and perimeter to verify the area over semiperimeter relation by hand.

Formula

a = |BC|, b = |CA|, c = |AB|. Incenter I = (aA + bB + cC)/(a + b + c). Semiperimeter s = (a + b + c)/2. Area K from the shoelace sum. Inradius r = K/s = 2K/(a + b + c).
a
Length of the side opposite vertex A.
b
Length of the side opposite vertex B.
c
Length of the side opposite vertex C.
K
Area of the triangle in square units.
s
Semiperimeter, half of a + b + c.
r
Inradius, the distance from the incenter to any side.

The opposite-side weighting is important: a sits on vertex A, not on the side next to it. The area comes from half the absolute shoelace sum of the three coordinates. If the three points are collinear or two of them coincide, the area is zero and the page rejects the input. For a right triangle with legs p and q and hypotenuse h, the inradius is (p + q - h)/2, which gives 2 for the worked 6, 8, 10 triangle.

Worked example

Example: a right triangle with corners (0,0), (6,0) and (0,8)

Defaults: (x1, y1) = (0,0), (x2, y2) = (6,0), (x3, y3) = (0,8).

  1. Side a is the distance from (6,0) to (0,8), which is sqrt(36 + 64) = 10.
  2. Side b from (0,8) to (0,0) is 8, and side c from (0,0) to (6,0) is 6.
  3. Perimeter a + b + c = 24 and semiperimeter s = 12.
  4. Area from the shoelace sum is half of 6 x 8 = 24 square units.
  5. Inradius r = 24 / 12 = 2, which also matches (6 + 8 minus 10)/2 = 2.
  6. Incenter x = (10 x 0 + 8 x 6 + 6 x 0)/24 = 2 and y = (10 x 0 + 8 x 0 + 6 x 8)/24 = 2.
  7. Distances from (2, 2) to the three sides are all 2. The tool shows the incenter (2, 2), inradius 2, area 24, semiperimeter 12, perimeter 24 and side check 2, 2, 2.

Reference table

Inradius and incenter for four checked right triangles
VerticesSide lengthsIncenter and inradius
(0,0) (6,0) (0,8)10, 8, 6(2, 2), r = 2
(0,0) (8,0) (0,6)10, 6, 8(2, 2), r = 2
(0,0) (3,0) (0,4)5, 4, 3(1, 1), r = 1
(0,0) (5,0) (0,12)13, 12, 5(2, 2), r = 2

Limits

  • Works for a triangle in a flat plane, not for a spherical or weighted triangle.
  • Collinear or repeated vertices give no triangle and are rejected.
  • The incircle touches the lines holding the sides; for a very thin triangle the touch points may lie close to a vertex.
  • Coordinates are capped to protect precision in the side lengths and area.

Common mistakes

  • Pairing each side length with the wrong vertex in the weighted average.
  • Dividing the area by the perimeter instead of the semiperimeter.
  • Assuming the incenter lies at the midpoint of a side or at the centroid.
  • Using an exterior angle bisector, which gives an excenter rather than the incenter.
  • Forgetting that the distance to each side must use the whole line rather than the segment.

Try it yourself

Quick checks. Answers sit tucked under each question.

Find the incenter and inradius of (0,0), (3,0), (0,4).

Sides are 5, 4 and 3, so the perimeter is 12 and the semiperimeter is 6. The area is 6 and the inradius is 1. The weighted average gives (1, 1), and the tool reports incenter (1, 1), inradius 1 and side check 1, 1, 1.

A right triangle has legs 9 and 12. What is its inradius?

The hypotenuse is 15, so r = (9 + 12 minus 15)/2 = 3. With the right angle at the origin and legs on the axes, the incenter is (3, 3). The tool confirms inradius 3.

What happens to the inradius if all three coordinates are doubled?

Every length and the area scale, and the inradius doubles as well. The incenter coordinates also double, because the weighted average is linear in the vertices.

Questions

What is the incenter?

The center of the circle that touches all three sides of a triangle from inside. It is also where the three internal angle bisectors meet.

How is the incenter calculated from coordinates?

Find the three side lengths, then weight each vertex by the length of the opposite side and divide by the perimeter.

What is the inradius?

The radius of the incircle. It equals the area divided by the semiperimeter, and it is the distance from the incenter to each side.

Is the incenter the same as the centroid?

No. The centroid averages the vertices equally. The incenter weights them by opposite side lengths. They match for an equilateral triangle.

Can the incenter lie outside the triangle?

No. The internal bisectors always meet inside, even for an obtuse triangle.

What is an excenter?

The center of a circle touching one side and the extensions of the other two. It comes from one internal and two external bisectors, and it is not what this page computes.

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.