Understanding Electron Location in Computational Chemistry

The moment you stop treating electrons like little balls with definite positions and start thinking in terms of probability densities, everything clicks. This is the Electron Eureka Moment Unraveling The Mystery Of Electrons Located, and honestly it takes most people longer than it should because textbooks keep showing you Bohr diagrams even after they've spent two chapters on wave functions. Electrons don't have locations in the classical sense. They have wavefunctions, and the square of that wavefunction gives you a probability density. That's it. The mystery isn't that we can't measure where an electron is — it's that the concept of "where" breaks down entirely for bound electrons. You can measure position, yes, but the act of measurement collapses the wavefunction and you've just destroyed the very thing you were trying to describe. In practice, when I run quantum chemistry calculations, what I'm actually getting is an electron density map. The output tells me where electrons are likely to be found, not where they are. For most purposes this is sufficient. You get bond lengths, partial charges, electrostatic potential surfaces — all derived from the electron density. The density itself comes from integrating the product of the wavefunction with its complex conjugate over all spatial coordinates except one.

Here's something most tutorials skip: the electron density at any point depends heavily on your basis set. I spent three days debugging a reaction barrier calculation last year only to realize the error was a too-small basis set artificially concentrating electron density between atoms. Switching from 6-31G* to def2-TZVP dropped the barrier by 4.2 kcal/mol. Not a subtle change.

How to Actually Work With Electron Densities

Start with a single-point energy calculation using a decent functional and a triple-zeta basis set. Don't overthink the functional choice for density analysis — B3LYP or wB97X-D both work fine for visualizing electron distribution. What matters more is having enough angular momentum functions and diffuse functions if you're dealing with anions or Rydberg states. The workflow I use is straightforward: 1. Geometry optimization with your chosen method and basis set. Use tight convergence criteria — loose optimizations can leave residual forces that distort the electron density near hydrogen atoms.

Get the Full Details

Electron Asymmetry and the Mystery of Matter’s Existence: A Record ...
Electron Asymmetry and the Mystery of Matter’s Existence: A Record ...

2. A single-point calculation on the optimized geometry with a finer integration grid. Standard grids are fine for energies but grainy for density analysis. In Gaussian it's Int=UltraFine. In ORCA it's the default grid anyway. 3. Extract the cube file. This is a 3D grid of electron density values that you can visualize in software like VMD, Gabedit, or Avogadro. The cube file format is uncompressed raw data — don't expect it to be small for anything but the smallest molecules. One edge case that bites people: if your system has unpaired electrons, you need to run a UDFT or UHF calculation and look at the spin density separately from the total electron density. The total density hides the interesting chemistry. I had a case with a ferrous heme intermediate where the total electron density looked perfectly normal but the spin density showed exactly where the reactive site was. Without the spin density plot, I would have completely misread the mechanism.

Interpreting What You're Looking At

Electron density contours are isosurfaces — you pick a value and everything on that surface has the same density. A common default is 0.02 e/bohr³ for molecular shapes, but that's arbitrary. Lower values make the surface larger and fuzzier. Higher values zoom into the core regions. There's no universally correct isovalue. Pick one that shows you what you need to see and move on. Orbitals themselves are another matter. The HOMO and LUMO are the frontier orbitals and they matter for reactivity, but only sometimes. I've seen people treat HOMO-LUMO gaps like they're predictive of everything, which they're not. The gap tells you about kinetic stability in a rough sense, but it says nothing about whether a particular reaction pathway is accessible. That requires looking at the actual transition state and the electron density redistribution along the reaction coordinate. Topological analysis of electron density — AIM theory by Bader — gives you a more rigorous framework than just eyeballing orbitals. Critical points in the density tell you where bonds are, where rings are, where cage structures exist. The bond critical point between two atoms is where the density gradient vanishes along the bond path. If there's no bond critical point between two atoms you're calling "bonded," that bond is probably weak or nonexistent. This catches people out all the time with things like dihydrogen bonds or some of the interactions in coordination complexes.

Common Mistakes

Don't compare electron densities from different basis sets and draw conclusions. A larger basis set will always show more detail — sharper peaks near nuclei, more accurate shapes further out. Comparing a 6-31G result to a cc-pVTZ result and saying one looks "more accurate" without running both at the same level of theory is meaningless. Also don't confuse orbital visualizations with electron density. An orbital plot shows the wavefunction of a single electron in an approximate potential. The actual electron density is a many-body property built from all the occupied orbitals. For Hartree-Fock they're related simply — the density is the sum of squares of all occupied orbitals. For DFT it's the same idea but the orbitals are Kohn-Sham orbitals, which are mathematical constructs rather than physical single-electron states. This distinction doesn't affect your visualizations but it matters when you're interpreting what you're seeing. The biggest practical limitation is that electron density from standard DFT has self-interaction error. This means electrons artificially interact with themselves, which tends to over-delocalize electron density. For transition metal complexes this is particularly problematic — you might see spin density spread across ligands when it should be localized on the metal. Range-separated functionals like wB97X or LC-wPBE reduce this problem but aren't a complete fix. If you're working with systems where self-interaction error is critical, you might need CASSCF or DLPNO-CCSD(T) instead, and those come with computational costs that scale poorly.

Electrons are very round? Electron electric dipole moment is close to ...
Electrons are very round? Electron electric dipole moment is close to ...

Another thing to keep in mind: solvent effects matter for electron density. A gas-phase calculation and a PCM-solvated calculation will give you different density distributions, especially for charged species. If your system is in solution, model it in solution. The difference isn't dramatic for neutral molecules but for ions it can reshape the entire density profile around the solute.

What To Download

For visualizing electron densities, open-source options work fine. VMD handles cube files natively. PyMOL can do it too if you install the cube plugin. If you want something lighter weight, Molden is still the best format converter — it reads nearly every quantum chemistry output format and writes cube files on request. Most major packages (Gaussian, ORCA, GAMESS, Q-Chem) can output Molden-format files directly. If you're doing topological analysis, the AIMAll package is the standard. It's commercial but the trial version handles small systems. The free alternative is the AIM program itself, though the interface is dated and it can be finicky with modern cube files. Either way, the output tells you critical point locations, bond paths, and integrated atomic properties like charge and energy — things you can't reliably get from a picture alone.