As the amount of oxygen and silica in the molten matter is high, it is ideal to classify it into different types depending on its silica content. The four different types of magma, broadly categorized on the basis of silica content are Ultramafic, Mafic, Intermediate, and Felsic.