Linear Interpolation Calculator – Calculate Values Between Two Points

y = y1 + (x - x1) × (y2 - y1) / (x2 - x1)
Point 1 (x1, y1)
Point 2 (x2, y2)
Display Settings
Interpolated Value (y)
50.00
Interpolation Visualization

Linear Interpolation Calculator

A linear interpolation calculator estimates unknown values between two known data points using straight-line approximation. This mathematical technique assumes a constant rate of change between the given points, making it ideal for finding intermediate values in datasets, scientific measurements, and engineering calculations.

Linear Interpolation Formula
y = y1 + (x - x1) × (y2 - y1) / (x2 - x1)

Where (x1, y1) and (x2, y2) are the two known points, x is the input value for interpolation, and y is the calculated interpolated result. The calculator provides precise results with customizable decimal places and number formatting options.

Usage Examples
Temperature vs Time:
Point 1: (0°C, 32°F), Point 2: (100°C, 212°F)
Find temperature at 25°C → 77°F
Pressure vs Depth:
Point 1: (0m, 1atm), Point 2: (10m, 2atm)
Find pressure at 6m → 1.6atm
Speed vs Fuel Consumption:
Point 1: (50km/h, 8L/100km), Point 2: (90km/h, 12L/100km)
Find consumption at 70km/h → 10L/100km
Voltage vs Current:
Point 1: (2V, 0.5A), Point 2: (10V, 2.5A)
Find current at 6V → 1.5A
Distance vs Time:
Point 1: (0min, 0km), Point 2: (60min, 120km)
Find distance at 25min → 50km
Concentration vs pH:
Point 1: (0.1mol/L, 1pH), Point 2: (1mol/L, 0pH)
Find pH at 0.4mol/L → 0.67pH
Force vs Extension:
Point 1: (10N, 2cm), Point 2: (50N, 10cm)
Find extension at 30N → 6cm
Frequency vs Wavelength:
Point 1: (100Hz, 3000m), Point 2: (1000Hz, 300m)
Find wavelength at 400Hz → 1200m
Density vs Temperature:
Point 1: (0°C, 1000kg/m³), Point 2: (100°C, 958kg/m³)
Find density at 40°C → 983.2kg/m³
Flow Rate vs Pipe Diameter:
Point 1: (2in, 50gpm), Point 2: (6in, 450gpm)
Find flow at 4in → 250gpm
Calculator Features
  • Input two known coordinate points (x1, y1) and (x2, y2)
  • Enter the x-value for which you need the interpolated y-value
  • Adjustable decimal precision from 0 to 6 decimal places
  • Multiple thousands separator options (none, comma, space)
  • Visual graph representation showing interpolation line and points
  • Real-time calculation updates as input values change
  • Error handling for invalid inputs (when x1 = x2)