Key Points
- Internal division puts the point P between A and B; external division puts it on line AB, beyond one end.
- The weight m goes with the far endpoint B, so a bigger m pulls P closer to B.
- Internal and external division differ only in one sign: plus with m + n, or minus with m − n.
- The ratio 1 : 1 gives the midpoint, and 2 : 1 along a median gives the centroid of a triangle.
How Do You Find a Point That Splits a Fence Post Line in a Fixed Ratio?
A surveyor marking a point two-thirds along a boundary needs no tape, just one formula. Given the two endpoints and the ratio, the dividing point is fixed.
- A valve must sit one-third of the way along a straight pipe from a pump at (0, 0) to a tank at (12, 9).
- One-third of the run is 4 and one-third of the rise is 3, so the valve goes at (4, 3).
- "One-third of the way" means the two pieces are in the ratio 1 : 2. The section formula packages this for any ratio and any two points.

What Is the Section Formula?
The section formula gives the point P that divides the segment from to so that . It rests on a coordinate geometry fact: a ratio along a segment becomes the same ratio of coordinate differences.
| Symbol | Meaning |
|---|---|
| Coordinates of the first endpoint A | |
| Coordinates of the second endpoint B | |
| The ratio | |
| The dividing point being found |
- Read the ratio from A towards B and keep that order: is not .
- describes the piece next to A, yet it multiplies B's coordinates. The next sections show why.
What Is the Internal Section Formula?
For internal division, P lies between A and B:
- The plus signs and the denominator are the mark of internal division.
- Each coordinate is a weighted average of the endpoints. Both weights are positive, so P always lands between them.
- Why does multiply ? Because measures AP, the stretch towards B, so it pulls P towards B's coordinate. The bigger is, the closer P sits to B.
The internal division page has more practice on the grid.
What Is the External Section Formula?
For external division, P lies on the line through A and B but outside the segment:
- The only change is the sign: subtraction replaces addition, and the denominator becomes .
- Think of it as internal division in the ratio ; the piece PB now points backwards.
- If , P lies beyond B. If , P lies beyond A.
- If , the denominator is 0: no point outside a segment is equally far from both ends.

The external division page covers the sign rule in full.
How Is the Midpoint a Special Case?
Set in the internal formula and it becomes the midpoint formula:
- The midpoint is not a separate rule; it is the section formula at its most balanced ratio. For A(−3, 5) and B(7, −1) it is (2, 2).
- The centroid of a triangle divides each median (vertex to opposite midpoint) in the ratio 2 : 1.
- Apply the formula to vertex and the midpoint of the opposite side, and the centroid comes out as , the average of the vertices.

How Is the Section Formula Derived?
Two independent pictures give the same formula.
Way 1: similar triangles
Draw the right triangle from A across and up to P, and the one from P to B. Both slanted sides lie on one line, so the triangles are similar, and their runs are in the ratio .
- .
- Cross-multiply: .
- Collect the x terms: .
- Divide: . The rises give y the same way.

Run the same argument with P beyond B and the near-side sign flips, giving the denominator.
Way 2: the balance point
Put a weight at A and a weight at B on a light beam. It balances where , which is exactly .
- The balance point is the weighted average : the section formula.
- It explains the pairing: a beam balances nearer its heavier end, and the weight sits at B.
- Archimedes worked out this balance rule in On Plane Equilibriums, in the third century BCE.

In the coordinate lab the purple dot M marks the 1 : 1 point. Try the "Opposite quadrants" preset, A(−4, 3) and B(2, −3): the run is 6 and the rise is −6.
- The 2 : 1 point is two-thirds of the way: .
- The 1 : 2 point is one-third of the way: . Both sit either side of M at .
Try It Yourself
Use the coordinate lab to see Section Formula at work: drag, change the numbers and watch what happens.
Examples of Section Formula
The examples cover internal, external, finding a ratio and splitting into three.
Example 1
Find the point dividing A(1, 2) and B(4, 6) internally in the ratio 2 : 1.
- Here and .
- .
- .
- Check: , and , in the ratio 2 : 1.
Final answer: .
Example 2
P divides A(2, 3) and B(6, 7) internally in the ratio 3 : 1. A student writes . Is that right?
- The student paired the first ratio number with the first point. That gives , which sits near A.
- But 3 : 1 says AP is three times PB, so P must sit near B. The weights are on the wrong ends.
- Correct: and .
Final answer: , three parts from A and one from B.

