We can measure the portfolio duration by calculating the weighted average of the duration of the bonds in the portfolio. The proportion of the portfolio that a security comprises can be considered as weights. Portfolio duration can be represented as:
w1D1 + w2D2 + w3D3 + .........wKDK
wi = Market value of bond i/market value of the portfolio.
Di = Duration of bond i.
K = Number of bonds in the portfolio.
Calculating the rupee price change for a given number of basis points for each security in the portfolio and then adding all the price changes can be considered as an alternative procedure for calculating the duration of a portfolio. The portfolio duration can be arrived at by adjusting the percentage price change that is obtained by dividing the total of the price changes by the initial market value of the portfolio.