Photoelectric Effect Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

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: E=hν

Here E is the energy of one photon (in joules, J), h 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.

Photon energy from frequency. When the light source is specified by its frequency ν, the photon energy is a direct multiplication by Planck's constant:

E = h ν

Photon energy from wavelength. Lasers and LEDs are usually labelled by wavelength λ instead. Since frequency and wavelength are linked by c=λν, the same photon energy becomes:

Formula: E = (h c) / λ

E=hcλ

Since the calculator expects wavelength in nanometers (nm), the internal conversion is:

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 ν0, below which no electrons come off at all:

Formula: h ν_0 = φ ⇒ ν_0 = φ / h

hν0=φν0=φh

Here, φ is internally converted to joules using the factor 1 eV=1.602×1019 J.

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 K of the fastest emitted electrons:

Formula: K = E - ϕ

K=E-ϕ

If both E and φ are expressed in electronvolts, the relation is especially simple:

Formula: K_eV = E_eV - ϕ_eV

KeV=EeV-ϕeV

If K<0, 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 Vstop. It is related to kinetic energy by:

Formula: K = e V_stop

K=eVstop

When kinetic energy is expressed in electronvolts, it is numerically equal to the stopping voltage in volts:

Formula: K_eV = V_stop (V)

KeV=Vstop (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.

  1. 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.
  2. 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 5e14 Hz or 400 nm.
  3. Run the calculation. The tool computes photon energy, kinetic energy, and the corresponding stopping voltage.

The main outputs you should expect are:

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ϕ2.3 eV) with violet light of wavelength λ=400nm.

Start by converting the wavelength to meters:

Formula: λ = 400 nm = 400 × 10^−9 m = 4.00 × 10^−7 m

λ=400 nm=400×109 m=4.00×10−7 m

Then compute photon energy using E=hcλ:

Formula: E = (6.626 × 10^-34 J·s)(3.00 × 10^8 m/s) / (4.00 × 10^-7 m)

E=(6.626×10-34J·s)(3.00×108m/s)4.00×10-7m

Multiplying the numerator:

Formula: 6.626 × 10^−34 × 3.00 × 10^8 ≈ 1.988 × 10^−25 J·m

6.626×1034×3.00×1081.988×1025 J·m

Now divide by 4.00×107 m:

Formula: E ≈ (1.988 × 10^−25) / (4.00 × 10^−7) J = 4.97 × 10^−19 J

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 1 eV=1.602×1019 J:

Formula: E_eV = (4.97 × 10^−19 J) / (1.602 × 10^−19 J/eV) ≈ 3.10 eV

EeV=4.97×1019 J1.602×1019 J/eV3.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

KeV=EeV-φ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 1 eV=e×1 V, the kinetic energy in eV is numerically equal to the stopping voltage in volts:

Formula: V_stop ≈ 0.8 V

Vstop0.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 λ0 (nm, approx.) Threshold frequency ν0 (1014 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) / φ

λ0=hcφ

with φ converted from eV to joules. For wavelengths longer than λ0, 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:

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:

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.

Enter a work function and either frequency or wavelength.

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.

Click to Play

Match photon energy to each metal plate.

Use the calculator inputs to set your beam. Shorter wavelengths and higher frequencies raise photon energy, which lets your shots eject electrons from tougher metals.

Score 0
Threshold clears reward precision. Near-miss shots cost time and momentum.
Beam energy 3.100 eV
Default practice beam: 400 nm light on a 2.3 eV surface emits electrons.
Streak & Time 0 · 70s
Scenario: photon energy 3.100 eV, threshold wavelength 539.1 nm.
Best run 0
Use ↑/↓ to change lanes, then press Space or tap/click to fire.
Controls: Move between lanes with the arrow keys, drag/tap on the canvas, and fire with Space, Enter, or a tap. The game reads your current work function plus frequency or wavelength from the calculator.

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.