Section Formula Calculator

Enter two points and a ratio to find the point that divides the segment.

The x-coordinate of the first point.

The y-coordinate of the first point.

The x-coordinate of the second point.

The y-coordinate of the second point.

The first part of the ratio, more than 0.

The second part of the ratio, more than 0.

Division

Internal puts the point between the two; external puts it beyond one of them.

Try

Result

You enteredA=(1,2), B=(7,8), m:n=1:2A = \left(1, 2\right),\ B = \left(7, 8\right),\ m : n = 1 : 2

(3,4)\displaystyle \left(3, 4\right)

x-coordinate

3\displaystyle 3

y-coordinate

4\displaystyle 4
Show the work
  1. Section formula

    The point PP divides ABAB internally in the ratio m:nm : n when PP is on the segment with AP:PB=m:nAP : PB = m : n. Each coordinate of PP is a weighted average of the ends, so the formula adds. Here A=(1,2)A = \left(1, 2\right), B=(7,8)B = \left(7, 8\right) and m:n=1:2m : n = 1 : 2.

    P=(mx2+nx1m+n,my2+ny1m+n)=(1×7+2×11+2,1×8+2×21+2)=(93,123)=(3,4)\begin{aligned} P &= \left(\frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}\right) \\ &= \left(\frac{1 \times 7 + 2 \times 1}{1 + 2}, \frac{1 \times 8 + 2 \times 2}{1 + 2}\right) \\ &= \left(\frac{9}{3}, \frac{12}{3}\right) \\ &= \left(3, 4\right) \end{aligned}
  2. Result

    So the point dividing ABAB internally in the ratio 1:21 : 2 is (3,4)\left(3, 4\right).

Worked examples