Forum Discussion

MSegas's avatar
MSegas
Copper Contributor
May 06, 2023

Why are Excel vs ChatGPT Interest calculations so different?

Hi folks, I am hoping I can get someone to help me clarify why excel is not helping me get the correct answer. I am trying to calculate the interest earn on a Certificate of Deposit with these fact...
  • JoeUser2004's avatar
    May 06, 2023

    MSegas  wrote:  ``Why is excel calculating $10.50 in the first formula?``

     

    Garbage in, garbage out (GIGO)!

     

    In the formula =Principal * ((1 + Rate/12)^(months/12) - 1), you are using a monthly rate Rate/12, but compounding by a number of years months/12.

     

    Change Rate/12 to Rate.

     

    -----

    MSegas  wrote:  ``Why is excel calculating 11,592.80 in the second formula?``

     

    In the formula =FV(Rate,months,0,-Principal,0), you are making a similar, but opposite mistake.  You are using an annual rate, but compounding by a number of months.

     

    Change Rate to Rate/12.

     

    (And format F5 as General so that it shows the number of months, not the bogus date 3-Jan-1900.)

     

    But Formulas 1 and 3 and your chatGPT inquiry calculate just total interest.

     

    In contrast, FV returns the ending balance, which includes the principal.

     

    If you want just the total interest, the formula should be:

     

    =FV(Rate/12,months,0,-Principal,0) - Principal

     

    -----

    MSegas  wrote:  ``Why is excel calculating 10.50 in the third formula?``

     

    Essentially, the same mistake as in Formula 1.

     

    Change Rate/12 to Rate.

     

    -----

    MSegas  wrote:  ``What could be the reason, CD calculator from Bankrate provides a different value?``

     

    With the corrections above, we see 3 difference values for total interest:

     

    118.70  chatGPT

    123.93  Formulas 1 and 3 and Bankrate

    126.78  Formula 2

     

    Off-hand, I believe the difference between 123.93 and 126.78 is due to the different arithmetic methods and approximations of time.

     

    That is, compounding 3 times is not the same as compounding once by 3/12.

     

    As for the chatGPT result....  I suspect that chatGPT is rounding each period result, then summing the rounded values.

     

    In general, the sum of rounded parts is often not the same as the rounded sum of the whole.

     

    I will investigate further to confirm my "off-hand" thoughts.

     

    -----

    A final thought....  All of these methods are just estimates.

     

    Each CD provider calculates and accumulates interest differently.

     

Resources