Algebra • Analytic & Coordinate Geometry

Circle Tangent Line Calculator

Find the tangent line equation to a circle in slope-intercept y = mx + b and standard forms, evaluate external point tangents, and visualize perpendicular radial geometry with interactive SVG plots.

|
Last Updated: September 2026
|
Analytic Geometry & Conic Sections Verified
1. Circle Parameters (x − h)² + (y − k)² = r²
2. Point of Tangency P(x₁, y₁)
Tangent Line Equation
y = −0.75x + 6.25
Standard: 3x + 4y − 25 = 0
Tangent Slope −0.75
Radius Slope +1.333
Angle with X 143.1°
Y-Intercept 6.25
Coordinate Geometry Visualizer
Circle Tangent Radius

The radius vector (amber) is strictly perpendicular (∠ = 90°) to the tangent line (emerald) at point of contact P.

Step-by-Step Mathematical Derivation

Direct Answer & Overview
Verified Educational Guide

Circle Tangent Line Equation

A circle tangent line is a straight line that intersects the circle at exactly one point P(x₁, y₁). Because the tangent line is perpendicular to the radius drawn to that point, its slope is the negative reciprocal of the radial slope: m_tangent = −(x₁ − h) / (y₁ − k).

Primary Mathematical Formula Joachimsthal's Formula for Circle (x − h)² + (y − k)² = r²
Standard Equation
ƒ(x)
Q.E.D.
(x1−h)(x−h)+(y1−k)(y−k)=r2(x_1 - h)(x - h) + (y_1 - k)(y - k) = r^2
For circles centered at the origin (0, 0), this simplifies to x₁x + y₁y = r².
Exact Formula
Input Parameters
Required
1
Circle Center (h, k): Cartesian coordinates of the circle center
2
Radius (r): Strictly positive radius of the circle (r > 0)
3
Point of Tangency P(x₁, y₁): Coordinates of point lying on the circumference
Expected Outputs
Calculated
Slope-Intercept Form: y = mx + b (or x = c for vertical tangents)
General Form: Ax + By + C = 0 with integer or exact decimal coefficients
Tangent Slope: m_tangent = −1 / m_radius
Perpendicularity: Strict 90° angle between radius and tangent
Worked Numerical Example
Instant Verification
Find the tangent line to the circle x² + y² = 25 at the point P(3, 4).
→ Center is (0, 0). Radial slope is (4 - 0)/(3 - 0) = 4/3. Tangent slope is the negative reciprocal: m = -3/4 = -0.75. Using point-slope: y - 4 = -0.75(x - 3) => y = -0.75x + 6.25 (or 3x + 4y - 25 = 0).
y = −0.75x + 6.25 (Standard: 3x + 4y − 25 = 0)

What Is a Circle Tangent Line?

In Euclidean plane geometry, a tangent line to a circle is a straight line that touches the circle at exactly one single point, known as the point of tangency (or point of contact).

The defining geometric principle of a tangent line—first formalized in Euclid's Elements (Book III, Proposition 18)—is that the tangent line is perpendicular to the radius vector drawn to the point of tangency:

Radius Vector CP ⊥ Tangent Line L  ⇔  mtangent × mradius = −1

This perpendicularity means that if the radius has slope mradius, the tangent line must have the negative reciprocal slope:
mtangent = −1 / mradius.

Algebraic Formulas for Circle Tangents

1. Circle Centered at Origin: x² + y² = r²
x₁ x + y₁ y = r²

Where (x₁, y₁) is the point of contact on the circle. In slope-intercept form (when y₁ ≠ 0):
y = −(x₁ / y₁) x + (r² / y₁).

