How to Calculate the Slope of a Line of Best Fit

A line's coordinates determine its gradient.
••• Jupiterimages/Goodshoot/Getty Images

Points on a scatter graph link different quantities to determine a relationship between them. Sometimes, the points will lack a pattern, indicating no correlation. But when the points do show a correlation, a line of best fit will show the extent of the connection. The sharper the slope of the line through the points, the greater the correlation between the points. The line's slope equals the difference between points' y-coordinates divided by the difference between their x-coordinates.

    Select any two points on the line of best fit. These points may or may not be actual scatter points on the graph.

    Subtract the first point's y-coordinate from the second point's y-coordinate. If, for instance, the two coordinates are (1,4) and (3, 20): 4 - 20 = -16.

    Subtract the first point's x-coordinate from the second point's x-coordinate. Using the same two points as an example: 1 - 3 = -2.

    Divide the difference in y-coordinates by the difference in x-coordinates: -16 / -2 = 8. The line has a slope of 8.

Related Articles

How to Interpret a Scatter Plot
How to Create Linear Equations
How to Find Quadratic Equations From a Table
How to Write a Linear Regression Equation
How to Calculate the Slope of Regression Line
How to Convert Graphs to Equations
How to Determine the Y-Intercept of a Trend Line
How to Find The Slope of a Line Given Two Points
How to Calculate Percentage Points
How to Determine if an Equation Is an Identity?
How to Find the Angle of a Curve
How to Calculate the RMSE or Root Mean Squared Error
How to Straighten an Inverse Curve
How to Interpret a Scatter Plot
How to Find the Slope of a Plotted Line With the TI-84...
How to Find Euclidean Distance
How to Find a Line of Reflection
How to Find the Midpoint of the Interval
How to Calculate Regression Coefficient
How to Graph and Find the Solution on a Calculator