In this article we aim to obtain an explicit formula for some distance based graph invariant
of distance-regular graphs. In fact we obtain formulas for Wiener index and its multiplicative
version of a distance-regular graph in terms of its intersection array and its distance partition.