Simple interest is calculated by multiplying the principal amount by the annual interest rate and time in years. Compound interest is calculated using the compound interest formula, which takes into account interest earned on prior interest. Several examples are provided to demonstrate calculating simple and compound interest for scenarios involving loans, investments, credit cards, and savings accounts over various periods of time.