Density is the mass packed into each unit of volume.
Find the mass on a balance and the volume from the measured dimensions.
V = l × w × hThen use ρ = m / V.
Find an awkward volume by displacement.
An object floats if it is less dense than the fluid, and sinks if it is denser.