The speed of sound v in a homogeneous liquid or gas is dependent on the fluid's mass density ( ρ {\displaystyle \rho } ) and Adiabatic Bulk modulus ( K {\displaystyle K} ), according to the Newton-Laplace formula: