You need to transfer the calculation to the active contract by approval process. The approval process is designed for you by standard way, however you can shorten the process and skip some parts of the workflow if needed.
Note that from the status Approved the loan is taken as a Contract.
https://www.youtube.com/watch?v=Ylim8xae2z0&feature=youtu.beFollow up:
How to create calculation in general