In short
Slope is rise / run — the vertical change on top, the horizontal change on the bottom. If you accidentally write run / rise, you get the reciprocal of the slope, which is a different number and a wrong answer. A line through (0, 0) and (2, 6) has slope \frac{6}{2} = 3, not \frac{2}{6} = \frac{1}{3}. The flip is one of the top five slope errors CBSE Class 9 and 10 examiners see, and it is sneaky because the wrong number still looks like "a fraction with a 2 and a 6 in it" — but it points to a totally different line.
You drew the right triangle. You measured the legs honestly. The horizontal one is 2, the vertical one is 6. Now you write down the slope as \frac{2}{6}, simplify to \frac{1}{3}, and move on. The teacher's red pen comes out. Where did it go wrong? You computed \frac{\text{run}}{\text{rise}} when slope is \frac{\text{rise}}{\text{run}}. Same two numbers, opposite order, wrong answer.
This is the flip trap, and once you see it, you stop falling for it.
What slope actually is
Slope answers a single question: for every step you take to the right, how much does the line go up?
That is a vertical-per-horizontal ratio. The vertical change goes on top. The horizontal change goes on the bottom.
Why: a slope of 3 means "go right by 1 unit, the line climbs 3 units." That is rise per run — vertical units divided by horizontal units. Flipping it to run per rise would mean "horizontal units divided by vertical units", which answers a different question entirely (how far right does the line go for every unit it climbs).
If you want the deeper geometry of why the same ratio holds anywhere on the line, see the sibling explainer on rise over run with the triangle anywhere on the line. Here the only mission is: stop flipping the fraction.
The flip-trap diagram
Same line. Same triangle. Two paths — one wrong, one right.
The visual disagreement is your alarm bell. A line that climbs 6 for every 2 steps right is steep. A slope of \frac{1}{3} describes a line so gentle it barely tilts. They cannot both be the same line. If your number doesn't match what your eyes see, you flipped.
Worked examples
The classic flip — through $(0, 0)$ and $(2, 6)$
The line passes through the origin and through (2, 6). Drop the right triangle: horizontal leg from (0,0) to (2,0), vertical leg from (2,0) to (2,6).
- Run = 2 (horizontal change).
- Rise = 6 (vertical change).
WRONG: m = \dfrac{\text{run}}{\text{rise}} = \dfrac{2}{6} = \dfrac{1}{3}.
RIGHT: m = \dfrac{\text{rise}}{\text{run}} = \dfrac{6}{2} = 3.
The wrong answer is exactly the reciprocal of the right answer. Why: flipping numerator and denominator of a fraction is by definition taking the reciprocal — \frac{a}{b} becomes \frac{b}{a}. So whenever you flip rise/run, you don't get a random wrong number, you get the precise reciprocal of the true slope.
Sanity-check by eye: from the origin the line shoots up much faster than it goes right. Steep line \Rightarrow slope greater than 1. The number 3 matches the picture. The number \frac{1}{3} does not.
A gentler line — $(0, 0)$ and $(4, 1)$
The line goes from the origin to (4, 1). Triangle: run from (0,0) to (4,0), rise from (4,0) to (4,1).
- Run = 4.
- Rise = 1.
WRONG: m = \dfrac{\text{run}}{\text{rise}} = \dfrac{4}{1} = 4.
RIGHT: m = \dfrac{\text{rise}}{\text{run}} = \dfrac{1}{4}.
This time the flip is even scarier — it makes the line look four times steeper than 45°, when in reality the line is so gentle it's almost flat. A slope of 4 describes a line that climbs four storeys for every one step right; a slope of \frac{1}{4} describes a wheelchair ramp. Look at the picture: from (0,0) to (4,1) the line crawls along the x-axis. Gentle line \Rightarrow slope smaller than 1. The number \frac{1}{4} matches; the number 4 wildly overstates the steepness.
The "in doubt, sketch it" verification
You are asked for the slope of the line through (1, 2) and (7, 5). You compute, but you forget for a second whether rise goes on top.
Step 1: sketch. A rough sketch on the margin shows a line that rises modestly — it climbs 3 over a horizontal distance of 6. The line looks gentle, definitely flatter than a 45° diagonal. So the slope must be less than 1.
Step 2: compute both ways and pick the one that matches.
- Rise / run: \dfrac{5 - 2}{7 - 1} = \dfrac{3}{6} = \dfrac{1}{2}. Less than 1. Matches the sketch. ✓
- Run / rise: \dfrac{6}{3} = 2. Greater than 1. Doesn't match. ✗
The answer is \dfrac{1}{2}. The sketch caught the flip before the marker could.
Rule of thumb:
- Steep line (closer to vertical) \Rightarrow |m| > 1.
- 45° line \Rightarrow |m| = 1.
- Gentle line (closer to horizontal) \Rightarrow |m| < 1.
Whenever your computed slope and your sketched line disagree on which side of 1 they sit, you flipped.
How to never flip again
There is one trick that removes this error for life: the y comes first because the y-axis is the vertical one.
The slope formula is
Read it left to right. y appears in the numerator. The y-axis is vertical. So the numerator is the vertical change. That is rise. The denominator has x, and the x-axis is horizontal. So the denominator is the horizontal change. That is run.
Why the order matters geometrically: slope encodes how fast you climb per unit you walk forward. "Per unit you walk forward" is a horizontal denominator — you are dividing the climb by the walk, not the walk by the climb. If you walk 1 metre forward and climb 3 metres up, you describe that as "slope 3" (a steep climb), not "slope 1/3" (which would mean you walked 3 metres for every 1 metre you climbed — the description of a gentle climb). The order is fixed by what slope is supposed to mean.
A second memory aid that lives well in CBSE Class 9 and 10 notebooks: Rise on Roof, Run on Road. Roof is up (top of fraction), road is along the ground (bottom of fraction). Both R's, no confusion.
Why CBSE examiners see this so often
In NCERT Class 9 (Chapter 4: Linear Equations in Two Variables) and Class 10 (Chapter 7: Coordinate Geometry), the slope formula is introduced after the distance formula and the section formula. Students who have just memorised
— which is symmetric in x and y — sometimes carry the symmetry mindset into slope, where it does not apply. The slope formula is not symmetric: \frac{y_2 - y_1}{x_2 - x_1} and \frac{x_2 - x_1}{y_2 - y_1} describe different lines (in fact, perpendicular lines, since their slopes multiply to -1 when the original slope is -1, and in general they are negative reciprocals only in special cases — but they are always reciprocals of each other in absolute value).
That is why this error makes the examiners' "top five" list of slope mistakes, alongside (i) inconsistent point ordering (y_2 - y_1 on top but x_1 - x_2 on the bottom), (ii) sign errors with negative coordinates, (iii) treating a vertical line as having slope 0 instead of undefined, and (iv) treating a horizontal line as having undefined slope instead of 0.
A 30-second self-check before you write the final answer
- Did I put y on top? Yes / no. If no, flip it.
- Does the number match the picture? Steep line \Rightarrow |m| > 1. Gentle line \Rightarrow |m| < 1. If they disagree, you flipped.
- If the slope is a fraction, is the bigger number where the bigger leg of the triangle is? Long vertical leg \Rightarrow big numerator. Long horizontal leg \Rightarrow big denominator. If your fraction has a tiny number sitting where the long leg is, you flipped.
Three checks, ten seconds each. The flip trap dies quietly.