Photoelectric Effect Calculator
Introduction to the photoelectric effect
Shine light on a clean metal surface and, if the color is right, electrons come streaming off it. Slide that color toward the red end of the spectrum and, past a sharp cutoff, the emission stops completely — no matter how bright you make the lamp. That stubborn threshold is the photoelectric effect, and each electron it frees is a photoelectron. It is the experiment that pushed physicists to stop picturing light as a pure wave.
The part that broke classical physics was that brightness did not help below the cutoff. Albert Einstein resolved it in 1905 by treating a beam as a stream of discrete energy packets — photons — each carrying an energy fixed by the light's frequency alone, not its intensity:
Photon energy relation:
Here is the energy of one photon (in joules, J), is Planck's constant, and is the light frequency (in hertz, Hz). Push the frequency up and every individual photon gets more energetic; pile on more photons of the same color and you only change how many electrons can leave, never whether a single one has enough of a kick to escape.
An electron actually escapes only when a photon's energy clears the material's work function — the binding energy that pins electrons inside the metal. This calculator chains these relationships together to report the photon energy, the kinetic energy of the fastest emitted electrons, the frequency threshold below which nothing is ejected, and the stopping voltage you would read off a lab apparatus.
The photoelectric formula, its terms, and constants
The whole calculation rests on one master formula — Einstein's photoelectric equation, which just says the electron's kinetic energy is whatever photon energy is left over after paying the work function. Everything else below is bookkeeping: converting a wavelength or frequency into photon energy, and converting between joules and electronvolts. A handful of physical constants tie it all together.
- Planck's constant:
- Speed of light in vacuum:
- Elementary charge:
- Conversion between joules and electronvolts:
Photon energy from frequency. When the light source is specified by its frequency , the photon energy is a direct multiplication by Planck's constant:
Photon energy from wavelength. Lasers and LEDs are usually labelled by wavelength instead. Since frequency and wavelength are linked by , the same photon energy becomes:
Formula: E = (h c) / λ
Since the calculator expects wavelength in nanometers (nm), the internal conversion is:
- Convert nanometers to meters:
- Then compute:
Work function and threshold frequency. The work function is the minimum energy needed to pry an electron loose from the surface, which you enter here in electronvolts (eV). Set the photon energy exactly equal to it and you land on the threshold frequency , below which no electrons come off at all:
Formula: h ν_0 = φ ⇒ ν_0 = φ / h
Here, is internally converted to joules using the factor .
Electron kinetic energy. This is the heart of the model. Once photon energy clears the work function, whatever is left over becomes the kinetic energy of the fastest emitted electrons:
Formula: K = E - ϕ
If both and are expressed in electronvolts, the relation is especially simple:
Formula: K_eV = E_eV - ϕ_eV
If , the photon energy is too low and no photoelectrons are emitted in the idealized model used here.
Stopping voltage. In a real tube you can apply a reverse voltage that pushes back on the escaping electrons. Crank it up until even the fastest electron is turned around and the current falls to zero — that value is the stopping voltage . It is related to kinetic energy by:
Formula: K = e V_stop
When kinetic energy is expressed in electronvolts, it is numerically equal to the stopping voltage in volts:
Formula: K_eV = V_stop (V)
The calculator reports this stopping voltage so you can connect the abstract energy values to a measurable electrical quantity.
How to Use the Photoelectric Effect Calculator
This tool is designed for quick exploration of how different materials and light sources influence photoelectron emission. You can use it for classroom demonstrations, homework checks, or simple lab planning.
- Enter the work function in eV.
- Typical metallic work functions are between about 2 eV and 5 eV.
- Use a value from a textbook, data table, or your experiment notes.
- Provide either the light frequency in Hz or the wavelength in nm.
- You may enter frequency if that is how your light source is specified.
- You may instead enter wavelength in nanometers, which is common for lasers and LEDs.
- If you know both, you only need to enter one; the calculator can work from either input.
- For very large or small values, you can use scientific notation, such as
5e14Hz or400nm.
- Run the calculation. The tool computes photon energy, kinetic energy, and the corresponding stopping voltage.
The main outputs you should expect are:
- Photon energy in joules (J) and electronvolts (eV)
- Kinetic energy of emitted electrons in electronvolts (eV)
- Stopping voltage in volts (V), which equals the kinetic energy in eV in this ideal model
- An indication of whether emission occurs at all (if the photon energy is below the work function, kinetic energy is taken as zero and no photoelectrons are predicted)
Worked example: violet light on sodium
Here is the full chain the calculator runs, worked by hand so you can check it. Aim violet light at a sodium surface (approximate work function) with violet light of wavelength .
Start by converting the wavelength to meters:
Formula: λ = 400 nm = 400 × 10^−9 m = 4.00 × 10^−7 m
Then compute photon energy using :
Formula: E = (6.626 × 10^-34 J·s)(3.00 × 10^8 m/s) / (4.00 × 10^-7 m)
Multiplying the numerator:
Formula: 6.626 × 10^−34 × 3.00 × 10^8 ≈ 1.988 × 10^−25 J·m
Now divide by :
Formula: E ≈ (1.988 × 10^−25) / (4.00 × 10^−7) J = 4.97 × 10^−19 J
That photon energy is in joules; convert it to electronvolts with :
Formula: E_eV = (4.97 × 10^−19 J) / (1.602 × 10^−19 J/eV) ≈ 3.10 eV
Now subtract sodium's work function to see what kinetic energy is left for the electron:
Formula: K_eV = E_eV - φ_eV = 3.10 eV - 2.3 eV = 0.8 eV
So in this idealized scenario, emitted electrons have a maximum kinetic energy of about 0.8 eV.
Finally, read off the stopping voltage. Because , the kinetic energy in eV is numerically equal to the stopping voltage in volts:
Formula: V_stop ≈ 0.8 V
In other words, you would need to apply approximately 0.8 V of reverse bias to stop the photoelectrons produced by 400 nm light on sodium. The calculator carries out all of these steps for you automatically.
Work functions of common photocathode metals
Different materials require different photon energies to emit electrons. The table below lists a few common metals, their approximate work functions, and the corresponding threshold wavelength (longest wavelength that can still cause emission).
| Material | Work function (eV) | Threshold wavelength (nm, approx.) | Threshold frequency ( Hz, approx.) |
|---|---|---|---|
| Cesium (Cs) | 2.1 | ~590 | ~5.1 |
| Sodium (Na) | 2.3 | ~540 | ~5.6 |
| Calcium (Ca) | 2.9 | ~430 | ~7.0 |
| Zinc (Zn) | 4.3 | ~290 | ~1.0 |
| Copper (Cu) | 4.7 | ~260 | ~1.2 |
The threshold wavelength values are estimated using the relation
Formula: λ_0 = (h c) / φ
with converted from eV to joules. For wavelengths longer than , photon energy is lower than the work function and the idealized model predicts no photoemission. You can use these values as starting points when choosing example inputs for the calculator.
Reading the photon energy and stopping voltage results
Run the calculator and it hands back four numbers worth unpacking:
- Photon energy (J and eV): This tells you how energetic each incident photon is. Higher photon energy increases the chance of surpassing the work function.
- Kinetic energy of electrons (eV): This is the maximum kinetic energy predicted for emitted electrons in the ideal model. In practice, some electrons may have lower energies due to how they are bound inside the material.
- Stopping voltage (V): This is the potential difference that would just stop the most energetic photoelectrons from reaching the anode in a typical photoelectric experiment.
If the calculator reports a negative or zero kinetic energy, it means that the photon energy is not sufficient to overcome the work function. Under those conditions, the model predicts no photoelectric emission, regardless of how intense the light is. Increasing intensity would only increase the number of incident photons, not their individual energies.
Limitations of this idealized photoelectric model
This is a clean, textbook version of the photoelectric effect, and a few of its simplifications matter once you compare the numbers to a real bench experiment:
- Ideal, clean surface: Real materials may have oxide layers, impurities, or surface roughness that change the effective work function. The calculator assumes a perfectly clean and uniform surface.
- Single-photon emission: The calculation assumes that each photoelectron is produced by a single photon, with no multiphoton processes. At very high intensities or with ultrashort pulses, more complex behavior can occur.
- Monochromatic light: The formulas assume that the light has a single well-defined wavelength or frequency. Real sources (like lamps or the sun) often have a spectrum of wavelengths; the calculator does not model full spectra.
- No space-charge or field effects: In intense beams or in small experimental geometries, mutual repulsion between electrons and electric fields in the apparatus can modify the observed energies. These effects are not included.
- Maximum kinetic energy only: Actual experiments measure a distribution of electron energies. The value returned by the calculator corresponds to the maximum predicted kinetic energy for electrons escaping the surface.
- Educational and estimation use: Values from this calculator are meant for learning, quick checks, and approximate planning of simple experiments. They are not a substitute for detailed experimental design or precision metrology.
By being aware of these assumptions, you can better judge when the outputs are appropriate for your needs and when a more sophisticated model or direct measurement would be required.
Photon Threshold Sprint
Tune the calculator above, then defend the collector tube. Three metal plates drift in with different work functions, and your beam only ejects electrons if each photon carries enough energy to clear the threshold. Timing matters, but so does choosing a wavelength short enough to win.
Run complete
You cleared 0 plates.
Photon energy must beat the work function to free an electron.
Set a work function and either frequency or wavelength above. If your photons do not clear the threshold, the beam fizzles and no electron reaches the collector.
