What's the equation for savings growth, that considers contributions? - Personal Finance & Money Stack Exchange most recent 30 from money.stackexchange.com 2019-11-14T21:32:17Z https://money.stackexchange.com/feeds/question/20951 https://creativecommons.org/licenses/by-sa/4.0/rdf https://money.stackexchange.com/q/20951 5 What's the equation for savings growth, that considers contributions? hvgotcodes https://money.stackexchange.com/users/6694 2013-03-04T02:03:15Z 2016-02-15T06:10:37Z <p>I'm looking for the equation that basically works like this</p> <p>"Assuming you have X saved, and save Y more a year, and your savings grow at Z percent, you will have S after T years."</p> https://money.stackexchange.com/questions/20951/-/20953#20953 10 Answer by Dilip Sarwate for What's the equation for savings growth, that considers contributions? Dilip Sarwate https://money.stackexchange.com/users/5760 2013-03-04T03:54:26Z 2013-03-04T03:54:26Z <p>If </p> <ul> <li><p>$X is the amount saved as of the beginning of the time period, </p></li> <li><p>$Y is the amount contributed at fixed intervals of time (once a month, once a quarter, once a year, whatever), and the contribution is made at the end of the interval</p></li> </ul> <p>and</p> <ul> <li>during each such interval, the earnings on the account are 100z% <em>for that time period</em>,</li> </ul> <p>then, </p> <ul> <li><p>at the end of the first interval, the account will have $X(1+z)+Y in it</p></li> <li><p>at the end of the second interval, the account will have$(X(1+z)+Y)(1+z)+Y = X(1+z)^2 + Y(1+z) + Y in it</p></li> <li><p>at the end of the third interval, the account will have<br> \$(X(1+z)^2+Y(1+z)+Y)(1+z)+Y = X(1+z)^3 + Y(1+z)^2 + Y(1+z) + Y in it</p></li> </ul> <p>money.SE does not support MathJax and so additional math gets messier, but some people may have recognized the calculations as being the same as what is called <a href="http://en.wikipedia.org/wiki/Horner%27s_method">Horner's rule or Horner's method</a> for evaluating a polynomial. The polynomial in question is a polynomial with variable t given by</p> <p>Xt^n + Yt^{n-1} + Yt^{n-2} + .... + Yt + Y</p> <p>and it is evaluated at t = 1+z. Note that if the periodic contributions are variable instead of being fixed, this is easily accommodated by changing the appropriate coefficient of the polynomial. On the other hand, for fixed contributions, the polynomial in question can be expressed</p> <p>Xt^n + Y(t^n - 1)/(t-1)</p> <p>which, when evaluated as t = 1+z gives</p> <p>X(1+z)^n + Y((1+z)^n-1)/z</p> <p>as the amount that one will have after n time intervals have elapsed.</p>