Viscosity is included in the quantification by an ultrasound imaging system. The log of a spectrum of displacement as a function of time is determined for each of various locations subjected to a shear or other wave. Solving using the log as a function of location provides the complex wavenumber. Various viscoelastic parameters, such as loss modulus and storage modulus, are determined from the complex wavenumber.