One of the most important properties of magma is viscosity, or the resistance of magma to flow when subjected to a force. Viscosity is measured in the units of Poise and there is a tremendous range displayed by magmas erupted on Earth. In general, the viscosity of magma increases as the silica content increases from basalt to rhyolite. Magmatic viscosities are much larger than fluids that we are familiar with, such as water or olive oil (see figure to right for comparison).

The large range of magmatic viscosities is related to differences in the structure of magmas at the molecular level, which varies as a function of silica content. Magmas are fluids but they possess structure in the form of silicon-oxygen building blocks, that are linked together to form tetrahedra. Magmas that are rich in silicon form many linked tetrahedra that result in the polymerization of the liquids. The bonds that form between shared oxygen atoms are strong, thus giving the liquid strength and high viscosity. Lower silica magmas have higher contents of anions such as Ca, Mg and Fe that form weaker bonds and inhibit the development of strongly linked silicon tetrahedron. Therefore low-silica magmas have a lower viscosity.

Structure of silicon tetrahedron (A and B) and the linkage of two tetrahedron by sharing an oxygen (C)
View viscosity comparison
Magma viscosity is also influenced by the temperature and gas content. Decreasing temperature results in a dramatic increase in viscosity (see below left). Thus as magma is erupted at the Earth's surface it immediately starts to cool and becomes more viscous. Dissolved gases such as water and carbon dioxide tend to decrease the amount of polymerization in magma, resulting in a decrease in viscosity compared to gas-free magma (see below right).