Tangent Line to a Circle Calculator

Calculate the tangent line from an external point to a circle. Find tangent length, tangent points, slopes, angles between tangent lines, and the power of a point.

units
Planning notes, formulas, and examples

About the Tangent Line to a Circle Calculator

A tangent line to a circle is a straight line that touches the circle at exactly one point. At that point, the tangent is perpendicular to the radius — a fundamental property that underlies countless constructions in geometry, engineering, and computer graphics.

From any point outside a circle, exactly two tangent lines can be drawn. These tangent lines have equal length (measured from the external point to the touch point), and they form a symmetric pair around the line connecting the external point to the circle's center. The tangent length T satisfies the elegant relationship T² + r² = d², where r is the radius and d is the distance from the point to the center. This is just the Pythagorean theorem applied to the right triangle formed by the center, the tangent point, and the external point.

The angle between the two tangent lines depends on how far the external point is from the circle. The closer the point, the wider the angle; at infinity, the two tangent lines become parallel. The quantity d² − r² is called the "power of the point" with respect to the circle — a key concept in inversive geometry.

This calculator supports two modes: (1) finding both tangent lines from an external point, and (2) finding the tangent line at a specific point on the circle. In both modes, enter the circle's center, radius, and the point of interest. The calculator returns tangent lengths, tangent points, slopes, line equations, and angles. Presets cover classic configurations like the 5-12-13 triangle and the unit circle. A reference table summarizes all key tangent-line formulas.

When This Page Helps

This calculator is useful when you need more than a single tangent length formula. In coordinate geometry problems, you often need the actual tangent points, the slope of each tangent line, the angle between the tangents, and confirmation that the point lies outside the circle. Doing all of that manually means switching between the distance formula, right-triangle relationships, and line equations.

It is especially helpful for analytic-geometry homework, drafting and CAD sketches, wheel and pulley layouts, and proof checking. The dual modes also let you move between two common tasks: drawing both tangents from an external point, or finding the unique tangent at a known point on the circle.

How to Use the Inputs

  1. Choose the mode: tangent from an external point, or tangent at a point on the circle.
  2. Enter the circle's center coordinates (X, Y) and radius.
  3. Enter the external point (or point on the circle) coordinates.
  4. Or click a preset to load a common example configuration.
  5. View tangent length, tangent points, slopes, and angles.
  6. Check the distance relationship bar chart: d² = r² + T².
  7. Use the reference table for quick formula lookup.
Formula used
Tangent length: T = √(d² − r²), where d = distance from point to center Half angle: α = arcsin(r / d) Angle between two tangents: 2α Power of a point: P = d² − r² Tangent at point on circle: slope = −(x − cx) / (y − cy) (perpendicular to radius) Line equation: (x−cx)(px−cx) + (y−cy)(py−cy) = r²

Example Calculation

Result: Tangent length = 12, angle between tangents ≈ 45.24°, half angle ≈ 22.62°

The circle has center (0,0) and radius 5. The external point is at (13,0), so d = 13. Tangent length = √(169 − 25) = √144 = 12. Half angle α = arcsin(5/13) ≈ 22.62°. The two tangent lines form a 45.24° angle at the external point. This is the classic 5-12-13 Pythagorean triple.

Tips & Best Practices

  • The two tangent lines from any external point always have equal length — this is used to prove many circle theorems.
  • If the point is on the circle (d = r), the tangent length is 0 and only one tangent line exists.
  • The power of a point (d² − r²) is positive outside the circle, zero on the circle, and negative inside.
  • In engineering, tangent lines determine the contact angle for belt drives, gear teeth, and cam followers.
  • The tangent–radius perpendicularity (90°) is used in surveying to lay out right angles from a curved reference.

Why the Tangent Length Formula Works

The key picture is a right triangle formed by the circle center, the tangent point, and the external point. Because a radius to a tangent point is always perpendicular to the tangent line, the tangent segment becomes one leg of the triangle, the radius is the other leg, and the center-to-point distance is the hypotenuse. That is why the relationship T² = d² − r² appears so naturally. The calculator exposes that relationship directly through the distance bar chart so you can see how the radius and tangent segment combine.

External Point vs Point on the Circle

These are related but different tasks. From an external point, there are two valid tangents and two touch points, which is why the calculator returns paired slopes and coordinates. At a point already on the circle, there is only one tangent direction, determined by the fact that it must be perpendicular to the radius there. Switching modes helps you see the difference between constructing tangents and analyzing a known point of contact.

Common Errors in Circle-Tangent Problems

Most mistakes come from using the wrong point classification. If the point is inside the circle, no real tangent exists. If it is exactly on the circle, the tangent length from that point collapses to zero and the problem changes form. Another common issue is confusing the tangent slope with the radius slope; they are negative reciprocal directions when both are defined. Use the calculator to verify these cases before you simplify equations by hand.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A tangent line is a straight line that touches a circle at exactly one point. At that point, the tangent is perpendicular (90°) to the radius drawn to the same point.