Convert into kilograms.
Write down the two prefix relationships separately. The prefix milli means one thousandth and the prefix kilo means one thousand:
Going from milligrams to kilograms crosses two prefix steps, which is why a single factor of is not enough.
Chain them into one conversion factor. Multiplying the two relationships:
So one milligram is a millionth of a kilogram.
Set up dimensional analysis so the units cancel visibly. Multiply the given quantity by the factor written as a fraction with mg on the bottom:
Writing it this way is a built-in check: if the unit you want does not survive the cancellation, the factor was upside down.
Cancel and evaluate. The mg units divide out, leaving
Sanity-check the direction of the change. A kilogram is a much bigger unit than a milligram, so the same mass must be a much smaller number of kilograms — and is indeed far smaller than . If you had got , the conversion factor was inverted.
Need to solve a different problem like this? Open the solver →