What is the formula for mg to cc conversion?

You cannot directly convert milligrams (mg) to cubic centimeters (cc). The milligram is a unit of mass (or weight), whereas the cubic centimeter is a unit of volume. You can convert milliliters, however, to cubic centimenters. In fact, they are equivalent; that is, 1 ml = 1 cc.