The main difference between interpolation and extrapolation is that interpolation is used to estimate the value of a variable at an intermediate point between two known data points, whereas extrapolation is used to estimate the value of a variable beyond the range of the known data points.