What is the Young's Double-Slit Calculator?
This tool models Young's classic double-slit experiment, which demonstrated the wave nature of light through interference. When coherent light passes through two narrow slits separated by a distance d, the waves overlap and produce a pattern of bright and dark fringes on a screen a distance L away. This calculator finds the position of any bright fringe, the spacing between fringes, and the diffraction angle.
How to use it
Enter the wavelength of light in nanometres (visible light is roughly 380–750 nm), the slit separation in millimetres, the distance to the screen in metres, and the fringe order m (m = 0 is the central maximum, m = 1 the first bright fringe, and so on). The calculator returns the fringe position y in millimetres, the diffraction angle θ in degrees, and the spacing between adjacent fringes.
The formula explained
Constructive interference occurs when the path difference equals a whole number of wavelengths: \(d\cdot\sin\theta = m\lambda\). For small angles, \(\sin\theta \approx \tan\theta = y/L\), which gives the convenient fringe-position formula $$y = \frac{m\lambda L}{d}$$ The spacing between neighbouring bright fringes is $$\Delta y = \frac{\lambda L}{d}$$ independent of the order.
Worked example
Suppose \(\lambda = 500\ \text{nm}\), \(d = 0.1\ \text{mm}\), \(L = 1\ \text{m}\), and \(m = 1\). Converting units: \(\lambda = 5\times10^{-7}\ \text{m}\), \(d = 1\times10^{-4}\ \text{m}\). Then $$y = \frac{1 \times 5\times10^{-7} \times 1}{1\times10^{-4}} = 5\times10^{-3}\ \text{m} = 5\ \text{mm}$$ The fringe spacing equals the same 5 mm, and \(\sin\theta = m\lambda/d = 0.005\), so \(\theta \approx 0.2865^\circ\).
Visible Light Wavelengths and Typical Fringe Spacing
In Young's double-slit experiment, adjacent bright fringes are separated by \(\Delta y = \frac{\lambda L}{d}\), where \(\lambda\) is the wavelength, \(L\) is the slit-to-screen distance and \(d\) is the slit separation. The table uses a fixed setup of \(d = 0.1\) mm and \(L = 1\) m, so \(\Delta y = \lambda \times 10^{4}\). The color ranges are approximate, because the boundaries between colors are not sharp.
| Color | Approx. wavelength range (nm) | Example wavelength (nm) | Fringe spacing Δy (mm) |
|---|---|---|---|
| Violet | 380–450 | 420 | 4.2 |
| Blue | 450–495 | 450 | 4.5 |
| Blue | 450–495 | 470 | 4.7 |
| Green | 495–570 | 550 | 5.5 |
| Yellow | 570–590 | 580 | 5.8 |
| Orange | 590–620 | 600 | 6.0 |
| Red | 620–750 | 650 | 6.5 |
| Red (He-Ne laser) | single line | 632.8 | 6.328 |
Red light produces wider fringes than blue light because spacing is proportional to wavelength. The common helium-neon (He-Ne) laser at 632.8 nm is a convenient source for demonstrations because it is bright, monochromatic and coherent.
How Changing Slit Separation and Screen Distance Affects the Pattern
The table compares five setups for the first-order bright fringe (\(m = 1\)). The position is \(y_1 = \frac{\lambda L}{d}\), which equals the spacing \(\Delta y\) for \(m = 1\). The angle comes from \(\sin\theta = \frac{\lambda}{d}\).
| Scenario | λ (nm) | d (mm) | L (m) | y₁ (mm) | Δy (mm) | θ (approx.) |
|---|---|---|---|---|---|---|
| Baseline | 500 | 0.1 | 1 | 5 | 5 | 0.286° |
| Wider slit separation | 500 | 0.2 | 1 | 2.5 | 2.5 | 0.143° |
| Longer screen distance | 500 | 0.1 | 2 | 10 | 10 | 0.286° |
| Longer wavelength | 650 | 0.1 | 1 | 6.5 | 6.5 | 0.372° |
| Closer slits, nearer screen | 500 | 0.05 | 0.5 | 5 | 5 | 0.573° |
Fringe spacing is proportional to \(\lambda\) and \(L\) and inversely proportional to \(d\). Doubling \(d\) halves the spacing, doubling \(L\) doubles it, and the last row shows that halving both \(d\) and \(L\) leaves the spacing unchanged. The angle \(\theta\) does not depend on \(L\), only on \(\lambda/d\).
Interpreting Your Result
Fringe position and spacing. The position \(y_m\) is the distance along the screen from the central bright fringe (\(m = 0\)) to the \(m\)-th bright fringe. The spacing \(\Delta y = \frac{\lambda L}{d}\) is the distance between neighboring bright fringes and is the same for all orders in the small-angle regime.
Small-angle validity. The formula uses \(\sin\theta \approx \tan\theta \approx \theta\), which requires \(d \ll L\) and a small angle. At 10° (0.1745 rad), \(\sin\theta = 0.1736\) and \(\tan\theta = 0.1763\), so the approximation is off by about 0.5% and 1% respectively. Below roughly 10° the error stays under about 1%. For larger angles, use the exact relations \(d\sin\theta = m\lambda\) and \(y = L\tan\theta\).
Dark fringes. Destructive interference occurs halfway between bright fringes, at
$$y_{\text{dark}} = \left(m + \tfrac{1}{2}\right)\frac{\lambda L}{d}, \quad m = 0, 1, 2, \dots$$The first dark fringe is therefore at half the fringe spacing from the center.
Maximum order. Since \(\sin\theta \le 1\), the condition \(m\lambda \le d\) limits the highest observable order to \(m_{\max} = \lfloor d/\lambda \rfloor\). For example, with \(d = 0.1\) mm and \(\lambda = 500\) nm, \(m_{\max} = \frac{100\,000\text{ nm}}{500\text{ nm}} = 200\). In practice the small-angle formula fails well before that order, and the slit width and the finite screen size also limit what you see.
Coherence. Clear fringes need coherent light, meaning a fixed phase relationship between the two slits. Monochromatic light is also needed, because white light has many wavelengths whose fringes overlap at different positions. With white light, only the central fringe stays white, and the outer fringes become colored and blur together. A laser or a filtered, narrow source illuminating both slits gives the sharpest pattern.
FAQ
Does the small-angle approximation always hold? The \(y = m\lambda L/d\) formula assumes θ is small (a few degrees). The diffraction angle θ output uses the exact \(d\cdot\sin\theta = m\lambda\) relation, so compare both for large angles.
What is fringe order m? It counts bright maxima from the centre. m = 0 is the central peak; higher m values are farther out.
Why convert wavelength to nm and d to mm? Those are the natural lab units; the calculator converts everything to metres internally for consistency.