The loan formulas are derived from the future value formula for a savings plan and the present value formula for a single investment at compound interest..