How to Find Slope & Y-Intercept in Economics

By Tricia Lobo; Updated April 25, 2017
The process of finding the slope and y-intercept, in economics, is just like the process you learned in algebra class.

Economists seek to identify variables critical to our economy and characterize how they relate to the economy and each other by building mathematical models of economic data. For instances, in introductory macroeconomics, supply and demand curves for goods and stocks, which graph quantity vs. price, are introduced for the first time. Economists are interested in figuring out how supply and demand interact with price and quantity. In this example, graphing quantity on the x-axis vs. price on the y-axis, the negative slope of a demand curve describes the rate at which demand decreases with increasing price. As well, the y-intercept -- the point at which the line crosses the y-axis -- is of interest; in this example, it is the point of minimum demand and maximum supply.

Graph your data, either by drawing x- and y-axes on a piece of graph paper or by typing your data into a software program with graphing capabilities. If your data is in a straight line, proceed to step two. If your data is more scattered, use your software to create a best-fit line or, by using a ruler and "eyeballing" your scattered data points, draw a straight line in the closest possible proximity to all points.

Obtain the algebraic expression describing your straight line. If you are working with a software program, use your program to automatically generate a line that fits your data. If you are using graph paper, pick two points from the graph to generate your line. For instance, let's say your points (x1, y1) and (x2, y2) are (0,3) and (3,0). Calculate your slope (m), if you are using graphing paper, using the formula m = (y2 - y1)/(x2 - x1). Your slope, in this case, is equal to (-3)/(3), or -1. Plug the slope, along with either of your points, into the formula y = mx + b, in which b is the y-intercept. If you plug in the point (0,3), you obtain, for your equation, 3 = -1 * 0 + b. B, in this case, is equal to 3. To get the algebraic expression, plug the constants m and b into the equation y = mx + b. In this example, the equation is y = -x + 3.

Obtain the y-intercept and slope for your data. If you used graphing paper, you calculated both of these -- b and m, respectively -- in the previous step. If you used a software program, you can obtain your slope and y-intercept from the line, in the form y = mx + b, that your software program calculated for you. The slope is the "m" constant and the y-intercept is the "b" constant.

About the Author

Tricia Lobo has been writing since 2006. Her biomedical engineering research, "Biocompatible and pH sensitive PLGA encapsulated MnO nanocrystals for molecular and cellular MRI," was accepted in 2010 for publication in the journal "Nanoletters." Lobo earned her Bachelor of Science in biomedical engineering, with distinction, from Yale in 2010.