Lagrange Interpolation Calculator

Enter a set of (x, y) data points and a target x to evaluate the Lagrange interpolating polynomial instantly.

Use the Lagrange Interpolation Calculator

Data Points

x y

Enter data points and click Calculate

Minimum 2 points required

Summary

Lagrange interpolation constructs a unique polynomial of minimum degree that passes exactly through a given set of data points. For n+1 points it produces a degree-n polynomial built from weighted basis functions. This tool lets you enter any number of (x, y) pairs, choose an evaluation point, and instantly see the interpolated value alongside the full polynomial expression and each basis term.

How it works

  1. Enter at least two (x, y) data points — one per row.
  2. Add or remove rows with the + / − buttons.
  3. Type a target x value in the "Evaluate at x" field.
  4. Click Calculate to run the interpolation.
  5. The tool displays the interpolated y value, the full polynomial, and the step-by-step basis polynomials.

Use cases

  • Estimate function values between tabulated measurements.
  • Reconstruct a smooth curve through sensor or experiment data.
  • Verify polynomial interpolation homework problems step by step.
  • Approximate transcendental functions with polynomial series.
  • Check numerical methods course exercises.
  • Interpolate calibration tables in engineering.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu