Interpolation Calculator
Enter x and y points and a target x to get the interpolated value with Lagrange, Newton divided differences, a natural cubic spline or finite differences, plus the polynomial, tables and a plot.
- Free
- No sign-up
- Works on any device
About Interpolation Calculator
Interpolation builds a function that passes exactly through your data points and evaluates it at a new x. This calculator offers the Lagrange form, Newton's divided differences, a natural cubic spline and Newton's forward differences for equally spaced data. For the points (0,1), (1,3), (2,7), (3,13) every polynomial method returns x^2 + x + 1, so the value at 1.5 is 19/4 = 4.75. Whole numbers, decimals and fractions are handled exactly, and you get the expanded polynomial, the tables and a plot of the curve through the points.
How to use Interpolation Calculator
- Enter the data points one per line as x then y, and choose Newton, Lagrange, spline or finite differences.
- Type the x value at which the curve should be evaluated.
- Read the interpolated value, the polynomial or spline pieces, the divided or forward difference table and the plot.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
Also known as
Frequently asked questions
What is the difference between Lagrange and Newton interpolation?
They give the same polynomial written differently. Lagrange uses weighted basis polynomials for each point, while Newton uses divided differences, where adding a point only adds one term. The expanded polynomial is identical.
When should I use a spline instead of a polynomial?
With many points a single high-degree polynomial can oscillate between them (Runge's phenomenon). A natural cubic spline joins low-degree pieces smoothly and is usually the safer choice for more than about ten points.
How is this different from a regression line or curve fit?
A curve fit smooths noisy data and does not pass through the points. Interpolation passes through every point exactly, so it suits exact tabulated values, not measurements with random error.
Is Interpolation Calculator free?
Yes. Interpolation Calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put Interpolation Calculator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.