How to use this calculator
- Enter X of point 1。
- Enter Y of point 1 ($)。
- Enter X of point 2。
- Enter Y of point 2 ($)。
- Enter Target X。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Interpolated Y。
What is it
Linear Interpolation — Enter X of point 1, Y of point 1, X of point 2, Y of point 2 and Target X to get Interpolated Y — or leave any field blank to solve for it. Personal-finance calculators link income, spending and savings goals to answer "can I afford it", "how long will it take" and "how much should I set aside". The core question it answers is: Interpolated Y. With X of point 1 = 10, Y of point 1 = 100 $ and X of point 2 = 30, Interpolated Y is 164 $.
Formula
| Variable | Inputs | Unit |
|---|---|---|
x1 | X of point 1 | |
y1 | Y of point 1 | $ |
x2 | X of point 2 | |
y2 | Y of point 2 | $ |
x | Target X | |
y | Interpolated Y | $ |
y1 + (y2 - y1) * (x - x1) / (x2 - x1)The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- X of point 1 = 10
- Y of point 1 = 100 $
- X of point 2 = 30
- Y of point 2 = 260 $
- Target X = 18
Formula used: y1 + (y2 - y1) * (x - x1) / (x2 - x1)
Answer:
- Interpolated Y = 164 $
Example 1 (default inputs):Suppose X of point 1 = 10, Y of point 1 = 100 $, X of point 2 = 30, Y of point 2 = 260 $, Target X = 18; then giving Interpolated Y = 164 $.
Example 2 (one input changed):If you change X of point 1 to 15,giving Interpolated Y = 132 $.
Additional information
Assumptions and limitations
- Results are only as good as your assumptions (inflation, return, horizon) and are sensitive to them. Run both a conservative and an optimistic set of inputs and read the range, not the point.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.