PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Optics & Light

Other simulators in this category — or see all 50.

View category →
NewUniversity / research

Sagnac (Ring) Interferometer

Δφ ∝ Ω·A/λ for counter-propagating beams in a rotating loop — optical gyro idea.

Launch Simulator
NewSchool

Brewster Angle

tan θ_B = n₂/n₁; R_p→0; θᵢ+θₜ=90°; Fresnel R_s, R_p vs θᵢ.

Launch Simulator
NewSchool

Fermat's Principle

OPL = n₁AP+n₂PB vs hit point; minimum = Snell path.

Launch Simulator
NewSchool

Chromatic Aberration

Cauchy n(λ); thin-lens f(λ); paraxial rays R/G/B.

Launch Simulator
School

Diffraction

Single and double slit with interference patterns.

Launch Simulator
Kids

Color Mixing

Additive (RGB) and subtractive (CMY) interactive color mixing.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/1D Photonic Crystal Bandgap

1D Photonic Crystal Bandgap

A one-dimensional photonic crystal is a periodic stack of dielectric layers with alternating refractive indices n₁ and n₂ and thicknesses d₁, d₂. This simulator builds the TE transfer matrix for one bilayer period, raises it to the N-th power for a finite coherent stack in air, and computes wavelength-dependent transmission T(λ) and reflection R(λ). For an infinite periodic structure the Bloch condition cos(kΛ) = (T₁₁ + T₂₂)/2 separates propagating bands (|cos| ≤ 1) from stop bands or photonic band gaps (|cos| > 1, no real Bloch wavevector). The canvas shows the layer stack, spectra with gap shading, and the trace of the period matrix versus wavelength; a quarter-wave preset illustrates a high-reflectance band near the design wavelength. Assumptions: normal incidence, scalar TE matrices, lossless dielectrics, and semi-infinite air cladding on both sides.

Who it's for: Undergraduate photonics and solid-state optics students after thin films and before full 2D/3D photonic crystal band-structure solvers.

Key terms

  • Photonic crystal
  • Photonic band gap
  • Transfer matrix
  • Bloch theorem
  • Stop band
  • Bragg stack
  • Quarter-wave mirror
  • Multilayer interference

Live graphs

1D photonic crystal

1.46
2.4
260 nm
180 nm
8
400 nm
1200 nm
800 nm

TE transfer-matrix stack: alternating n₁,d₁ and n₂,d₂ bilayers. Transmission/reflection vs λ for finite N; stop bands where |Tr(M_period)/2|>1 (no real Bloch k).

Measured values

Period Λ440 nm
T at probe30.6 %
R at probe69.4 %
Tr(M)/21.001 (gap)

How it works

1D photonic crystal: alternating n₁/n₂ layers, transfer-matrix transmission spectrum, and stop bands where the Bloch trace exceeds unity.

Key equations

cos(kΛ) = (T₁₁ + T₂₂)/2 · |·|>1 → stop band
TE transfer matrix per layer; stack M^N, air | stack | air

Frequently asked questions

What is a stop band?
A frequency range where |Tr(M_period)/2| > 1 so no real Bloch wavevector k exists in the infinite periodic limit — waves cannot propagate through the crystal as extended states.
Why does a λ/4 stack reflect strongly?
When n₁d₁ ≈ n₂d₂ ≈ λ/4, reflections from successive interfaces add in phase, producing a wide high-reflectance band centered near λ — the basis of distributed Bragg reflectors.
Why do more periods sharpen the features?
Each period contributes coherent partial reflections; increasing N sharpens transmission dips and raises peak reflectance inside stop bands for a finite stack.
What is left out?
Oblique incidence, TM polarization, absorption, dispersion n(λ), and defect modes inside the gap are not modeled.