When to use Linear Interpolation Calculator
Estimate a y-value between two known points on a straight line.
Apply the calculation to a diagram, coordinate problem or measurement task with the same geometric assumptions.
How to use this tool
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- x₁
- y₁
- x₂
- y₂
- Target x
How it works
Find the fraction of the horizontal distance from x₁ to x₂, then use that fraction of the change from y₁ to y₂.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
- x₁
- 1
- y₁
- 2
- x₂
- 7
- y₂
- 10
- Target x
- 4
- Result
- 6
Understanding the result and its limits
Choose the correct shape and dimensions. Area uses squared units and volume uses cubed units; neither is a length.
Frequently asked questions
How should I check a geometric answer?
Sketch the shape, label the inputs and check units. A result for an ideal shape may not describe an irregular real object.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: basic geometry and measurement