The CASSCF method can incorporate the necessary static correlation in the system by considering some of the excited state configurations that affect the ground state. The missing dynamic correlation is added via the second-order N-electron valence state perturbation theory (NEVPT2). Since CASSCF wavefunctions are pure spin eigenstates, the value of 2J can be determined directly from the singlet and triplet energies from eq. 1 as,