Skip to content
Omnikalc

Descartes’ circle theorem calculator

Enter the radii of three circles that touch each other to get the radii of the two circles tangent to all three, the curvatures and the area of the triangle formed by the three centers.

Updated on
Your inputs
in

Value out of range

in

Value out of range

in

Value out of range

Results

Radius of the inner tangent circle

0.475 in

Radius of the second tangent circle

9.475 in

Second circle encloses the three (1 = yes, 0 = it fills the other gap)
1
Curvature of the inner circle
2.1055
Curvature of the second circle (negative when it encloses)
-0.1055
Area of the triangle of centers
19.900 in²

The Descartes’ circle theorem calculator gives the radii of the two circles tangent to three mutually tangent circles, their curvatures, whether the second one encloses the three, and the area of the triangle of centers.

How the calculation works

  • Enter the radii of the three circles that touch each other.
  • The calculator forms the curvatures, the inverse of the radii.
  • Read the radii of the inner and the second tangent circles.

Example

Three tangent circles of radii 6 in, 3 in and 2 in have an inner tangent circle of radius 0.475 in, of curvature 2.1055. The second solution has a curvature of -0.1055 and a radius of 9.475 in, and the flag for enclosing the three is 1. The triangle of the three centers has an area of 19.900 in².

Why it matters

The calculator helps designers, craftspeople, students and puzzle fans who pack circles, such as coins, pipes, logs, rings or decorative patterns, and who need the radius of the circle that fits in a gap or that wraps around a set of three.

Good to know

The three circles must touch each other in pairs, so the distance between two centers equals the sum of their radii. A chain of tangent circles can be extended again and again by applying the theorem to new triples. For the second solution, a negative curvature means the circle encloses the others; the calculator shows its radius as a positive length. The theorem works with a straight line replacing one circle, which has zero curvature. The curvatures can be scaled: if you multiply every radius by the same factor, every result scales by that factor, and the chain keeps its shape. Draw the circles with a compass using the radii found to check the tangency before cutting or building anything.

The triangle calculator treats the triangle of centers, the Reuleaux triangle calculator treats another curved shape, the circle calculator gives circle properties and the Stewart theorem calculator handles cevians.

Frequently asked questions

What does Descartes’ circle theorem say?

For four circles that touch each other, with curvatures k₁, k₂, k₃ and k₄ (the inverse of the radii), the relation is (k₁ + k₂ + k₃ + k₄)² = 2 × (k₁² + k₂² + k₃² + k₄²). Given three circles, it gives the curvature of the fourth: k₄ = k₁ + k₂ + k₃ ± 2 × √(k₁k₂ + k₂k₃ + k₃k₁).

Why are there two solutions?

Two circles are tangent to three mutually tangent circles. The plus sign gives the small circle that fits in the gap between the three. The minus sign gives either a circle that encloses the three, with a negative curvature by convention, or a second small circle in the other gap if the result is positive.

What is a negative curvature?

By convention, a circle that encloses the others and touches them from the inside has a negative curvature, the sign showing that the other circles lie inside it. A straight line has a curvature of zero, as a circle of infinite radius, and the theorem still applies when one of the three is a line.

Where does it appear?

The theorem gives the radii in the Apollonian gasket, a fractal made by filling the gaps between tangent circles again and again. If the first four curvatures are integers, all the others are too. It is used in packing, in art and in the study of integer circle packings.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.