A spectrograph is an instrument that splits light into its individual wavelengths and records the resulting pattern, called a spectrum. Think of it as a more sophisticated version of a prism catching sunlight and throwing a rainbow on the wall, except a spectrograph captures that rainbow permanently so it can be measured and analyzed. This recorded spectrum reveals what an object is made of, how hot it is, and whether it’s moving toward or away from you.
How a Spectrograph Differs From Similar Instruments
Three related terms come up often, and the differences are straightforward. A spectroscope lets you look at a spectrum with your eyes in real time. A spectrometer measures specific properties of light across the electromagnetic spectrum. A spectrograph does what both of those do but adds a critical step: it records the spectrum onto a detector, creating a permanent, analyzable dataset. That recording ability is what makes spectrographs so valuable in astronomy, chemistry, and forensics, where you need precise measurements you can revisit and compare.
The Five Core Components
Every spectrograph, whether it fits on a laboratory bench or fills a room at an observatory, shares the same basic optical path with five components working in sequence.
The entrance slit sits at the focal point of whatever is collecting the light (a telescope, a microscope, a fiber optic cable). It restricts incoming light to a narrow beam, which keeps the final spectrum sharp rather than blurry. From there, the light fans out toward the collimator, a mirror or lens that straightens those diverging rays into a parallel beam. This parallel beam then hits the dispersing element, either a prism or a diffraction grating, which is where the actual splitting happens. Each wavelength bends at a slightly different angle, spreading the light into a full spectrum. A camera lens or mirror then focuses that spread-out light onto the detector, which records it.
Older spectrographs used photographic plates as detectors. Modern instruments almost universally use digital sensors. Cooled CCD chips are the current standard for low-light work because they convert incoming photons into electrical signals with high efficiency and very little background noise. CMOS sensors, similar to what’s in your phone camera but far more sensitive, are increasingly common as well.
Prisms vs. Diffraction Gratings
The dispersing element is the heart of any spectrograph, and the choice between a prism and a diffraction grating shapes what the instrument can do. A prism bends light through refraction: shorter (bluer) wavelengths bend more than longer (redder) ones. This works, but it has drawbacks. The spreading isn’t even across the spectrum, bunching up at longer wavelengths. Glass prisms also absorb ultraviolet light, making them blind to that part of the spectrum. And because a single prism doesn’t spread light very far, older instruments sometimes stacked two or three prisms together, which meant more light lost at each glass surface.
Diffraction gratings work differently. They’re surfaces etched with thousands of tiny parallel grooves, sometimes hundreds per millimeter. Light waves reflecting off adjacent grooves interfere with each other, and because different wavelengths interfere constructively at different angles, the light fans out into a spectrum. Gratings spread wavelengths more evenly, work well in the ultraviolet, and can be tuned (or “blazed”) to concentrate light into a specific wavelength range. For these reasons, gratings have largely replaced prisms in scientific instruments.
Spectral Resolution: What the Numbers Mean
Not all spectrographs see the same level of detail. Spectral resolution, labeled R, describes how well an instrument can distinguish two wavelengths that are very close together. It’s calculated as the wavelength you’re observing divided by the smallest wavelength difference the instrument can separate.
An instrument with R below 1,000 is considered low resolution. At that level, you can see the overall shape and color distribution of a spectrum, but individual spectral lines blur together. Intermediate resolution falls between 1,000 and 10,000, enough to pick out the broadest features in starlight or identify major chemical compounds. High resolution, above 10,000, lets you study the narrow, sharp lines that individual atoms and molecules produce. Measuring the precise position and shape of those lines is how scientists extract the most detailed information about composition, temperature, and motion.
Echelle Spectrographs for High Resolution
A standard grating spectrograph faces a tradeoff: higher resolution requires either a bigger grating or working in higher orders of diffraction, both of which make the instrument bulkier and heavier. Echelle spectrographs solve this by using a special coarsely ruled grating at a steep angle, operating at very high orders (sometimes the 50th or 100th). A second, simpler dispersing element spreads those overlapping orders perpendicular to the first, creating a two-dimensional grid of spectral strips on the detector.
This design packs a wide wavelength range and high resolution into a compact instrument. Echelle spectrographs can capture a full spectrum in a single exposure without scanning back and forth, which makes them faster and more practical for applications ranging from observatory telescopes to portable analyzers used in aerospace.
Reading the Stars
Astronomy was the first major application of spectrographs and remains one of the most powerful. When starlight passes through a spectrograph, it produces a spectrum crossed by dark lines at specific wavelengths. Each line corresponds to a chemical element in the star’s atmosphere absorbing light at that wavelength. Absorption lines for the majority of known chemical elements have been identified in the spectra of the Sun and other stars. If iron lines show up, the star contains iron. If sodium lines are stronger in one star than in another star of the same temperature, the first star has more sodium.
Spectral lines also shift position when a star is moving. If a star moves toward Earth, its light waves compress slightly and the lines shift toward the blue end of the spectrum. If it moves away, the lines shift toward red. This is the Doppler effect, and measuring it with a spectrograph lets astronomers calculate a star’s velocity along the line of sight. The same principle is used to detect exoplanets: a planet’s gravitational pull makes its host star wobble back and forth, producing a tiny, periodic shift in the star’s spectral lines.
Beyond composition and motion, spectra reveal temperature and pressure in a star’s atmosphere. The pressure, in turn, provides clues about the star’s physical size. A giant star ionizes more atoms than a Sun-sized star at the same temperature, which changes the pattern of spectral lines in measurable ways.
Applications Beyond Astronomy
Spectrographs have spread into nearly every field that needs to identify materials or monitor chemical processes. In forensics, mass spectrometers (a cousin of optical spectrographs that separates molecules by mass instead of light by wavelength) can analyze the chemical residue on a surface like a phone screen and reconstruct a surprisingly detailed profile of the person who touched it. Researchers have shown that molecular traces can reveal whether someone uses certain cosmetics, medications, sunscreen, or specific foods, enough to narrow down a suspect’s identity even when DNA evidence is limited.
In environmental monitoring and agriculture, spectrographic sensors mounted on satellites and aircraft collect light reflected from Earth’s surface across dozens or hundreds of narrow wavelength bands. This technique, called hyperspectral imaging, can distinguish healthy crops from stressed ones, map mineral deposits across a landscape, monitor water quality in lakes and rivers, and assess damage after natural disasters. Major satellite programs have deployed imaging spectrometers covering applications in vegetation monitoring, geology, urban land use, and disaster management.
Laboratory chemistry relies on spectrographs to identify unknown compounds, measure concentrations of substances in solution, and verify the purity of pharmaceutical products. The same core principle applies in every case: pass light through or bounce it off a sample, spread that light into a spectrum, and read the pattern to learn what’s there and how much of it is present.