Example 3
Find the point dividing A(1, 2) and B(4, 6) externally in the ratio 2 : 1.
- .
- .
- Check: and , in the ratio 2 : 1.
Final answer: , beyond B.
Example 4
Find the point dividing A(1, 2) and B(4, 6) externally in the ratio 1 : 3.
- .
- .
- The first part is smaller, so P lands beyond A: and .
Final answer: .
Example 5
In what ratio does the x-axis divide the segment from A(2, −3) to B(5, 6), and where does it cross?
- Let the ratio be . Points on the x-axis have , so .
- , so : the ratio , which is 1 : 2.
- , so the crossing is .
- Check: and .
Final answer: 1 : 2, at .

Example 6
Find the two points that trisect the segment from A(−3, 6) to B(6, −3).
- The trisection points divide AB in the ratios 1 : 2 and 2 : 1.
- 1 : 2 gives .
- 2 : 1 gives .
Final answer: and .
Why Does the Section Formula Matter?
"Two engineers, one boundary, no agreement on the split." Dividing a segment in a set ratio is a routine need, and doing it by eye invites disagreement.
- Surveying and construction. Markers at fixed fractions along a boundary or pipe come straight from the formula, like the valve at (4, 3).
- Animation. In-between frames are section points: a quarter of the way is 1 : 3, halfway 1 : 1, three-quarters 3 : 1.
- Balance and centres of mass. Engineers find the balance point of loads on a beam, or of a triangular plate, with this weighted average.
- The centroid. The same formula that splits a fence line finds a triangle's balance point, the 2 : 1 point of every median.

What Are the Most Common Mistakes With the Section Formula?
Four errors account for most wrong answers.
Mistake 1: Pairing the ratio weights with the wrong endpoints
Where it slips in: Setting up either formula from .
Don't do this: Multiply by A's coordinates.
The correct way: goes with B. Picture the balance: the bigger weight sits at the end P is closer to. A student who pairs "first number with first point" lands on the wrong side every time.
Mistake 2: Using the internal formula for external division
Where it slips in: A problem says "externally", or the point lies beyond an endpoint.
Don't do this: Keep the plus signs and the denominator.
The correct way: Switch to subtraction and , then check the side: beyond B when , beyond A when .
Mistake 3: Reversing the ratio order
Where it slips in: Reading off a diagram.
Don't do this: Write because you measured from B towards A.
The correct way: Fix one direction, A towards B, and keep it. Flipping 2 : 1 to 1 : 2 lands on a different point.
Mistake 4: Leaving a ratio as a single number
Where it slips in: Solving for in "" problems, as in Example 5.
Don't do this: Stop at .
The correct way: Write and clear it to 1 : 2. A negative is a signal too: the point is external.
Conclusion
- The section formula finds the point dividing segment AB in the ratio .
- Internal division uses plus signs and ; external division uses minus signs and .
- pairs with the far endpoint B, as both similar triangles and the balance point show.
- gives the midpoint, and along a median gives the centroid.
Read More
- Distance Between Two Points
- Centroid of a Triangle
- Area of a Triangle in Coordinate Geometry
- The Cartesian Coordinate System
- Equation of a Straight Line
Research Behind This Article
- OpenStax, College Algebra 2e, Section 2.1: The Rectangular Coordinate Systems and Graphs (the midpoint formula). openstax.org
- OpenStax, University Physics Volume 1, Section 9.6: Center of Mass (the balance point as a weighted average of positions). openstax.org
- J. J. O'Connor and E. F. Robertson, Archimedes of Syracuse, MacTutor History of Mathematics, University of St Andrews (On Plane Equilibriums). mathshistory.st-andrews.ac.uk
- Euclid, Elements, Book VI, Proposition 10 (cutting a straight line in a given ratio), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What is the section formula in coordinate geometry?
What is the difference between the distance formula and the section formula?
Can the ratio in external division be 1 : 1?
How do I know whether a division is internal or external?
Does the section formula work in three dimensions?
