HOMO–LUMO calculator

Find the HOMO, the LUMO and the gap of a conjugated molecule with Hückel theory, right here with no account. For real orbital energies, compute the HOMO–LUMO gap with GFN2-xTB in seconds or run DFT in Psi4 in Vecura.

Hückel π orbitals

HOMO
α + 0.618β
LUMO
α − 0.618β
Gap
1.236 |β|
π energy
4α + 4.4721β
αα + 1.618βHOMOα + 0.618βLUMOα − 0.618βα − 1.618β

4 π electrons. β is negative, so α + xβ with larger x is lower in energy. Hückel theory is qualitative: use it for trends and symmetry, and xTB or DFT below for real orbital energies.

What runs where

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

In your browser (Hückel)

  • π orbital energies as α + xβ for polyenes, annulenes, naphthalene, styrene and ions
  • HOMO, LUMO, HOMO–LUMO gap in units of |β| and total π energy
  • Energy-level diagram with electron filling, including degenerate and open-shell cases
  • Nothing is sent anywhere: the maths runs on your device

In Vecura (xTB, DFT)

  • HOMO–LUMO gap in eV for any molecule from a 3D structure (GFN2-xTB), in gas phase or implicit solvent
  • Total energy, dipole moment, partial charges and bond orders (xTB)
  • DFT at the functional and basis set you choose, with orbital data from the wavefunction (Psi4)
  • Optimised 3D geometry; start from SMILES with a conformer from RDKit or OpenConf

How the HOMO–LUMO gap is calculated

With any method, the orbitals come out of a self-consistent field (SCF) calculation on a geometry, and the gap is E(LUMO) − E(HOMO).

  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

    Compare gaps across related molecules computed with the same method rather than reading one as an absolute value.

The gap depends on the method. Hückel gaps are in units of β and only rank conjugated systems; xTB gaps are best used to rank related molecules; 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.

Hückel theory in three equations

The calculator above uses simple Hückel molecular orbital theory, the classic way to find the HOMO and LUMO of a conjugated molecule by hand.

The Hückel matrix

det(H − E·S) = 0, H_ii = α, H_ij = β if bonded

Each sp² carbon contributes one p orbital. The Hamiltonian has α on the diagonal and β between bonded atoms, zero otherwise. Its eigenvalues give the π orbital energies.

Chains and rings

chain: x_k = 2cos(kπ/(N+1)); ring: x_k = 2cos(2πk/N)

Linear polyenes and rings have closed-form energies. Butadiene: α ± 1.618β and α ± 0.618β, so the HOMO–LUMO gap is 1.236|β|. Benzene's gap is 2|β|.

Filling the orbitals

E = α + xβ, β < 0

Fill N π electrons (one per carbon, minus the charge) from the lowest level, two per orbital, singly first across degenerate ones. The highest filled level is the HOMO, the next empty one the LUMO.

Compute real orbital energies in Vecura

Hückel ranks conjugated systems; for any molecule, compute the gap from a 3D structure with xTB, or run DFT in Psi4.

  • xTBHOMO–LUMO gap, charges and bond orders in secondsOpen xTB
  • Psi4DFT energies and orbitals at your chosen level of theoryOpen Psi4

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.

For a conjugated hydrocarbon, Hückel theory gives it by hand or with the calculator above: build the Hückel matrix, find its eigenvalues, fill the π electrons, and the first empty level is the LUMO. For a quantitative value, optimise a 3D geometry and run an SCF calculation (GFN2-xTB, Hartree–Fock or DFT); the LUMO is the lowest unoccupied orbital of the result.

Use Hückel to understand orbital ordering, symmetry and trends in conjugated π systems. Use GFN2-xTB to screen and rank many real molecules; it typically takes seconds for a drug-sized molecule. 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.

The Hückel calculator on this page is free and needs no account. Running xTB or Psi4 in Vecura uses tokens: the Free plan includes 50,000 tokens per organisation every 30 days. 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.