The formula for calculating your earned interest is P x R x T, where P is your principal amount/starting balance, R is your interest rate and T is the number of time periods (e.g. months or years).