A factor of one
Use g/cm³ = g/mL × 1. The starting 10 g/mL gives 10 g/cm³, and an illustrative 1.25 g/mL gives 1.25 g/cm³.
Why the numbers match
One milliliter and one cubic centimeter are the same volume in this converter, so only the label changes.
Other density units
For kg/m³, the density converter gives 1 g/cm³ as 1,000 kg/m³. The converter changes units only and does not measure a substance.