Linear Interpolation Calculator

Visualize and calculate linear relationships with precision

Input Values

Interpolated Y Value
10.00
Slope (m)
2.00
Linear Interpolation Formula
y = y₁ + (x – x₁) × (y₂ – y₁) / (x₂ – x₁)

Graph Visualization

X Axis
Y Axis
Hover over points

How to Use the Linear Interpolation Calculator

Step 1 – Enter Input Values

Type the values for Point 1 (x₁, y₁) and Point 2 (x₂, y₂) in the input boxes.

Step 2 – Add Target X Value

Input the target x value, on which you wish to get the y.

Step 3 – Click “Calculate Interpolation”

Your interpolated value linear interpolation formula will be calculated by the calculator.

Step 4 – View Results & Graph

You will immediately have a visualisation of an interpolated y value, slope, and a graph.

Top view of red rulers and protractors on an orange background, perfect for educational themes.

Key Features of the Linear Interpolation Calculator

The formulae in the tool provide the standard linear interpolation formula to provide mathematical accuracy at all times.

Every point, including that which you have interpolated.

Get to the point and see how it is calculated.

Rapidly duplicate the interpolated y-value, slope, or complete calculation.

What is Linear Interpolation?

Examples of Linear Interpolation Calculator

Example 1: Temperature Estimation

You wish to know the temperature at 5 AM, having the following amount of data:

  • At 2 AM, temperature = 10°C
  • At 8 AM, temperature = 22°C

Result:

  • The estimated temperature at 5 AM is 16°C.

Example 2: Financial Growth Projection

  • A company’s revenue was
    • $100,000 in 2020
    • $200,000 in 2025.
  • Estimate the revenue for 2023 using linear interpolation.
  • Result:
    • The projected revenue for 2023 is $160,000.

Example Calculations

Examplex₁y₁x₂y₂Target xInterpolated y
Temperature Estimation030°C1050°C540°C
Finance Projection202010020252002022140
Engineering Measurement24816510
  • In the last example, when x = 5, y=4+(5−2)×(16−4)/(8−2)=10y = 4 + (5 – 2) × (16 – 4) / (8 – 2) = 10y=4+(5−2)×(16−4)/(8−2)=10

Applications of Linear Interpolation

Linear Interpolation:

Linear Interpolation has the following applications.

  • Geographic Data: Estimate elevation or location between coordinates.
  • Engineering: Estimate missing data points in experiments.
  • Finance: Predict the intermediate between fiscal years.
  • Science: Approximate pressure, temperature, or velocity at specific points.
  • Data Analysis: Interpolate the missing values between known data values.

Estimate elevation or location between coordinates.

Close-up of a wooden ruler on paper, ideal for educational themes and measuring concepts.

Frequently Asked Questions

Scroll to Top