The exact location of a quantum mechanical particle is impossible to know because of the Heisenberg uncertainty principle. Rather than specifying the location of a particle such as an electron, quantum mechanics specifies a wavefunction. The probability density, which is a mathematical function that specifies the probability of finding the particle at any location in space, is the square of the wavefunction (technically, its absolute value squared).