home
>
analytical
>
linear-interpolation

Linear Interpolation Value Calculation

Enter the first co-ordinates
X1
  
Y1
 
Enter the second co-ordinates
X2
  
Y2
 
Enter the Target x   
X
 
Interpolated Y value

 
   
  
Code to add this calci to your website Expand embed code Minimize embed code
Just copy and paste the below code to your webpage where you want to display this calculator.


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.

Linear interpolation value calculation is made easier here.