# Linear Interpolation Calculator English Español German

Linear interpolant is the straight line between the two known co-ordinate points (x0, y0) and (x1, y1). Here is the online linear interpolation calculator for you to determine the linear interpolated values of a set of data points within fractions of seconds.

## Linear Interpolation Value Calculation

Linear interpolant is the straight line between the two known co-ordinate points (x0, y0) and (x1, y1). Here is the online linear interpolation calculator for you to determine the linear interpolated values of a set of data points within fractions of seconds.

Code to add this calci to your website  #### Formula Used

Y = ( ( X - X1 )( Y2 - Y1) / ( X2 - X1) ) + Y1 Where, X1,Y1 = First co-ordinates, X2,Y2 = Second co-ordinates, X = Target X co-ordinate, Y = Interpolated Y co-ordinate.

The interpolated values are commonly used for filling the gaps in a table. If the two known values are (x1, y1) and (x2, y2), then the 'y' value for some point 'x' is: y = y1 + (x - x1) x [(y2-y1)/(x2-x1)]. Linear interpolation on a set of data points (x0, y0), (x1, y1), ..., (in, yn) is defined as the concatenation of linear interpolants between each pair of data points. By using this linear interpolation calculator you can do the linear interpolated value calculation with ease. Just input the coordinates points this linear interpolation calculator will update you the interpolated values within the fractions of seconds. This interpolation calculator will be a very useful one in the field of computer graphics where the basic operation of linear interpolation values are commonly used.

#### Example

Linear interpolant of a straight line has target as 9 ,X1 as 5, Y1 as 6, X2 as 8 and Y2 as 9, find its interpolated value Y.

= (( X - X1)*(Y2 - Y1) / (X2 - X1)) + Y1
= ((9 - 5)*(9 - 6) / (8 - 5)) + 6
= (4*3/3)) + 6
= 4 + 6
= 10