Density and amount calculations