Photoelectric Effect Calculator

Find the energy of the photoelectrons, the threshold frequency and the cut-off wavelength for any metal and any light source.

Physics and EnergyUpdated 2026-10-214 min read
Photoelectric Effect Calculator
Switches the light intensity between watts per square metre and watts per square foot.
The work functions are the values tabulated in OpenStax University Physics.
Energy of one photon
...
Maximum energy of a photoelectron...
Threshold frequency...
Cut-off wavelength...
Photon flux...

What it does

Shine light on a metal and electrons jump off the surface. That is the photoelectric effect, and it is the experiment that split physics in two, because nothing in the wave theory of light can explain it. OpenStax lists the three facts that upset the old picture: the effect happens the instant the light arrives, it needs a threshold frequency rather than simply enough intensity, and the energy of the emitted electrons does not depend on how bright the light is.

Einstein explained all three in one move. Light is made of packets, and each packet carries an energy set only by its frequency, E equals h f. A photon hands its whole energy to a single electron, and if that energy is enough to cover the binding energy of the metal, called the work function, the electron escapes with whatever is left over. That leftover is the maximum kinetic energy, so the equation reads K maximum equals h f minus phi. If the photon is too weak, nothing happens at all, however bright the lamp.

Each metal has its own work function, and OpenStax tabulates the usual values: sodium at 2.46 eV, aluminium at 4.08 eV, lead at 4.14 eV, zinc at 4.31 eV, iron at 4.50 eV, copper at 4.70 eV, silver at 4.73 eV and platinum at 6.35 eV. Those numbers fix two thresholds for each metal. The threshold frequency follows from phi divided by h, and the cut-off wavelength follows from h c divided by phi, since light below that wavelength simply does not carry enough energy per photon.

This page puts those pieces together. Pick a metal or type in a work function, give the wavelength of the light, and it returns the energy of a photon, the maximum energy of the photoelectrons, the threshold frequency, the cut-off wavelength and how many photons per second arrive on each square metre at the intensity you entered. If the light is too weak, it says so instead of giving a negative number.

The constants come from NIST. Planck's constant is 4.135667696 x 10 to the power of minus 15 eV s and the product h c is 1239.841984 eV nm, so the arithmetic matches the reference values rather than a rounded classroom number. The stopping potential is worth noting too, because it is the easiest thing to measure: it is the reverse voltage that just stops the photocurrent, and it equals the maximum kinetic energy in volts.

How to use

  1. Choose the units for the light intensity, metric or imperial.
  2. Pick the metal from the list, or choose to enter your own work function in electron volts.
  3. Enter the wavelength of the light in nanometres. Visible light runs from about 380 nm at the violet end to 700 nm at the red end.
  4. Enter the light intensity, which sets how many photons arrive each second.
  5. Read the photon energy, the maximum photoelectron energy and the two thresholds for the metal.
  6. If the result says no photoelectrons, either use shorter wavelength light or pick a metal with a lower work function.

Formula

Photon energy E = h f = h c / lambda. Maximum photoelectron energy K maximum = h f - phi. Threshold frequency f c = phi / h. Cut-off wavelength lambda c = h c / phi. Stopping potential in volts equals K maximum in electron volts.
E
Energy carried by one photon, in electron volts.
h
Planck's constant, 4.135667696 x 10 to the power of minus 15 eV s.
c
Speed of light in a vacuum, 299792458 m per second.
phi
Work function of the metal, the energy needed to release an electron.
K maximum
Largest kinetic energy an emitted photoelectron can carry.

The product h c is 1239.841984 eV nm, which is the number used for every wavelength on this page. Work functions are surface properties, so a clean metal in a vacuum and a worn plate in air do not give the same number. The photoelectric effect needs light in a vacuum or a narrow gap, because the electrons are easy to lose to air molecules before they reach a collector.

Worked example

Example: sodium lit with 250 nm light at 1 W per square metre

