Calculating magnetic properties of two-dimensional materials is crucial for implementing memory devices (like USB drive, RAM, hard disk drive of computers) having reduced size. Two dimensional materials can be implemented as a thin film which can reduce the size of memory devices. These materials as well as devices made with magnetic two-dimensional materials are of current research interest in industry and academia. From the materials project database, crystal structure file of 30 two dimensional materials have been downloaded to calculate their magnetic properties. BURAI Quantum espresso software has been used to extract magnetic properties of 30 two dimensional (2D) materials. These 30 materials have magnetic Fe, Ni, Co, Mn, and Cr atoms in their molecular structure. Magnetic materials play a key and vital role in today’s modern-day technology. There are five different types of magnetic materials. The classification magnetic materials are diamagnetism, paramagnetic, ferromagnetism, ferrimagnetism, and anti-ferromagnetism. Total energy of different magnetic configurations has been calculated to find the most stable magnetic configurations of these materials.