Tangent Length Calculator
Find the tangent from a point outside a circle, given a radius and centre distance or the two segments of a secant.
What it does
A tangent touches a circle at exactly one point. When the point it is drawn from sits outside the circle, the tangent has a definite length, and that length can be found without knowing where the contact occurs. This page handles two common setups: a known radius and centre distance, or a secant line whose two pieces from the outside point are known.
The first setup is a right triangle. The radius drawn to the point of contact is perpendicular to the tangent, so the radius, the tangent and the line from the outside point to the centre form a right triangle. The tangent is the square root of d squared minus r squared. Wolfram MathWorld calls d squared minus r squared the power of the point and notes that for a point outside the circle it equals the square of the tangent length.
The second setup uses the tangent secant theorem. If a line from the outside point cuts the circle at two places, the product of the distance to the near crossing and the distance to the far crossing equals the square of the tangent. East Tennessee State University geometry notes state this as Euclid Book III Proposition 36, and University of Kentucky geometry lecture notes prove that the product does not depend on which secant you draw.
The same product appears when the secant happens to pass through the centre. Then the near crossing sits at d minus r and the far crossing at d plus r, and their product is d squared minus r squared. That is why the tool reports a near and a far segment in both modes: they are the two distances from the outside point to the circle along a straight line through it.
Lengths have no built-in unit here, so the answer uses the same unit as the inputs. The page assumes a perfect circle in a flat plane and a genuine tangent, which means the outside point must lie beyond the circle. It does not cover common tangents drawn between two separate circles.
How to use
- Choose the setup: a radius and centre distance, or a secant with its near and far segments.
- In point mode, enter the radius of the circle.
- Enter the distance from the outside point to the centre, which must be greater than the radius.
- In secant mode, enter the outside piece of the secant and the piece inside the circle.
- Read the tangent length as the main result, in the same unit as the inputs.
- Check the power output by multiplying the near and far segments, which equals the tangent length squared.
Formula
- t
- Length of a tangent segment from the outside point to the circle.
- r
- Radius of the circle, in any length unit.
- d
- Distance from the outside point to the centre of the circle.
- a
- Outside segment of a secant, from the point to the near crossing.
- b
- Inside segment of a secant, the chord between the two crossings.
- p
- Power of the point, equal to d squared minus r squared and to t squared.
The two modes are the same theorem written in different ways. For a secant through the centre, the near crossing is d minus r and the far crossing is d plus r, so the product is d squared minus r squared. A point exactly on the circle would give a tangent of zero and is rejected here, as is a distance smaller than the radius, which puts the point inside the circle. Secant mode needs positive lengths for both pieces.
Worked example
Example: a tangent from 13 units away from a circle of radius 5
Defaults: point mode, radius 5 units and a centre distance of 13 units.
- Square the distance: 13 squared = 169.
- Square the radius: 5 squared = 25.
- Subtract to find the power of the point: 169 - 25 = 144.
- Take the square root: t = sqrt(144) = 12 units.
- The near crossing on a diameter secant is 13 - 5 = 8 units.
- The far crossing is 13 + 5 = 18 units, and 8 x 18 = 144 as a check.
- The tool shows tangent 12, power 144, near segment 8 and far segment 18.
Reference table
| Centre distance | Tangent length | Power | Near segment | Far segment |
|---|---|---|---|---|
| 6 | 3.316625 | 11 | 1 | 11 |
| 10 | 8.660254 | 75 | 5 | 15 |
| 13 | 12 | 144 | 8 | 18 |
| 20 | 19.364917 | 375 | 15 | 25 |
| 25 | 24.494897 | 600 | 20 | 30 |
Limits
- Requires the outside point to be strictly beyond the circle, so a distance equal to or smaller than the radius is rejected.
- Both secant pieces must be positive; a secant that only touches the circle has an inside piece of zero.
- Covers tangents from one point to one circle, not common tangents drawn between two circles.
- Assumes a flat Euclidean circle and reports lengths in the unit of the inputs with no conversion.
Common mistakes
- Using 13 + 5 instead of 13 - 5 for the near segment when checking the product.
- Forgetting to take the square root and reporting the power as the tangent length.
- Using only the inside piece of the secant in place of the whole secant length from the outside point.
- Entering a centre distance smaller than the radius, which puts the point inside the circle where no real tangent exists.
- Assuming two tangents from the same point have different lengths, when they are equal.
Try it yourself
Quick checks. Answers sit tucked under each question.
A point is 10 units from the centre of a circle of radius 5. How long is the tangent?
t = sqrt(100 - 25) = sqrt(75) = 8.660254 units. The power is 75, and the near and far segments are 5 and 15, whose product is 75.
A secant from an outside point has an outside piece of 4 and an inside piece of 5. Find the tangent.
The whole secant is 9, so t = sqrt(4 x 9) = 6 units. The power is 36 and the near and far segments are 4 and 9.
Can a tangent be drawn from a point 4 units from the centre of a circle of radius 5?
No. Since 4 is less than 5 the point is inside the circle, d squared minus r squared is negative, and the tool returns an error instead of a length.
Questions
What is a tangent to a circle?
A line that meets the circle at exactly one point. The radius drawn to that point is perpendicular to the tangent.
Why is the tangent length the square root of d squared minus r squared?
The radius, the tangent and the line to the centre form a right triangle with hypotenuse d. Pythagoras gives t squared = d squared minus r squared.
What is the power of a point?
The value d squared minus r squared. For a point outside the circle it equals the square of the tangent length and also the product of the two secant distances from that point.
Do I need to know where the tangent touches the circle?
No. The length depends only on the distance from the point to the centre and the radius, not on the contact point.
What if two tangents are drawn from the same point?
They have equal lengths. This page returns that common length.
Does the page handle a tangent between two circles?
No. It covers a tangent from a single point to a single circle. Common tangents between two circles use a different construction.
Sources
- Wolfram MathWorld: Circle Power
- University of Kentucky MA 341, The Radical Axis: power of a point and tangent length
- East Tennessee State University, Geometry notes Section 2.2: Euclid III.36