# Calculating the Macaulay duration of a floating-rate bond

I am new to the pricing of bonds:

Suppose that I would like to price a floating-rate bond with par value \$100, with maturity at $$T$$ years from now, paying coupons semi-annually. Suppose that $$r_{n-0.5,n}$$ denotes the annual interest rate from time $$n-0.5$$ to time $$n$$, where $$n \in \Pi:=\{ 0.5, 1, \ldots, T-0.5, T\}.$$ For each $$n \in \Pi$$, let the coupon rate $$c_n$$ be defined by $$c_n := \frac{r_{n-0.5,n}}{2}.$$ Let $$r_0:= 7.5 \%$$ and that the yield curve is flat at $$7.5 \%$$ as well. Therefore, the cash-flow of the floating-rate bond is given by Time $$0$$: Payment of \$$$100$$.

Time $$1/2$$: Receipt of \$($$50r_{0,0.5}$$). $$\vdots$$ Time $$T-1/2$$: Receipt of \$($$50r_{T-1,T-0.5}$$).

Time $$T$$: Receipt of \$($$100+50r_{T-0.5,T}$$). I am interested in computing (i) the present value of the bond; (ii) the Macaulay's duration of the bond. First question: Seemingly, by some arguments of replicating portfolio, one can always show that any bond with this structure has present value equal to the par value (page 4 of the following link): http://people.stern.nyu.edu/jcarpen0/courses/b403333/09floater.pdf Therefore, it seems that by the same argument, the present value is \$$$100$$. Is this correct?

Second question:

I am totally lost. By the definition of Macaulay's duration, for any bond with constant yield $$i$$ and coupon payments $$c_{t_1}, \ldots, c_{t_k}$$ at times $$t_1, \ldots, t_k$$ respectively, the Macaulay's duration is defined by $$D= \sum_{j=1}^k t_j \bigg[ \frac{ \frac{c_{t_j}}{(1+i)^{t_j}} }{B} \bigg],$$ where $$B$$ denotes the bond value. This clearly has no use in this problem as the coupon cash-flows are unknown. I notice that there are similar discussions on this theme, but the answer seems impossible to follow for me, e.g.

Duration. Floating rate note

Can anyone write down an explicit formula to compute the duration, as clear as possible, for a beginner like me? Thanks.

• The first coupon payment is known, and this allows you to compute the duration (which will be small). – Alex C Oct 8 '19 at 17:47
• @AlexC Why? Can you please write down the explicit formula? Based on the definition, the coupons at all times have to be used to compute the duration. – Richard Oct 8 '19 at 17:49
• Just set $k=1$ in your formula, i.e. take only the first coupon into account, the others have zero duration since they will be reset as interest rates change. You get $D=-\frac{1}{B}\frac{c_1/2}{(1+i/2)^{t_1}}$ – Alex C Oct 8 '19 at 19:19
• @AlexC What do you mean by “reset”? Why are the other coupons zero? – Richard Oct 9 '19 at 3:05

• Thanks. I have edited my question. The problem with your approach is that the coupon payment streams are unknown, since we do not know the values $r_{n-0.5,n}$.... – Richard Oct 8 '19 at 17:28