2. General Circle: (x − h)² + (y − k)² = r² (Joachimsthal's Formula)
(x₁ − h)(x − h) + (y₁ − k)(y − k) = r²

Splitting the quadratic terms (x − h)² into (x₁ − h)(x − h) immediately converts the quadratic circle equation into the linear tangent line equation!

3. Tangent Lines with a Given Slope (m)
y − k = m(x − h) ± r √(1 + m²)

For any prescribed slope m, there are always exactly two parallel tangent lines touching opposite sides of the circle.

Step-by-Step Worked Examples

Example 1: Pythagorean Triple Point on Origin Circle y = −0.75x + 6.25

Circle: x² + y² = 25. Point P: (3, 4).
1. Check point: 3² + 4² = 9 + 16 = 25 ✓ (Point lies on circle).
2. Apply Joachimsthal's formula: x₁x + y₁y = r² ⇒ 3x + 4y = 25.
3. Solve for y: 4y = −3x + 25 ⇒ y = −(3/4)x + 25/4 = −0.75x + 6.25.

Example 2: Shifted Center Circle 3x + 4y − 27 = 0

Circle: (x − 2)² + (y + 1)² = 25. Center C(2, −1). Point P(5, 3).
1. Check point: (5 − 2)² + (3 − (−1))² = 3² + 4² = 25 ✓.
2. Substitute: (5 − 2)(x − 2) + (3 − (−1))(y − (−1)) = 25.
3. Expand: 3(x − 2) + 4(y + 1) = 25 ⇒ 3x − 6 + 4y + 4 = 25.
4. Standard form: 3x + 4y − 27 = 0 ⇒ y = −0.75x + 6.75.

Example 3: Horizontal and Vertical Extreme Tangents x = 5  and  y = 5

Circle: x² + y² = 25.
At point (5, 0): 5x + 0y = 25 ⇒ 5x = 25 ⇒ x = 5 (Vertical line, slope undefined).
At point (0, 5): 0x + 5y = 25 ⇒ 5y = 25 ⇒ y = 5 (Horizontal line, slope = 0).

Tangents from an External Point & Chord of Contact

When an observer or source point P(x₀, y₀) lies strictly outside a circle (distance d > r), two distinct tangent lines can be drawn from P to the circle:

Equal Tangent Lengths

L = √(d² − r²)

By the Pythagorean theorem on right-triangle ΔOPT, both tangent segments from P to contact points T₁ and T₂ have exactly equal lengths.

Chord of Contact Line

(x₀ − h)(x − h) + (y₀ − k)(y − k) = r²

The secant line passing through both points of tangency T₁ and T₂ is known as the chord of contact.

Calculus vs. Geometric Derivation

There are two complementary ways to derive the slope of a circle's tangent line:

Method A: Calculus (Implicit Differentiation)

(x − h)² + (y − k)² = r²

Differentiate w.r.t x:

2(x − h) + 2(y − k)(dy/dx) = 0

dy/dx = −(x − h) / (y − k)

Method B: Coordinate Geometry (Negative Reciprocal)

Center C(h, k), Point P(x₁, y₁)

Radial slope:

m_radius = (y₁ − k) / (x₁ − h)

m_tangent = −1 / m_radius = −(x₁ − h) / (y₁ − k)

Both methods yield the exact same result, demonstrating the seamless unity between differential calculus and classical coordinate geometry.

Vertical and Horizontal Tangent Edge Cases

When solving for tangent lines, two special orientations must be handled with care:

Vertical Tangents (Undefined Slope)

Occur at the easternmost and westernmost points of the circle: (h ± r, k). Because the denominator y₁ − k = 0, division by zero occurs in slope-intercept form. The equation must be expressed in standard linear form: x = h ± r.

Horizontal Tangents (Zero Slope)

Occur at the northernmost and southernmost peaks: (h, k ± r). Here the numerator is zero, yielding m = 0. The equation is y = k ± r.

Common Calculation Mistakes

1. Assuming Any Arbitrary Point Lies on the Circle

Applying the formula x₁x + y₁y = r² to a point that does not lie on the circumference does NOT give a tangent line; it gives the polar line with respect to the circle! Always test (x₁ − h)² + (y₁ − k)² = r² first.

2. Forgetting the Negative Sign in Perpendicular Slope

If the radius has slope +2, the tangent line must have slope −0.5, not +0.5. Forgetting the negative sign creates a normal line instead of a tangent line.

3. Attempting to Draw Tangents from an Internal Point

If a point lies inside the circle (distance d < r), no real tangent lines can pass through it. Any straight line through an internal point is a secant line that intersects the circle at two points.

Engineering Applications in Mechanics & Optics

Belt Drives & Pulleys

Mechanical engine timing belts wrap along the common tangent lines between rotating circular pulleys, maintaining constant tension without slip.

Orbital Mechanics

When a spacecraft executes a propulsion burn to escape a circular planetary orbit, its tangential departure velocity vector aligns precisely with the circle tangent line.

CNC Cutter Pathing

Automated milling tools use tangential approach and exit paths when cutting curved arcs to prevent gouging the workpiece surface.

Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is a tangent line to a circle?
A tangent line to a circle is a straight line in the plane that touches the circumference of the circle at exactly one point, known as the point of tangency. At this point, the tangent line is strictly perpendicular (at an angle of 90 degrees) to the circle's radius vector.
What is the formula for the tangent line to a circle at a point (x₁, y₁)?
For a circle with center (h, k) and radius r, the tangent equation at a point (x₁, y₁) on the circle is given by Joachimsthal's formula: (x₁ − h)(x − h) + (y₁ − k)(y − k) = r². For a circle centered at the origin (0, 0), this simplifies to x₁x + y₁y = r².
How many tangent lines can be drawn to a circle from an external point?
From any point P located strictly outside a circle (where distance d > r), exactly two distinct tangent lines can be drawn to the circle. Both tangent segments from the external point to the points of tangency have identical length: L = √(d² − r²).
What happens when a tangent line is vertical?
If the point of tangency has the same y-coordinate as the center (y₁ = k), the radius is horizontal (slope = 0). The perpendicular tangent line is therefore completely vertical, with undefined slope, and its equation is simply x = x₁.
How do you find the tangent equation using calculus?
By implicit differentiation of the circle equation (x − h)² + (y − k)² = r² with respect to x: 2(x − h) + 2(y − k)(dy/dx) = 0, which yields dy/dx = −(x − h) / (y − k). Evaluating this derivative at (x₁, y₁) gives the exact tangent slope.
What is the chord of contact?
The chord of contact is the line segment joining the two points of tangency formed by tangent lines drawn from an external point P(x₀, y₀). Its equation is identical in form to the tangent equation: (x₀ − h)(x − h) + (y₀ − k)(y − k) = r².