HOMO–LUMO calculator

Compute the HOMO–LUMO gap of a molecule with GFN2-xTB in seconds, in the gas phase or in implicit solvent, and run DFT in Psi4 when you need a higher level of theory. Start from a 3D structure, or generate one from SMILES first.

OO
Benzoic acid · ChEMBL CHEMBL541

What the calculator computes

The highest occupied molecular orbital (HOMO) and the lowest unoccupied molecular orbital (LUMO) frame a molecule's chemistry: the HOMO gives up electrons, the LUMO accepts them, and the gap between them tracks stability, reactivity and where a molecule starts to absorb light.

Inputs

  • 3D structure (XYZ, SDF/mol or PDB); from SMILES, generate a conformer first with OpenConf or RDKit
  • Total charge and number of unpaired electrons
  • xTB parametrisation (GFN0, GFN1 or GFN2) and optional ALPB implicit solvent
  • For DFT in Psi4: method (for example B3LYP) and basis set

Outputs

  • HOMO–LUMO gap in eV (xTB)
  • Total energy, dipole moment, partial charges and bond orders (xTB)
  • Optimised 3D geometry from xTB or Psi4
  • DFT total energy in Psi4, with orbital data from the wavefunction

How the HOMO–LUMO gap is calculated

The gap comes out of a self-consistent field (SCF) calculation on a 3D geometry. Vecura runs each step as a job and keeps every input and output in your project.

  1. Step 1

    Get a 3D structure

    Upload XYZ, SDF or PDB coordinates, or generate a conformer from a SMILES string with OpenConf or RDKit.

  2. Step 2

    Relax the geometry

    Optimise the structure with xTB, or with DFT in Psi4, so the electronic structure describes a minimum rather than a guessed geometry.

  3. Step 3

    Solve the electronic structure

    GFN2-xTB solves a tight-binding Hamiltonian, typically in seconds for a drug-sized molecule, and reports the HOMO–LUMO gap. Psi4 runs Kohn–Sham DFT at the method and basis set you choose.

  4. Step 4

    Interpret the gap

    The gap is E(LUMO) − E(HOMO). Compare it across related molecules computed with the same method rather than reading it as an absolute value.

The gap depends on the method. xTB gaps are best used to rank related molecules, and DFT gaps from common hybrid functionals are smaller than the fundamental gap (IP − EA). To compute the vertical ionisation potential and electron affinity themselves, use the redox potential calculator.

Questions researchers ask

The HOMO (highest occupied molecular orbital) is the highest-energy orbital that holds electrons; the LUMO (lowest unoccupied molecular orbital) is the lowest-energy orbital that is empty. Together they are the frontier orbitals: most reactions, charge transfer and the lowest electronic excitation involve them.

Build a 3D geometry, optimise it, and run an SCF calculation (semi-empirical such as GFN2-xTB, Hartree–Fock or DFT); the LUMO is the lowest unoccupied orbital of the converged result. Use the same method and basis for every molecule you compare. On Vecura, the xTB tool reports the HOMO–LUMO gap of each run.

Use GFN2-xTB to screen and rank many molecules quickly; a calculation on a drug-sized molecule typically takes seconds rather than the minutes to hours of DFT. Use DFT in Psi4 for the shortlist, or whenever you need a level of theory you can compare with literature calculations.

Where the HOMO has large lobes is where the molecule is most electron-rich and most likely to react with an electrophile or be oxidised. A higher (less negative) HOMO energy means electrons are easier to remove. The LUMO shows where an incoming nucleophile or extra electron goes.

The orbital gap is not an excitation energy. Optical gaps include electron–hole attraction and are usually computed with TD-DFT, while ground-state gaps depend strongly on the method. Use the orbital gap for trends, not to predict an absorption wavelength.

You can start on Vecura's Free plan, which includes 50,000 tokens per organisation every 30 days and one simultaneous job per seat. How many tokens a job uses depends on the method and the size of the molecule; paid plans and academic verification add more tokens. See the pricing page for current plans.

Run the calculation, keep the whole record.

Describe what you need or pick the tool yourself. Vecura runs the job, keeps inputs, outputs and settings in your project, and Vee, the AI co-scientist, can compare results across molecules.