Macaulay duration and modified duration are both termed “duration” and have the same (or close to the same) numerical value, but it is important to keep in mind the conceptual distinctions between them. Macaulay duration is a time measure with units in years, and really makes sense only for an instrument with fixed cash flows. For a standard bond the Macaulay duration will be between 0 and the maturity of the bond. It is equal to the maturity if and only if the bond is a zero-coupon bond.
Modified duration, on the other hand, is a derivative or price sensitivity and measures the percentage rate of change of price with respect to yield. (Price sensitivity with respect to yields can also be measured in absolute (dollar) terms, and the absolute sensitivity is often referred to as dollar duration, DV01, PV01, or delta (δ or Δ) risk.) The concept of modified duration can be applied to interest-rate sensitive instruments with non-fixed cash flows, and can thus be applied to a wider range of instruments than can Macaulay duration.