What I want to consider is after obtaining a loan, we start pay back. There is interest added to principle amount then there is monthly pay back installments deducted from principle amount.

Many web sites give calculation formulae but what about finding frequency of interest added to principal amount

Formula to find interest rate (whether they give correct rate, again how do they consider interest added to principal amount – frequency of interest is also a variable.)