Duration analysis measures the average life of a financial instrument and how sensitive it is to interest rate changes. It involves comparing the duration of individual assets and liabilities, with duration defined as a weighted average lifetime that gives a direct measure of interest rate sensitivity. A bank's duration gap is determined by taking the difference between the duration of its assets and liabilities, using weighted averages of the durations. While duration gap analysis helps assess interest rate risk, it has limitations including difficulty finding assets and liabilities of exactly the same duration and uncertainty around cash flows from some accounts.