The Macaulay duration calculates the weighted average time before a bondholder would receive the bond's cash flows. Conversely, modified duration measures the price sensitivity of a bond when there is a change in the yield to maturity.