Loading…

Tangent to Circle Calculator

Math Geometry • Circles and Conics

View all topics

Compute the tangent line(s) from a point to a circle and the tangent segment length. If the point is outside the circle, there are two tangents; on the circle, one; inside, none. The graph is interactive: drag to pan, wheel/trackpad to zoom, pinch on touch.

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Inputs

Tip: For center \((h,k)\) and point \(P(x_0,y_0)\), let \(d\) be the distance from \(P\) to the center. If \(d>r\), there are two tangents and the tangent length is \(L=\sqrt{d^2-r^2}\).

Graph options

The plot uses square units (same scale on x and y) and keeps tick numbers near their axes.

Ready
Enter values and click Calculate.
Diagram (square units • pan/zoom enabled)

Drag to pan • wheel/trackpad to zoom • pinch on touch • “Reset view” fits the geometry.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How many tangents can be drawn from a point to a circle?

Let d be the distance from the point to the circle center and r be the radius. If d > r there are two tangents, if d = r there is one tangent (the point is on the circle), and if d < r there are no real tangents.

How do you find the tangent length from an external point to a circle?

When the point is outside the circle, the radius to the tangency point is perpendicular to the tangent line, forming a right triangle. The tangent segment length is L = sqrt(d^2 - r^2), where d is the distance from the point to the center.

Why is a tangent line perpendicular to the radius at the point of tangency?

At the tangency point, the tangent touches the circle without cutting through it, and the shortest path from the center to the line occurs along the radius. That shortest segment meets the line at a right angle, so the radius is perpendicular to the tangent.

When does a tangent-to-circle calculation return no solution?

No real tangent lines exist if the chosen point lies strictly inside the circle, meaning the distance to the center is less than the radius. In that case, every line through the point intersects the circle in two points rather than just touching it once.