A stress–strain relation for dry snow in Greenland and Antarctica was derived. When this relation is integrated, it gives snow density as a function of time. For given surface density, temperature, and accumulation, the age of snow layers can be obtained as a function of depth in the snow-pack. Calculations compare well with observations. With some knowledge of the temperature range in the upper layer of the snow-pack, calculation for density versus depth can also be improved over the results where such temperature information was not used.