Not sure if this is the right section, but i have a conversion question.

Im going to take AP Physics soon, as science is my favorite subject, but math is a bit of a weakness for me and im trying hard to understand and advance, i have a summer packet and after solving the other conversion problems. This has got me stumped i search and i know the answer but the process for getting the answer kind of confusing me basically the question is.

1g/cm^3 to ___kg/m^3 Im sure this is something i will come on a lot in physics. But my main question is, must i use Dimensonal analysis or do just use the usual metric conversion like normal problems. ( like 1g _ kg)