How do you convert grams per square meter to kg per cubic meter?

Grams are a measure of weight, a square meter is a measure of area, and a cubic meter is a measure of volume. These are not comparable.