The energy of the orbitals of the hydrogen atom is given by:
En = -2.1799 x 10-18 1n2​​​
En (in J) = energy of the orbital n
n = 1, 2, 3 ... = orbital number