why is electrostatic potential constant throughout the volume of the conductor and has the same value(as inside) on its surface??

see the equation V=1/4piepsilonzero*q/r

here every term except r is constant..for any point on a suraface for eg;spherical surface r that is radius remains same..so it remains constant