This quantity may be convenient for materials that are commonly measured by volume rather than mass, as is often the case in engineering and other technical disciplines. The volumetric heat capacity often varies with temperature, and is different for each state of matter. While the substance is undergoing a phase transition, such as melting or boiling, its volumetric heat capacity is technically infinite, because the heat goes into changing its state rather than raising its temperature.