Highest occupied energy level & lowest occupied energy level

I need your collaboration, how can I calculate the values ​​associated with Highest occupied energy level and lowest occupied energy level or if I can find them in the material project database