Photoelectric Effect

Shine light on a metal and knock electrons loose — the experiment that forced physics to accept the photon. This photoelectric effect simulator lets you change the light's wavelength, its intensity and the metal, then watch electrons fly across to the collector. The catch that broke classical physics: below a threshold frequency nothing comes off, however bright the beam. Dial in a retarding stopping voltage to measure the electrons' maximum energy, and read Planck's constant straight off the KEmax-versus-frequency line. It all runs on your device.

You are in the Physics lab.

Drag the wavelength below through the threshold and watch the current switch on
Photon energy3.10 eV
Work function2.28 eV
Max KE of electrons0.82 eV
Stopping voltage0.82 V
Threshold wavelength544 nm
Photocurrent70%

Millikan's line: KEmax plotted against light frequency ν. It is flat zero below the threshold ν₀ = φ/h, then rises with slope equal to Planck's constant h. The glowing dot marks your current settings.

Frequency ejects electrons — brightness only counts them. One photon frees one electron, and a photon's energy is hν = 1240/λ (in eV, with λ in nm). If that falls short of the metal's work function φ, no electron escapes no matter how intense the light — turn the beam to full and the current stays dead. Cross the threshold and electrons appear at once, each with up to KEmax = hν − φ. Now intensity matters: more photons mean more electrons, a larger photocurrent — but never a faster one.

Reading the simulation

What the photon beam, the retarding voltage and the Millikan graph are telling you.

1

The beam is a stream of photons

The lamp fires photons toward the cathode, and their colour is set by the wavelength slider — true spectral tints across the visible range, deep violet for ultraviolet. Each photon carries energy hν = 1240/λ eV. It only frees an electron if that energy clears the metal's work function, the emission gate hν ≥ φ; fall below it and the cathode dims, a red banner reads "no electrons ejected", and turning intensity to full just sends more photons that are each too weak. Cross the gate and glowing electrons stream to the anode.

2

The retarding voltage turns electrons back

The battery in the loop applies a reverse voltage that drains each electron's kinetic energy as it crosses the gap. Raise the retarding voltage and the slowest electrons fall short and reverse before reaching the anode, so the ammeter needle drops. The exact voltage that halts even the fastest electrons — where the current just reaches zero — is the stopping voltage, and it reads out the maximum kinetic energy directly, KEmax = e·Vstop.

3

The graph's slope is Planck's constant

The lower plot is Millikan's line: KEmax against light frequency ν. It stays flat at zero until the threshold ν₀ = φ/h — the dashed marker — then climbs as a straight line whose slope is Planck's constant h, intercepting the axis exactly at ν₀. The glowing dot is your current settings; slide the wavelength and watch it travel along the line, or switch metals and see the whole line shift its threshold.

How It Works

Light as a stream of photons, a threshold that brightness cannot cross, and a stopping voltage that measures the rest.

1

One photon, one electron

The light is modelled as a stream of photons, each carrying energy hν = 1240/λ eV. When a photon reaches the metal it hands all of its energy to a single electron. Spending φ of that energy to break free of the surface, the electron leaves with whatever is left as kinetic energy — at most KEmax = hν − φ. Raising the intensity sends more photons, not more energetic ones.

2

The threshold

If a single photon carries less than the work function, it cannot free an electron at all, and piling on more such photons changes nothing. So there is a sharp threshold frequency ν₀ = φ/h — equivalently a threshold wavelength λ₀ = 1240/φ — below which the current is exactly zero. This is the anti-classical result: a wave should eventually shake an electron loose if you make it bright enough, but light does not work that way.

3

Stopping voltage and Planck's constant

Apply a reverse voltage at the collector and it drains the electrons' kinetic energy as they cross. The stopping voltage is the value that just halts the fastest electrons, so the current falls to zero — a direct read-out of KEmax = e·Vstop. Sweep the frequency and plot KEmax against it: the points fall on a straight line of slope h, exactly as Millikan measured to pin down Planck's constant.

