CalcWorldHub
Math · CalcWorldHub

Circle Tangent Length from an External Point

For a circle centred at (0, 0) with radius 5 units, a point at (13, 0) has a tangent segment 12 units long. The calculator finds the shortest straight tangent from a point on or outside the circle. It first measures the centre-to-point distance, then uses a right triangle whose radius meets the tangent at 90°.

Open calculator
A tangent from an external point touches a circle at a right angle to the radius. The cover illustration summarizes the circle construction in this guide.

Share this article

A tangent from an external point touches a circle at a right angle to the radius.
The centre distance is the right-triangle hypotenuse and the radius is one leg.

Enter a centre, a point, and a radius

The input fields are the circle-centre coordinates (x₀, y₀), the external-point coordinates (xₚ, yₚ), and radius r. Use one coordinate system and one length unit for all five values. The calculator does not ask for the tangent point because the tangent length depends only on the centre distance and radius, not on the direction in which the point is placed around the circle.

The centre-to-point distance is d = √((xₚ − x₀)² + (yₚ − y₀)²). A real tangent segment exists when d ≥ r. If the point lies exactly on the circle, the tangent length is zero; if it lies inside, no real tangent segment from that point exists. The source runtime rejects an interior point rather than returning a complex number.

Use the perpendicular radius

At the tangent point, the radius is perpendicular to the tangent. The centre, tangent point, and external point form a right triangle with hypotenuse d and one leg r. By Pythagoras, tangent length t = √(d² − r²). This relationship is also consistent with the tangent-secant power theorem when a secant through the same external point is available, but this calculator uses coordinates and radius only.

The output uses the same length unit as the coordinates and radius. Squaring coordinate differences creates square units inside the distance formula, and the square root returns to a length. Do not square only the x difference or forget the y difference; the Euclidean centre distance uses both axes. A rotation of the coordinate plane leaves the result unchanged.

Interpret the tangent length

The tangent is the straight path from the external point to the circle that just touches the boundary. A cable, line-of-sight construction, or geometric drawing may use this length when the tangent condition is the relevant constraint. It is not the distance to the nearest point on the circumference: that shortest radial gap is d − r, which is generally shorter than the tangent segment.

As the point moves farther from the centre while the circle stays fixed, the tangent length grows. Increasing radius while holding d fixed shortens the tangent and eventually makes the point interior. If d equals r, the segment collapses to zero. These checks help distinguish tangent length from radius, centre distance, and the direct gap between a point and the circle.

Keep coordinates and measurements consistent

Coordinates may be negative; only their relative differences matter. For example, shifting both the centre and point by the same vector changes their displayed coordinates but not d or t. If measurements come from a plan, confirm that the origin, axis direction, and scale are shared. Mixing a centre from one coordinate frame with a point from another creates a plausible-looking but meaningless distance.

The runtime accepts finite coordinates and a nonnegative radius. Extremely large coordinate values can exceed the supported numeric range even when each field is finite, so check for overflow if the page reports an unsupported result. For a practical drawing, use a local origin near the geometry to keep coordinates manageable and reduce subtraction error between very large values.

Verify the right-triangle relationship

For a manual check, compute d from the coordinate differences, then evaluate d² − r². The radicand must be nonnegative, and squaring the resulting tangent should recover d² − r². A second check is geometric: the tangent should be longer than d − r for an external point with d greater than r, because the tangent follows a diagonal rather than the direct shortest gap.

Keep intermediate precision until the final display. If the calculated tangent is unexpectedly zero, check whether the point lies on the circumference or whether rounded coordinates erased a small separation. If it is unexpectedly short, verify which coordinates represent the circle centre and external point, and confirm that the radius uses the same unit. The tool reports an ideal geometric length, not a clearance or tolerance allowance.

The tangent formula uses the Euclidean distance between point and centre and subtracts radius squared.
Use both coordinate differences before applying the right-triangle formula.

Worked examples

A point 13 units from a radius-5 circle

Inputs: Circle centre (0, 0); external point (13, 0); r = 5 units.

Calculation: d = √((13 − 0)² + (0 − 0)²) = 13; t = √(13² − 5²) = √144 = 12 units.

The tangent segment is 12 units long.

A point offset in both coordinate directions

Inputs: Circle centre (1, 2); external point (9, 8); r = 6 units.

Calculation: d = √((9 − 1)² + (8 − 2)²) = √(64 + 36) = 10; t = √(10² − 6²) = 8 units.

The tangent segment is 8 units long; the direct centre-to-point distance is 10 units.

Sources and further reading

Share this article

Browse all articles · Calculator: Circle tangent length calculator