
Here is the formula for calculating a bond’s price, which uses the basic present value (PV) formula:
Bond Price(PV)=C/(1+i)+C/(1+i)2+...+C/(1+i)n+M/(1+i)n
C = coupon payment
n = number of payments
i = interest rate, or required yield
M = value at maturity, or par value