When a part of the earth's upper mantle or lower crust melts, magma forms. A volcano is essentially an opening or a vent through which this magma and the dissolved gases it contains are discharged. Although there are several factors triggering a volcanic eruption, three predominate: the buoyancy of the magma, the pressure from the exsolved gases in the magma and the injection of a new batch of magma into an already filled magma chamber. What follows is a brief description of these processes.
As rock inside the earth melts, its mass remains the same while its volume increases--producing a melt that is less dense than the surrounding rock. This lighter magma then rises toward the surface by virtue of its buoyancy. If the density of the magma between the zone of its generation and the surface is less than that of the surrounding and overlying rocks, the magma reaches the surface and erupts.
Magmas of so-called andesitic and rhyolitic compositions also contain dissolved volatiles such as water, sulfur dioxide and carbon dioxide. Experiments have shown that the amount of a dissolved gas in magma (its solubility) at atmospheric pressure is zero, but rises with increasing pressure.
For example, in an andesitic magma saturated with water and six kilometres below the surface, about 5 percent of its weight is dissolved water. As this magma moves toward the surface, the solubility of the water in the magma decreases, and so the excess water separates from the magma in the form of bubbles. As the magma moves closer to the surface, more and more water exsolves from the magma, thereby increasing the gas/magma ratio in the conduit. When the volume of bubbles reaches about 75 percent, the magma disintegrates to pyroclasts (partially molten and solid fragments) and erupts explosively.
The third process that causes volcanic eruptions is an injection of new magma into a chamber that is already filled with magma of similar or different composition.