HexaMoleInteractive Chemistry

Light & Absorbance Lab

Wavelength, Beer–Lambert law, and colorimetry

Electromagnetic Radiation

Change wavelength and amplitude to explore the wave, photon energy, intensity, and position in the electromagnetic spectrum.

Changing wavelength changes frequency and photon energy. Changing amplitude changes intensity, not energy per photon.

Shorter wavelengths draw tighter waves. Larger amplitudes draw taller waves.

Wavelength500 nm5.000 x 10^-7 m
Frequency5.996 x 10^14 Hz599.6 THz
Photon energy3.973 x 10^-19 J/photon239.3 kJ/mol
Relative intensity1.00I proportional to amplitude^2

Equations

c = lambda nu

nu = c / lambda

E = h nu = hc / lambda

I proportional to amplitude^2

Electromagnetic Spectrum

The selected wavelength is linked to the wave above. Explore its position from UV through visible light and near-IR.

In spectroscopy, we often choose a wavelength where the analyte absorbs strongly. That wavelength gives better sensitivity.

Selected wavelength

500 nm

Visible region

Approximate color: green

Beer-Lambert Simulator

Explore how concentration, path length, and molar absorptivity affect absorbance and transmitted light.

Absorbance is directly proportional to concentration only when Beer-Lambert behavior is valid.
I0
sample
I

The cuvette width represents optical path length (schematic, not to scale). Beam thickness shows relative intensity; solution shading reflects absorbance.

Absorbance0.000A = epsilon b c
Transmittance1.000T = 10^-A
Transmitted intensity100I = I0 x T
Percent T100%%T = 100 x T

Equations

A = epsilon b c

T = I / I0 = 10^-A

A = -log10(T) = log10(I0/I)

c = A / (epsilon b)

Coffee Colorimeter

Connect spectroscopy to a familiar brown solution using simulated measurements or an optional webcam experiment.

Coffee colorimetry is semi-quantitative. It is useful for teaching, not for identifying caffeine or detailed chemical composition.
25% coffee

Simulated transmitted RGB

R: 196 G: 151 B: 93

Analytical wavelength: 520 nm

Approximate color channel: green

I0not measuredblank intensity
Inot measuredsample intensity
Tnot measuredI / I0
Anot measured-log10(T)

Calibration fit

Add at least two known samples.

Unknown estimate appears after calibration.

What the spectrum adds

The calibration curve uses one chosen wavelength. The spectra show how absorbance changes across wavelengths for each concentration.

Known concentrationAbsorbance

Privacy note: the camera feed is processed locally in your browser. It is not saved or uploaded.

Average R--ROI mean
Average G--ROI mean
Average B--ROI mean
Absorbance--A = -log10(I/I0)
Start the camera, place the blank in the center box, measure the blank, then measure a sample.
This webcam mode is for teaching only. It is not a true spectrophotometer. Results depend on lighting, camera settings, sample container, scattering, and sample color.
Student Questions
  1. Set wavelength to 700 nm. Record frequency and photon energy.
  2. Set wavelength to 400 nm. Record frequency and photon energy.
  3. Which wavelength has higher photon energy?
  4. Increase amplitude. Does photon energy change? What changes instead?
  5. In the Beer-Lambert simulator, double the concentration. What happens to absorbance?
  6. Double the path length. What happens to absorbance?
  7. Why does transmitted intensity decrease when concentration increases?
  8. Why is coffee not an ideal chemical standard for quantitative spectroscopy?
  9. Why might food dye give cleaner Beer-Lambert behavior than coffee?
  10. In webcam mode, why is it important to measure a blank first?
Instructor Notes

This app is meant for conceptual teaching. The simulation follows standard spectroscopy equations, while the coffee and webcam activities should be framed as colorimetry demonstrations.

Coffee is a complex mixture and can scatter light, so it is not a true chemical standard. Food dye or diluted colored solutions may give cleaner Beer-Lambert behavior.

The strongest conceptual point is that photon energy depends on wavelength and frequency, while amplitude affects intensity.