The composition of the magma determines the eruption style, rock type, and volcano shape. Variations in the chemical compositions and properties of the magma determine whether it will be classified as mafic, felsic, or intermediate.