What is the photoelectric effect?
The photoelectric effect is the emission of electrons from a metal surface when light shines on it. What makes it famous is that it does not behave like a wave should: below a certain frequency of light no electrons come off at all, no matter how bright the beam, and above that frequency electrons appear instantly even for very dim light. Einstein explained it in 1905 by treating light as particles — photons — each carrying an energy hν, and the result helped launch quantum physics.
Why does brighter light not always eject electrons?
Because each electron is knocked out by a single photon, and a photon's energy depends on the light's frequency, not its brightness. If one photon does not carry enough energy to free an electron — that is, if hν is less than the metal's work function — then adding more photons by turning up the intensity does not help; you just get more photons that are each individually too weak. Only raising the frequency (shortening the wavelength) increases the energy per photon. You can watch it here by keeping a low-frequency light at full intensity and seeing no current at all.
What is the work function and the threshold frequency?
The work function φ is the minimum energy needed to pull an electron out of a particular metal, measured in electron-volts. The threshold frequency ν₀ is the frequency at which a photon just barely carries that much energy, given by hν₀ = φ, and the matching threshold wavelength is λ₀ = 1240/φ nanometres. Light below the threshold frequency (longer wavelength) cannot eject electrons; light above it can. Different metals differ — caesium at about 2.1 eV releases electrons under visible light, while copper at 4.7 eV needs ultraviolet.
What is the stopping voltage?
The stopping voltage is the reverse voltage you must apply to the collector to just halt the most energetic electrons, so that the photocurrent drops to zero. Because the electrons' kinetic energy is spent climbing that voltage, the stopping voltage measures the maximum kinetic energy directly: KEmax = e·Vstop. Raising the light's frequency raises the stopping voltage; changing the intensity does not. Plotting KEmax against frequency gives a straight line whose slope is Planck's constant h — the measurement Millikan used to confirm Einstein's equation.

Teaching or blogging about quantum physics? You can embed this simulator on your own site free — one line of code, no sign-up.

Classroom activity

A ready-to-assign lab using the simulation above. Free to use — nothing to install or sign up for, and no student data leaves the browser.

High school, College10–20 minInteractive simulation

Learning objectives

  • Relate photon energy to frequency.
  • Explain the threshold frequency and work function.
  • Show why the effect supports the particle model of light.

Variables to change

  • Light frequency (color)
  • Light intensity
  • Metal (work function)

Procedure

  1. Shine low-frequency (red) light on the metal and watch for emitted electrons.
  2. Increase the frequency toward blue/UV until electrons are emitted.
  3. Increase the intensity below the threshold frequency and observe.
  4. Above threshold, increase intensity and note the electron count and energy.

Observations

Record whether electrons are emitted versus frequency and intensity, and their maximum kinetic energy.

Questions

  1. Write the energy of a photon.
  2. What is the threshold frequency?
  3. Below the threshold, does raising the intensity eject electrons?
  4. Above threshold, what does raising intensity change?
  5. Write the photoelectric equation for maximum electron energy.

Explanation

Light delivers energy in photons of energy hf. Electrons escape only when a single photon carries at least the metal’s work function, so there is a threshold frequency independent of intensity — direct evidence for the particle nature of light (KEmax = hf − φ).

Answer key (for instructors)
  • 1. E = h·f, where h is Planck’s constant.
  • 2. The minimum frequency whose photon energy equals the work function; below it, no electrons are emitted regardless of intensity.
  • 3. No — intensity adds more photons but each is still too weak; frequency, not brightness, sets the energy per photon.
  • 4. It ejects more electrons per second, but not their maximum kinetic energy.
  • 5. KEmax = h·f − φ, where φ is the work function.

Educators: link or embed this simulation freely in your LMS or course guide.

Add This Photoelectric Effect Simulator to Your Website

Put the Photoelectric Effect Simulator on your own page — free, no sign-up, no watermark. It runs entirely in your visitors' browsers. Copy the snippet and paste it into your page's HTML.

The credit line under the widget links back to LK Forge — please keep it so others can find it too.