# Double-slit experiment > How does light make stripes behind two slits? Change the colour, the slit spacing and width and the screen distance, and watch the interference fringes move. Simulate Young's double-slit experiment: set the wavelength, slit spacing, slit width and screen distance, and see the fringe pattern and its spacing live. - Page: https://how.box/double-slit/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/double-slit/?wl={wl}&d={d}&a={a}&l={l} - `wl` (number 100 to 1000): Wavelength of the light. Example: `550`. - `d` (number 2 to 5000): Distance between the two slits. Example: `100`. - `a` (number 0.5 to 2000): Width of each slit. Example: `20`. - `l` (number 0.1 to 50): Distance from the slits to the screen. Example: `1`. Example answer: https://how.box/double-slit/?wl=550&d=100&a=20&l=1 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `double_slit_calculate`: Double-slit interference pattern of light with wavelength_nm (nm), slit_spacing_um d and slit_width_um a (µm, a ≤ d) on a screen screen_distance_m (m) away. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"double_slit_calculate","arguments":{"wavelength_nm":550,"slit_spacing_um":100,"slit_width_um":20,"screen_distance_m":1}}}` - GET: https://how.box/mcp/run/double_slit_calculate?wavelength_nm=550&slit_spacing_um=100&slit_width_um=20&screen_distance_m=1 ## How it works Light behaves like a wave. Behind two narrow slits, the waves from each slit overlap on a screen. Where a crest meets a crest they add up and make a bright fringe; where a crest meets a trough they cancel and leave a dark one. Thomas Young used this in 1801 to show that light is a wave. Bright fringes appear where the paths from the two slits differ by a whole number of wavelengths, d·sin θ = mλ, with d the slit spacing and λ the wavelength. For small angles neighbouring fringes are Δy = λL/d apart on a screen L away. Each slit also spreads the light itself: the single-slit envelope has its first dark band where a·sin θ = λ, with a the slit width, and it fades the fringes towards the sides. For example, 550 nm light on slits 100 µm apart and a screen 1 m away gives fringes 5.5 mm apart. Red light spreads the fringes wider than blue. The drawing assumes ideal narrow slits and one colour. Source: OpenStax University Physics, volume 3, sections 3.2 and 4.2. ## FAQ **Why does a wider slit spacing make the fringes closer together?** The fringe spacing is λL/d, so a larger spacing d gives a smaller spacing between fringes. Far apart slits make a finer pattern. **What is the dashed curve?** It is the pattern one slit makes alone, the diffraction envelope. The two-slit fringes live inside it, so their brightness fades towards its dark bands. **Why do some bright fringes disappear?** When a bright fringe of the two slits lands on a dark band of the single slit, it vanishes. This happens when the slit spacing is a whole number times the slit width. **Does it matter which colour I use?** Yes. Longer wavelengths, such as red, spread the fringes further apart than shorter ones, such as blue. White light makes coloured fringes that blur together away from the centre. **Does this show what happens with single electrons or photons?** The pattern is the same: single particles arrive one at a time, yet build up the same fringes. This tool draws the intensity, not individual arrivals. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)