An interest calculator is a tool used to determine the amount of interest earned or paid on a principal amount over a specific period of time. It calculates either simple interest (based on the initial amount) or compound interest (based on the principal and accumulated interest). The key variables are the principal amount, interest rate, time period, and type of interest (simple or compound).