molecalculator

Moles & Molar Mass

Formula for Path Difference: Interference Explained

Calculator No. 01-8879 · Updated · Formula and assumptions shown below

Path difference 250,000.0 nm
Path difference in wavelengths
454.545 λ
= Path difference ÷ Wavelength
Slit separation
0.5 mm
Set in the form below
Angle to point
30 degrees
Set in the form below
You enter
Slit separation (mm), Angle to point (degrees), Wavelength (nm)
You get
Path difference (nm), Path difference in wavelengths (λ)
Rounding
1 dp · 3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The path difference is the difference in distance traveled by two waves from their sources to a common point, and its formula depends on the geometry of the setup. For two coherent sources separated by distance d, the path difference at a point making angle θ with the normal is Δ = d sin θ. This single expression underpins Young’s double-slit experiment, diffraction gratings, and thin-film interference.

Formula

The general path difference formula is:

Δ = d sin θ

  • Δ – path difference (same unit as d, typically meters or nanometers)
  • d – separation between the two wave sources (m)
  • θ – angle between the line from the midpoint of the sources to the point of interest and the normal to the source line (degrees or radians)

This applies when the point is far enough that the rays from the two sources are nearly parallel – the “far-field” or Fraunhofer condition. For a double slit, the sources are the two slits; for a diffraction grating, d becomes the grating spacing (distance between adjacent slits).

For thin-film interference, the path difference is Δ = 2nt cos r, where n is the refractive index of the film, t is its thickness, and r is the angle of refraction inside the film. The factor 2 comes from the light traversing the film twice (down and back).

Worked Example

Using the calculator defaults: slit separation d = 0.5 mm, angle θ = 30°, wavelength λ = 550 nm.

  1. Convert d to nanometers: 0.5 mm = 0.5 × 106 nm = 500,000 nm.
  2. Compute sin 30° = 0.5.
  3. Path difference Δ = 500,000 nm × 0.5 = 250,000 nm = 250 μm.
  4. In wavelengths: Δ/λ = 250,000 / 550 ≈ 454.5 λ.

The calculator gives 250,000.0 nm and 454.5 λ, matching exactly.

Assumptions

  • The point is in the far field (rays are parallel).
  • The sources are coherent – they maintain a constant phase relationship.
  • The medium is uniform (same refractive index along both paths).
  • For thin films, the film has parallel faces and the angle is measured inside the film.

How to Choose the Right Formula

There is no single universal formula; you must match the geometry:

  • Two slits or two point sources: use Δ = d sin θ.
  • Diffraction grating: same formula, but d is the grating spacing (1 / lines per meter).
  • Thin film (soap bubble, oil slick): use Δ = 2nt cos r, and add a half-wavelength shift if one reflection is from a higher-index medium.
  • Michelson interferometer: path difference is 2 × mirror displacement (the light goes out and back).

For a double slit, constructive interference (bright fringe) occurs when Δ = mλ (m = 0, 1, 2, …), and destructive interference (dark fringe) when Δ = (m + ½)λ. For thin films, the half-wavelength phase inversion can swap these conditions.

Common Mistakes and Misconceptions

One frequent error is using the angle from the source to the point instead of the angle from the normal. The formula Δ = d sin θ requires θ measured from the perpendicular bisector of the two sources. If you use the angle from the source line, it becomes Δ = d cos θ.

Another mistake is forgetting to convert units. Slit separation is often given in millimeters, wavelength in nanometers – you must convert both to the same unit before dividing or comparing.

A common misconception is that path difference is the same as phase difference. They are related but not identical: phase difference (in radians) = (2π/λ) × path difference. A path difference of one full wavelength gives a phase difference of 2π, but the path difference itself is a length, not an angle.

Also, for thin films, many students forget the factor 2. The light travels through the film twice, so a film of thickness 500 nm produces a path difference of 1000 nm (plus any phase inversion).

Real-World Applications

Path difference is not just a textbook exercise; it explains everyday phenomena:

  • Soap bubble colors: white light reflects from the front and back surfaces of the thin film; different thicknesses produce different path differences, so different wavelengths interfere constructively at different points, creating rainbow colors.
  • Anti-reflective coatings on glasses: a thin film is designed so that the path difference for reflected light is half a wavelength, causing destructive interference and reducing glare.
  • Diffraction gratings in spectrometers: the grating separates light by wavelength because the angle of constructive interference depends on λ via d sin θ = mλ.
  • Optical coherence tomography (OCT) in medical imaging: measures path differences of reflected light to create cross-sectional images of tissue.

Limits of the Formula

The far-field approximation Δ = d sin θ breaks down when the point is close to the sources. In the near field, you must use the exact path difference: Δ = √(L² + (y + d/2)²) − √(L² + (y − d/2)²), where L is the distance to the screen and y is the point’s vertical coordinate. When L is large compared to d and y, this simplifies to d sin θ.

The thin-film formula assumes parallel faces and a single reflection. Real films may have varying thickness, and multiple internal reflections can produce more complex interference patterns. Also, the refractive index depends on wavelength (dispersion), so the path difference for white light varies with color.

Frequently Asked Questions

What is the difference between path difference and phase difference?
Path difference is a physical length difference between two wave paths. Phase difference is the angular difference in the waves’ cycles, measured in degrees or radians. They are related by phase difference = (2π/λ) × path difference, assuming the same medium and wavelength.

Why is there a half-wavelength shift in thin films?
When light reflects off a medium with a higher refractive index than the one it is traveling in, the reflected wave undergoes a phase inversion equivalent to half a wavelength. This happens at one surface of the film (e.g., air-to-oil) but not the other (oil-to-water if oil has higher index), adding an effective λ/2 to the path difference.

How do I find the path difference for a diffraction grating?
For a grating, the path difference between adjacent slits is also d sin θ, where d is the grating spacing (distance between neighboring slits). Constructive interference occurs when d sin θ = mλ, giving bright lines at specific angles.

Does path difference depend on the wavelength of light?
No, the path difference itself is purely geometric – it depends on distances and angles, not on wavelength. However, the resulting interference pattern (bright or dark) depends on how the path difference compares to the wavelength, so different wavelengths will produce bright fringes at different positions.

What is the path difference at the central maximum in Young’s double-slit experiment?
At the central maximum (the point on the screen directly opposite the midpoint between the slits), the angle θ = 0, so sin θ = 0, and the path difference is zero. Both waves travel equal distances, so they arrive in phase and produce a bright fringe.

Can path difference be negative?
Yes, if you label one path as positive and the other as negative, the difference can be negative. But for interference conditions, only the absolute value matters – a path difference of −λ gives the same result as +λ. In practice, we usually take the absolute value.

Related

Formula used
in d | Slit separation | mm | 0.5 | 0
in theta | Angle to point | degrees | 30 | 0
in lambda | Wavelength | nm | 550 | 0
out del | Path difference | nm | d * 1000000 * sind(theta) | 1
out delm | Path difference in wavelengths | λ | del / lambda | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →