Feb 13, 2008· Best Answer: You can't convert ml to mg because ml is a unit of volume and mg is a unit of mass. It is impossible to convert between units that have dissimilar dimensions. However, if you are asking about 400 mg of a particular substance with a known density, p, then you can use the formula V = m/p, where V is volume and m is mass.