Lagrange interpolation calculator
Find the polynomial that passes through your data points and visualize the result.
Learn the formula and see a worked example01 / Input
Data points
Enter the X and Y coordinates for each point.
02 / Output
Your result
The interpolating polynomial and its curve.
POLYNOMIAL
f(x) = —
Graph
Polynomial & data pointsYour graph will appear here
Enter your points, then calculate.UNDERSTAND THE METHOD
What is Lagrange interpolation?
Lagrange interpolation constructs a polynomial that passes through a set of points with distinct X coordinates. Enter your known values above to calculate the polynomial and plot its curve. For example, the points (1, 2), (2, 5), and (3, 10) lie on f(x) = x² + 1.
Read the step-by-step Lagrange interpolation guide