The app Present Value calculates, given four input variables the remaining variable of:
Payment, number of periods, interest rate (IRR), present value, future value.
Just like on a HP 12C.
It can use payments at start or at end of periods.
Also it is able to use annual interest%
Now also APR