A QAPF diagram is a double triangle diagram which is used to classify igneous rocks based on mineralogic composition. The acronym, QAPF, stands for "Quartz, Alkali feldspar, Plagioclase, Feldspathoid (Foid)". These are the mineral groups used for classification in QAPF diagram. Q, A, P and F percentages are normalized (recalculated so that their sum is 100%).