Frontier Molecular Orbitals
HOMO-LUMO gap from a real DFT calculation
Looking for a HOMO-LUMO gap calculator? Most web tools require you to manually enter orbital energies into a simple subtraction formula. ChemDFT performs a genuine quantum mechanical electronic structure calculation to determine real canonical orbital eigenvalues.
Sign in with Google. No credit card required. Free for researchers during the beta.
What you can run, and the limits
ChemDFT provides hosted cloud compute for quantum chemistry and materials modeling within strictly defined, transparent boundaries. Calculations execute in isolated Linux worker environments on Amazon Web Services (AWS) pilot hardware, automatically provisioning on demand and shutting down after approximately fifteen minutes of idle time. Because computational resources are shared and free during the beta, hosted system size limits are modest and strictly enforced before submission.
For molecular quantum chemistry using PySCF 2.14.0, the hosted size limit is 12 atoms for geometry optimisation and molecular orbital calculations, and 6 atoms for harmonic vibrational frequencies and time-dependent DFT (TDDFT). For semi-empirical calculations using xTB 6.7.1, the hosted limit is 50 atoms. For conformational search using CREST 3.0.2, the hosted limit is 12 atoms for neutral singlet hydrocarbons and oxygenates. For periodic solid-state calculations using Quantum ESPRESSO 7.6 or periodic PySCF, the unit cell limit is 20 atoms.
ChemDFT does not replace high-performance computing clusters or supercomputers for large macromolecules, heavy polymers, or broad crystal supercells. Every result is provided as a transparent research aid that researchers must independently check and verify before publication. The artificial intelligence assistant plans workflows and explains findings, but it never writes, interpolates, or modifies a numerical calculation result.
Hosted molecular orbital calculations run via PySCF 2.14.0 and are capped at 12 atoms for closed-shell and open-shell molecules. Supported basis sets include STO-3G, 6-31G, def2-SVP, and def2-SVPD, with HF, B3LYP, and PBE functionals.
What are HOMO, LUMO, and the frontier orbital gap?
In frontier molecular orbital theory, pioneered by Kenichi Fukui and Roald Hoffmann, chemical reactivity and electronic properties are predominantly governed by the electrons in the outermost boundary orbitals. The Highest Occupied Molecular Orbital (HOMO) represents the least tightly bound valence electrons and acts as an electron donor during nucleophilic reactions. The Lowest Unoccupied Molecular Orbital (LUMO) represents the lowest vacant energy level available to accept incoming electron density during electrophilic attack.
The HOMO–LUMO energy difference (ΔE = E_LUMO - E_HOMO) provides a fundamental qualitative metric of molecular chemical hardness, kinetic stability, and electronic polarizability. Molecules with a large frontier orbital gap (such as noble gases, saturated alkanes, and water) are chemically inert and require substantial excitation energy. Conversely, molecules with a narrow frontier orbital gap (such as conjugated polyenes, dyes, and organic semiconductors) exhibit high chemical reactivity, soft electronic clouds, and absorption wavelengths in the near-UV or visible spectrum.
Formula calculators vs. genuine quantum chemical calculations
A common point of confusion among students and researchers searching for a 'HOMO-LUMO calculator' is the difference between a trivial arithmetic formula and a genuine scientific calculation. A formula calculator takes numbers that you already know—for example, experimental ionization potentials, cyclic voltammetry redox potentials, or pre-computed eigenvalue numbers—and calculates the arithmetic difference: ΔE = E_LUMO - E_HOMO.
That arithmetic difference is not an electronic structure calculation. To obtain those frontier orbital eigenvalues from scratch, a computational chemistry engine must solve the self-consistent field (SCF) equations for the specific nuclear geometry, charge, and spin state of the molecule. ChemDFT is a genuine computational engine: you provide the 3D molecular structure (or draw it in the built-in Ketcher editor), choose an electronic method and basis set, and ChemDFT calculates the self-consistent electron density, Hamiltonian matrix, and orbital eigenvalues in an isolated worker.
Real stored water calculation: proof from the ChemDFT repository
To demonstrate how genuine orbital energies appear in ChemDFT, consider the authentic stored calculation of a water molecule (H2O) exported directly from the ChemDFT test environment:
• System: Water · restricted Hartree–Fock / STO-3G, neutral singlet (10 electrons: 5 alpha, 5 beta).
• Electronic Method: Restricted Hartree-Fock with the STO-3G basis set (7 basis functions, 7 molecular orbitals).
• Engine: PySCF 2.14.0 on arm64 architecture, converged in 7 SCF iterations (threshold 1×10⁻¹⁰).
• Total Ground-State Energy: -74.962928 Hartree.
• HOMO (Orbital #5): -0.391245 Hartree (-10.646 eV).
• LUMO (Orbital #6): 0.605674 Hartree (16.481 eV).
• Calculated Frontier Gap: 0.996919 Hartree (27.128 eV).
Every number listed above is read directly from reference/water-run-record.json in the repository and verified by automated unit tests. ChemDFT records the exact input hash (36708789755c9bf2...) and result hash (f459d51b96f53253...) so that any calculation can be cited, checked, and audited.
| Quantity | Calculated Value (Hartree) | Calculated Value (eV) | Provenance / Details |
|---|---|---|---|
| Total Ground-State Energy | -74.962928 Ha | — | PySCF 2.14.0, RHF/STO-3G, 7 SCF iterations |
| HOMO (Orbital #5) | -0.391245 Ha | -10.646 eV | Occupied alpha orbital (5 alpha electrons) |
| LUMO (Orbital #6) | 0.605674 Ha | 16.481 eV | Lowest unoccupied alpha orbital |
| Frontier Energy Gap (ΔE) | 0.996919 Ha | 27.128 eV | Orbital-energy difference (not optical excitation) |
Scientific caveat: orbital gap vs. optical excitation energy
In rigorous physical chemistry, it is essential to distinguish between a ground-state Kohn–Sham or Hartree–Fock orbital eigenvalue difference and a measurable optical bandgap or UV/Vis absorption wavelength. The Kohn–Sham HOMO–LUMO gap represents single-particle orbital energies derived from the ground-state Hamiltonian. It neglects electron-hole Coulomb attraction, exchange interaction, and orbital relaxation upon electronic excitation.
Under Koopmans' theorem in Hartree–Fock theory, orbital energies approximate vertical ionization potentials and electron affinities, but the eigenvalue difference systematically overestimates optical excitation energies. In standard Kohn–Sham DFT using semilocal functionals (such as PBE or B3LYP), the eigenvalue gap often underestimates optical gaps due to self-interaction errors. For true optical transition energies, researchers should utilize Time-Dependent DFT (TDDFT), which ChemDFT supports for molecules up to 6 atoms.
Frequently Asked Questions
Does ChemDFT calculate the HOMO-LUMO gap from my molecule, or do I enter numbers?
ChemDFT calculates the orbital gap from your molecular geometry. You draw or upload your molecule, choose your method and basis set, and PySCF calculates the real self-consistent orbital eigenvalues.
Is the HOMO-LUMO gap identical to the UV/Vis absorption peak?
No. The HOMO-LUMO gap is an orbital eigenvalue difference. It does not account for electron-hole binding or orbital relaxation during excitation. For spectroscopic excitation energies, use ChemDFT's TDDFT task.
Can I inspect the spatial shape of the molecular orbitals?
Yes. ChemDFT generates molecular orbital coefficients and allows you to inspect orbital occupations, energies, and symmetry labels directly within the scientific workstation.
What is the largest molecule I can calculate orbital energies for?
On ChemDFT's hosted cloud workers, molecular orbital calculations with PySCF are capped at 12 atoms to preserve interactive performance for all researchers during the free beta.