Directed Line Segment Ratio Calculator
Find the point dividing a directed segment in a signed ratio, including internal and external division.
Formula
P=(nA+mB)/(m+n), with AP:PB=m:n.
P: x ≈ ((2)×(0)+(1)×(6))÷((1)+(2)) · P: y ≈ ((2)×(0)+(1)×(9))÷((1)+(2))
How to use
- Enter the coordinates of A and B.
- Enter the signed ratio m:n; its terms must not sum to zero.
- Read the coordinates of P.
Examples
- A=(0,0), B=(6,9), and 1:2 give P=(2,3).
Frequently asked questions
What do m and n mean?
They are directed lengths AP and PB in a common ratio.
How do I divide externally?
Use opposite signs, such as 2:−1; P then lies outside AB.
Why is m+n=0 invalid?
The division point has no finite, unique coordinates. Use distinct endpoints.
Sources
Updated: