Specific gravity is defined as the ratio of the density of a substance to the density of a standard substance, making it a dimensionless quantity.