Home / Linear Interpolation Calculator

Linear Interpolation Calculator

Linear interpolation estimates an intermediate y-value by assuming the relationship between two known points is a straight line. It is useful for table lookups and proportional estimates between measured points.

How to use this calculator

  1. Enter both known (x, y) points and the target x. The page flags whether the target lies between the points or outside them.
  2. Check the labels and units before applying the result to a real task.
  3. Change one input at a time when comparing scenarios.

Formula and method

y = y₀ + (x−x₀)(y₁−y₀)/(x₁−x₀)

  • y = y₀ + (x−x₀)(y₁−y₀)/(x₁−x₀)
  • The estimate assumes a linear relationship. When the target is outside the supplied x interval, the method extrapolates and can be unreliable.

Worked examples

Worked example

Between (0, 10) and (10, 30), estimate y when x = 4.

The fraction of the interval is 4/10; y = 10 + 0.4×(30−10) = 18.

The fraction of the interval is 4/10; y = 10 + 0.4×(30−10) = 18.

Understanding the result

Linear interpolation estimates an intermediate y-value by assuming the relationship between two known points is a straight line. It is useful for table lookups and proportional estimates between measured points.

The estimate assumes a linear relationship. When the target is outside the supplied x interval, the method extrapolates and can be unreliable.

Important notes

The estimate assumes a linear relationship. When the target is outside the supplied x interval, the method extrapolates and can be unreliable.

Displayed values are rounded for readability; retain appropriate precision when continuing a calculation.

Frequently asked questions

What is the difference between interpolation and extrapolation?

Interpolation estimates inside the known x range. Extrapolation extends the line outside that range and is usually more sensitive to a wrong linear assumption.

Must the x values be increasing?

No, but they must be different. The formula works for either endpoint order as long as x₀ and x₁ are not equal.

Does this handle a curved relationship?

No. The formula uses a straight line between two points. Curved trends need a suitable nonlinear model or more data.

Affiliate recommendations

Tools related to Linear Interpolation Calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep Visit partner ↗

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Linear Regression Calculator — Fit a simple least-squares line to paired x and y data and estimate a y value for a chosen x.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Quadratic Formula Calculator — Solve a quadratic equation and calculate its discriminant and real roots.
  • Slope Calculator — Calculate the slope between two points on a line.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Distance Calculator — Calculate straight-line distance between two points on a coordinate plane.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • Percentage Change vs Percentage Difference — Understand the difference between percentage change and percentage difference, including when each formula is appropriate.
  • How to Calculate Days Between Dates — Learn how date intervals work, including leap years and inclusive vs exclusive day counting.
  • Slope — Learn what slope means and how to calculate the slope between two points.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Linear Regression Calculator — Fit a simple least-squares line to paired x and y data and estimate a y value for a chosen x.
  • Slope Calculator — Calculate the slope between two points on a line.
  • Distance Calculator — Calculate straight-line distance between two points on a coordinate plane.
  • Euclidean Distance Calculator — Calculate straight-line distance between two points in a two-dimensional coordinate plane.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Quadratic Formula Calculator — Solve a quadratic equation and calculate its discriminant and real roots.
Browse by categoryMath CalculatorsBusiness CalculatorsDate & Time CalculatorsScience & Electronics CalculatorsConstruction CalculatorsHealth & Fitness Calculators

Task collections

  • Calculators for Students — Free student calculators for grades, percentages, fractions, probability, normal distributions, matrices, vectors, complex numbers, statistics, geometry, and scientific math.
  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Health & Fitness Calculators — Free health and fitness calculators for BMI, BMR, calories, macros, body fat, lean body mass, heart-rate training zones, hydration, and running pace.
  • Science & Electronics Calculators — Free science and electronics calculators for projectile motion, force, buoyancy, fluid pressure, Reynolds number, heat transfer, capacitors, RC time constants, resistance, and electrical relationships.

Related guides

  • Percentage Change vs Percentage Difference — Understand the difference between percentage change and percentage difference, including when each formula is appropriate.
  • How to Calculate Days Between Dates — Learn how date intervals work, including leap years and inclusive vs exclusive day counting.
  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.

Related terms

  • Slope — Learn what slope means and how to calculate the slope between two points.
  • Basal Metabolic Rate (BMR) — Learn what basal metabolic rate means and how BMR estimates are used in calorie planning.
  • Ohm's Law — Understand Ohm's law and the relationship between voltage, current, and resistance.

Useful conversions

  • cm to inches — Convert centimeters to inches with a fast cm to inches converter, formula, examples, and common conversion values.
  • feet to cm — Convert feet to centimeters instantly with a free feet to cm converter, formula, examples, and common values.
  • feet to meters — Convert feet to meters with a free feet to meters converter, formula, examples, and common values.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.