When you calculate the price of a bond, you are determining the maximum price you would want to pay for the bond, based on how its coupon rate compares to the average rate most investors are currently receiving in the bond market.

To calculate a bondâ€™s price, we can use the basic present value (PV) formula to sum all present values of all future cashflows:

where is the bond’s value at maturity (par value). When the periodic payments are all the same, we can rewrite it as follows:

This bond-pricing formula can be tedious to calculate because you have to add the present value of each future coupon payment. We can use the present value of ordinary annuity formula:

**Proof**

Consider the following sum of future cash flows discounted to present value:

Since the periodic payments are all the same, the formula is considered a geometric series:

with and

I have already proved the how to derive the perpetuity formula. We know that the sum of the first terms of a geometric sequence is:

For our case

with and .

Since we are calculating a bond price we need to also add the discounted principle, that we get after periods so the final formula is: