Circumradius Calculator
Compute a triangle's circumradius from its three sides using Heron's area, plus the area, semiperimeter and circle diameter.
What it does
Every triangle has a circle that passes through all three of its corners. The radius of that circle is the circumradius, and it is fixed by the side lengths alone. This calculator takes the three sides, checks that they can form a triangle, and returns the circumradius together with the triangle area, the semiperimeter and the diameter of the circle.
A right triangle gives the simplest picture: the hypotenuse is a diameter of the circumscribed circle, so the circumradius is half the hypotenuse. For other shapes there is no such shortcut, and the usual route is to find the area first and then use the relation between area and circumradius.
The area comes from Heron's formula, which uses only the three sides. Half the perimeter is called the semiperimeter, and the area is the square root of the product of the semiperimeter with the three differences between it and each side. The University of Washington geometry sheet lists both Heron's formula and the area formula that involves the circumradius.
Putting those together gives R = abc / (4K). The University of Kentucky geometry notes prove the equivalent statement 4KR = abc from the extended law of sines, and ProofWiki writes the same result directly in terms of Heron's formula. All three agree, so the engine uses that single expression.
The inputs are plain lengths with no unit attached, so the output comes back in the same unit as the sides. A triangle with sides measured in centimetres gives a circumradius in centimetres. The only physical restriction is that the lengths obey the triangle inequality, which the tool checks before doing any division.
How to use
- Measure the three side lengths and label them a, b and c in any order.
- Enter positive numbers for all three sides. The order does not change the answer.
- Make sure the sum of any two sides is greater than the third, or the tool will reject the input.
- Read the circumradius as the main result.
- Use the area and semiperimeter outputs to see the intermediate Heron values.
- Compare the diameter with the longest side. For a right triangle the two are equal.
Formula
- a, b, c
- The three side lengths of the triangle, in the same unit.
- s
- Semiperimeter, half of a + b + c.
- K
- Area of the triangle from Heron's formula.
- R
- Circumradius, the radius of the circle through all three vertices.
- 2R
- Diameter of the circumscribed circle.
Heron's formula needs all three differences s - a, s - b and s - c to be positive, which is another way of stating the triangle inequality. If they are not, no triangle exists and the calculator returns an error. For a right triangle the method still works and gives R equal to half the hypotenuse, because the area is half the product of the two legs.
Worked example
Example: a triangle with sides 13, 14 and 15
Defaults: a = 13, b = 14 and c = 15.
- Semiperimeter: s = (13 + 14 + 15) / 2 = 42 / 2 = 21.
- Heron factors: s - a = 8, s - b = 7 and s - c = 6.
- Area: K = sqrt(21 x 8 x 7 x 6) = sqrt(7056) = 84.
- Product of the sides: abc = 13 x 14 x 15 = 2730.
- Circumradius: R = 2730 / (4 x 84) = 2730 / 336 = 8.125.
- Diameter: 2R = 16.25, which is larger than the longest side 15, as expected for an acute triangle.
- The tool shows R = 8.125, area = 84, semiperimeter = 21 and diameter = 16.25.
Reference table
| Sides (a, b, c) | Area K | Circumradius R | Diameter 2R |
|---|---|---|---|
| 3, 4, 5 | 6 | 2.5 | 5 |
| 13, 14, 15 | 84 | 8.125 | 16.25 |
| 5, 5, 6 | 12 | 3.125 | 6.25 |
| 4, 4, 4 | 6.928203 | 2.309401 | 4.618802 |
Limits
- Handles only triangles whose three sides are known; angles or vertex coordinates alone are not enough.
- Side lengths that fail the triangle inequality are rejected before any calculation, and nearly flat triangles can give a very large circumradius.
- The result inherits whatever unit the sides use, so the tool does not convert between units or mix them.
- Floating point rounding means the last printed digit can vary for triangles that are almost degenerate.
Common mistakes
- Adding the three sides and dividing by three instead of two when finding the semiperimeter.
- Assuming the circumradius is half the longest side, which holds only for a right triangle.
- Forgetting to take the square root in Heron's formula and using the squared area by mistake.
- Entering lengths that cannot form a triangle, such as 1, 2 and 9.
- Mixing units between sides, for example two in centimetres and one in metres.
Try it yourself
Quick checks. Answers sit tucked under each question.
Find the circumradius of a 3, 4, 5 triangle.
It is a right triangle, so the hypotenuse is the diameter and R = 5 / 2 = 2.5. Heron's formula gives area 6 and R = (3 x 4 x 5) / (4 x 6) = 60 / 24 = 2.5, matching the tool.
What is the circumradius of an equilateral triangle of side 6?
The area is sqrt(9 x 3 x 3 x 3) = sqrt(243) = 15.588457 and abc = 216, so R = 216 / (4 x 15.588457) = 3.464102. This matches 6 / sqrt(3), and the tool shows 3.464102.
Can sides 2, 3 and 9 form a triangle with a circumradius?
No. Since 2 + 3 is less than 9, the longest side is too long and the triangle inequality fails. The calculator returns an error instead of a radius.
Questions
What is a circumradius?
It is the distance from the centre of the circle through all three vertices to any one vertex. It depends only on the side lengths.
Why does the formula use the area?
The extended law of sines links a side to the sine of its opposite angle through 2R. Combining that with the area formula K = half ab sin C removes the angles and leaves R = abc / (4K).
Is the circumradius half the longest side?
Only for a right triangle, where the hypotenuse is a diameter of the circle. For every other triangle the diameter is larger than the longest side.
What if the three sides are equal?
Then the triangle is equilateral and R equals a side divided by the square root of three. The general formula gives the same value.
Does the order of a, b and c matter?
No. The product abc and Heron's formula are symmetric in the three sides, so swapping labels leaves R unchanged.
Why do I get an error message?
The three lengths must be positive and each pair must sum to more than the third. If that fails, no triangle exists and there is no circumradius to report.
Sources
- University of Kentucky MA 341, Triangles II: Circumradius and Area
- University of Washington, Some Geometric Formulas: Heron's formula and S = abc / 4R
- ProofWiki, Length of Circumradius of Triangle