Defaults: metric units, sodium, 250 nm of light and an intensity of 1 W per square metre.

  1. Energy of one photon: E = h c / lambda = 1239.841984 / 250 = 4.9594 eV, which is 4.96 eV.
  2. The work function of sodium is 2.46 eV.
  3. Maximum photoelectron energy: K = 4.9594 - 2.46 = 2.4994 eV, so 2.50 eV, and the stopping potential is 2.50 V.
  4. Threshold frequency: f c = phi / h = 2.46 / 4.135667696 x 10 to the power of minus 15 = 5.948e14 Hz.
  5. Cut-off wavelength: lambda c = h c / phi = 1239.841984 / 2.46 = 504.0 nm.
  6. Photon flux: one photon of 4.9594 eV carries 7.946 x 10 to the power of minus 19 J, so 1 W per square metre gives 1.259e18 photons per second per m2.
  7. The tool shows 4.96 eV, 2.50 eV, 5.948e14 Hz, 504.0 nm and 1.259e18 photons per second per square metre.

Reference table

Work functions from OpenStax with the threshold frequency and cut-off wavelength each metal implies
MetalWork functionThreshold frequencyCut-off wavelength
Sodium2.46 eV5.948e14 Hz504.0 nm
Aluminium4.08 eV9.865e14 Hz303.9 nm
Lead4.14 eV1.001e15 Hz299.5 nm
Zinc4.31 eV1.042e15 Hz287.7 nm
Iron4.50 eV1.088e15 Hz275.5 nm
Copper4.70 eV1.136e15 Hz263.8 nm
Silver4.73 eV1.144e15 Hz262.1 nm
Platinum6.35 eV1.535e15 Hz195.3 nm

Limits

  • The model covers a clean metal surface in a vacuum. A film of oxide, a scratched surface or gas in the apparatus all shift the measured numbers.
  • Only the maximum energy is calculated. The full energy spread of the emitted electrons, which comes from electrons deeper inside the metal, is not modelled.
  • The work function list covers the common metals in the textbook table. Other materials, and semiconductors with their own band structure, need their own value.
  • Photon flux assumes the light arrives at a right angle and spreads evenly, so a focused beam gives a higher local flux.

Common mistakes

  • Raising the intensity and expecting the electron energy to rise. Brighter light gives more electrons, not faster ones.
  • Using the photon energy without subtracting the work function. The work function is the energy lost on the way out.
  • Working in hertz while the wavelength is in nanometres without converting. Either use f = c / lambda or E = h c / lambda, not a mix of the two.
  • Expecting photoelectrons from light that is too long. Above the cut-off wavelength nothing is emitted, whatever the intensity.
  • Reading the stopping potential as volts per electron rather than as the number of volts that cancels the kinetic energy.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is the maximum energy of photoelectrons from sodium lit with 250 nm light?

2.50 eV. Each photon carries 4.96 eV and sodium needs 2.46 eV, so 4.96 - 2.46 = 2.50 eV, which is a stopping potential of 2.50 V.

What is the cut-off wavelength for sodium?

504.0 nm, from h c divided by phi, so 1239.841984 / 2.46 = 504.0 nm. Light longer than that releases no electrons from sodium.

Does 500 nm light release electrons from platinum?

No. A 500 nm photon carries only 2.48 eV, while platinum needs 6.35 eV, so nothing comes off until the light is shorter than 195.3 nm.

Questions

What is the photoelectric effect?

The emission of electrons from a metal surface when light of short enough wavelength falls on it. Einstein showed the light arrives as packets of energy, each one handed to a single electron.

Why does the energy of the electrons not depend on brightness?

Each photon hands over its whole energy to one electron, so the energy of the electron is set by the frequency of the light. A brighter beam simply carries more photons, so more electrons come out at the same energy.

What is the work function?

The energy needed to pull an electron out of the metal. Every metal has its own value, and it sets both the threshold frequency and the cut-off wavelength.

What is the stopping potential?

The reverse voltage that just stops the photoelectric current. It equals the maximum kinetic energy of the electrons in volts, so 2.50 eV of energy shows up as 2.50 V.

How is the threshold frequency found?

Set the maximum kinetic energy to zero, which gives f c = phi / h. For sodium that is 2.46 eV divided by Planck's constant, or 5.948e14 Hz.

Is the effect useful outside textbooks?

Yes. It is how photoelectric sensors, solar cells, light meters and photomultipliers work, and the same equation sets the threshold wavelength of any light sensitive detector.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.