Lagrange Interpolation Polynomial Calculator
Enter your x,y data points and an x value to evaluate the Lagrange interpolating polynomial.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Lagrange interpolation constructs the unique lowest-degree polynomial that passes exactly through a given set of (x, y) points, built as a weighted sum of "basis" polynomials — each one designed to equal 1 at its own x-value and 0 at every other data point's x-value. Unlike fitting a line or curve by least-squares regression, which minimizes overall error but generally misses most points, Lagrange interpolation guarantees the polynomial threads through every single point exactly, which is exactly what you want when the data points are trusted, exact values rather than noisy measurements.
This calculator takes your set of x,y data points, builds the Lagrange polynomial symbolically, and evaluates it at any x value you choose. Numerical methods students verifying interpolation by hand, engineers estimating a value between sparse tabulated data (like steam tables or lookup charts), and programmers implementing curve-fitting from scratch use it to check their derivations or quickly get an interpolated estimate without coding the algorithm themselves.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)