Calculator: Tangents from a point to a circle

Enter the labelled inputs to calculate: Value T₁x; Value T₁y; Value T₂x; Value T₂y; Length.

Value T₁x
0.5
Value T₁y
0.8660254038
Value T₂x
0.5
Value T₂y
-0.8660254038
Length
1.732050808

How the calculation works

T±=(r²/d²)P ± [r√(d²−r²)/d²]·(−Py,Px)

Use the displayed units and finite inputs. Results follow the stated mathematical model; zero denominators and undefined cases are rejected. Up to ten significant digits are displayed.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

T±=(r²/d²)P ± [r√(d²−r²)/d²]·(−Py,Px)

What assumptions apply?

Use the displayed units and finite inputs. Results follow the stated mathematical model; zero denominators and undefined cases are rejected. Up to ten significant digits are displayed.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Radius = 3
Value Px = 5
Value Py = 0
Value T₁x: 1.8
Value T₁y: 2.4
Value T₂x: 1.8
Value T₂y: -2.4
2
Radius = 1
Value Px = 2
Value Py = 2
Value T₁x: -0.4114378278
Value T₁y: 0.9114378278
Value T₂x: 0.9114378278
Value T₂y: -0.4114378278
3
Radius = 2.5
Value Px = -4
Value Py = 3.5
Value T₁x: -2.337739395
Value T₁y: -0.8859878796
Value T₂x: 0.5678278902
Value T₂y: 2.434660446

How we test our calculators →

Also try:

Back to category →