Although the unit of measurement for density is the kilogram per cubic meter, in practice, due to the fact that this unit of measurement is relatively small, a derived unit, the gram per cubic meter, is often used.
1 gram/cubic meterg/m³ = 1*0.001000000 grams per literg/l