I tried to calculate the formation energy of ABO3 perovskite from the total energy listed in the materials project, but the calculated results do not match the values in the database.
For example, in the case of LaNiO3 (mp-19339), the total energy is -66.26 eV = -6.626 eV/atom, and the composition elements La, Ni and O are -4.9275 eV/atom, -5.78 eV/atom and -4.9483 eV/atom respectively, so should be able to be calculated as
(-6.626 * 5 + 4.9275 + 5.78 + 4.9483 * 3) / 5 = -1.51552 eV/atom
However, on the materials project, the formation energy of LaNiO3 is -2.469 eV/atom.
Thank you for your response.
I checked the link and generally understood it.
However, I am not sure how the formation energy of -2.469 eV/atom for LaNiO3 on the materials project was calculated and using which calculation method.