i Informopedia.com
Physics Tier 1 · Public

Why Is Glass Transparent? The Physics Behind Clear Glass

2,386 words 12 min read Updated November 17, 2026

A window is solid: you can lean on it, it keeps out the rain, and if you drop it, it shatters. Yet light passes through it as if it were not there at all. How can something so hard and solid be so nearly invisible?

The answer is not that glass is full of holes, or that light slips between its atoms. It is that light and glass speak different languages of energy — and for visible light, glass has nothing to say back. This guide explains why glass is transparent, why it still blocks ultraviolet light and traps heat, why metals are opaque, and why some glass is coloured anyway.

The short answer

Glass is transparent because its electrons need more energy to jump to a higher level than a photon of visible light can give them. Visible light carries about 1.6 to 3.1 electronvolts of energy per photon. Silica glass electrons need roughly 9 electronvolts to make the jump. The light simply does not have enough energy to be absorbed, so it passes through — almost untouched.

That single fact, called the band gap, explains nearly everything about glass: why it is clear, why it blocks sunburn-causing ultraviolet, and why it traps infrared heat in a greenhouse.

What “transparent” really means

When light hits a material, only three things can happen to it. It can be reflected, bouncing off the surface; it can be absorbed, its energy swallowed by the material; or it can be transmitted, passing through to the other side. A material looks transparent when almost all the light is transmitted and almost none is absorbed or scattered. A little does reflect — about 4 percent off each surface of a pane, which is why you can faintly see your own reflection in a window at night.

Scattering matters as much as absorption. A snowdrift is made of ice, and ice is transparent — yet snow looks white because every tiny crystal scatters light in a different direction until none of it travels straight through. Frosted glass works the same way: its rough surface scatters light, so you see brightness but not shapes. Ordinary window glass is different. It is smooth on a scale smaller than the wavelength of light, and its internal structure has no grains or boundaries to scatter rays, so light travels straight through.

Light travels in packets — and the packets have to match

Think of light not as a continuous wave but as packets of energy called photons. Each photon carries an amount of energy set by its colour: blue and violet carry more than red, and ultraviolet carries more still.

Inside a solid, electrons sit at particular energy levels, like rungs on a ladder. An electron can only absorb a photon if the photon’s energy matches the gap between its current rung and a higher one — not too little, not too much, but exactly right. If no gap matches the photon’s energy, the electron cannot take it, and the photon sails on past.

The band gap: the one number that decides it

In a solid, the electrons’ energy levels merge into broad ranges called bands. The band the electrons normally occupy is the valence band; the next one up is the conduction band. The forbidden zone between them is the band gap, and its size decides what light a material can absorb.

For pure silica — the silicon dioxide that glass is mostly made of — the band gap is about 9 electronvolts. Visible light tops out at about 3.1 electronvolts. No visible photon comes near the energy needed, so none can be absorbed; they pass through as if the glass were empty space. The same rule explains materials that look nothing like glass:

Material Band gap What happens to visible light
Silicon About 1.1 eV Absorbed — silicon looks dark grey and metallic
Diamond About 5.5 eV Passes through — diamond is transparent
Silica glass About 9 eV Passes through — glass is transparent
Quartz crystal About 9 eV Passes through — quartz is transparent

Silicon and diamond are both crystals — silicon is the stuff of computer chips, diamond a gemstone — yet one is opaque and the other clear, and the band gap is the reason. Penn State’s materials science course puts it plainly: in glass, the energy levels are spaced so far apart that a photon of visible light cannot provide enough energy for an electron to jump between them, so the photon passes by instead of being absorbed. (Penn State, MATSE 81: Why is Glass Transparent?)

Why glass blocks ultraviolet light

If glass lets visible light through, why can’t you get a tan through a window? Because ultraviolet photons carry more energy — from about 3.1 electronvolts up into the tens — and once photons reach the energies that match the gaps in glass, absorption switches on.

Pure fused silica, the laboratory-grade form of glass, has its absorption edge at about 8 to 9 electronvolts, which corresponds to deep ultraviolet light around 150 nanometres. That is why quartz windows are used in ultraviolet lamps: they stay transparent far into the ultraviolet. A first-principles study puts silica glass’s absorption edge at 8–9 eV, the widest of any known amorphous oxide. (First-principles analysis of the optical absorption edge in SiO₂ glass, Journal of Non-Crystalline Solids)

Ordinary window glass is less pure. It contains soda, lime and traces of iron, and those impurities add energy levels inside the band gap, so window glass starts absorbing below about 350 nanometres — covering almost all of the ultraviolet-B rays that cause sunburn, and a good part of ultraviolet-A. That is why sitting behind a closed window will not give you sunburn under normal conditions, even though the room feels bright.

Why glass also traps heat

Glass is transparent to visible light but nearly opaque to the far-infrared that warm objects give off. The reason differs from the band gap: infrared photons are too weak to excite electrons, but their energy matches the vibrations of the silicon–oxygen bonds in the glass. The bonds soak up the infrared and turn it into heat, so the radiation never gets through.

This is the physics behind the greenhouse effect in a literal greenhouse. Sunlight, mostly visible light, streams through the glass and warms the soil and plants inside. Those warm surfaces re-radiate their heat as far-infrared — and the glass, opaque to infrared, holds it in. (Blocking convection helps too: the glass stops warm air escaping.)

Light also slows down inside glass. Its refractive index is about 1.5, which means light travels through glass at roughly 200,000 kilometres per second instead of 300,000 in a vacuum. That slowing and bending — refraction — is what makes lenses work. Our guide to why nothing can travel faster than light explains the speed limit itself.

Why metal is opaque when glass is not

Metals fail the test in the opposite way: a metal has free electrons, not tied to any single atom, roaming through the whole piece. Those electrons can absorb photons of almost any energy, because there is always a slightly higher energy state available. Visible light is absorbed within a few dozen atomic layers; what is not absorbed is reflected by the same free electrons. That is why metals shine: the free electron sea is both a perfect absorber and a perfect mirror.

Glass has no free electrons. Every electron is locked into a chemical bond between silicon and oxygen, and those bonds only accept photons of very specific, very high energies. So metals reflect and absorb, while glass transmits — and the difference is not about density or hardness, but about whether the electrons are free to move.

So why is some glass coloured?

If pure glass lets all visible light through, colour has to be added, and glassmakers have done it for thousands of years with tiny amounts of metal compounds. The added atoms introduce new energy levels inside the band gap, at exactly the energies of particular colours, so those colours get absorbed while the rest pass through.

Cobalt makes glass deep blue. Iron makes it green, which is why the edges of thick window panes and old glass bottles look green. Manganese makes purple. The most famous case is ruby glass, coloured red by vanishingly small particles of gold — the same gold that looks yellow in a ring turns glass crimson as nanoparticles, because they resonate with green light and scatter it away. Copper can make glass red or turquoise, and selenium and cadmium make the bright reds and oranges of traffic lights.

In every case the rule is the same: the colour you see is the light the glass did not absorb — a blue bottle looks blue because its glass swallowed the reds, oranges and yellows.

What glass is actually made of

Window glass is mostly sand — silicon dioxide, the same mineral as quartz — melted with soda ash and limestone. Pure silica melts at about 1,700 °C, far too hot for easy manufacturing, so soda ash is added to bring the melting point down to around 1,400 °C, and lime is added to stop the finished glass dissolving in water.

What makes glass different from quartz, which has the same chemistry, is the arrangement of the atoms. Quartz is a crystal: its silicon and oxygen atoms sit in a neat, repeating pattern. Glass is an amorphous solid: as the molten mixture cools, the atoms freeze in place before they can organise into a crystal, so the structure stays disordered, like a liquid stopped mid-flow. That disorder is part of why glass is transparent: it has no grain boundaries to scatter light, just one continuous random network.

Because glass has no crystal structure, it has no sharp melting point either. Heat it and it softens gradually, passing through a glass transition at around 550–600 °C for window glass, until it flows like a thick liquid. That gradual softening is what makes glassblowing possible.

Is glass a slow-moving liquid?

The old story says cathedral windows are thicker at the bottom because glass flows downward over centuries. It is wrong.

In 1998, the materials scientist Edgar Dutra Zanotto calculated how long window glass would actually take to flow at room temperature, using measured viscosity curves for medieval and modern glass. His answer, published in the American Journal of Physics, was that cathedral glass would need far longer than the age of the universe to deform by a visible amount — for one type of glass the calculated relaxation time at room temperature was 1032 years. (Zanotto, “Do cathedral glasses flow?”, American Journal of Physics 66(5), 1998)

So why are old panes thicker at the bottom? Because of how they were made. Medieval glass was spun into discs or blown into cylinders and flattened — processes that produced sheets of uneven thickness. Glaziers installed the panes thick-edge-down, because that was the stable way to fit them. The unevenness was there from the day the window was installed, not added by centuries of slow flow. Glass is an amorphous solid: its atoms are arranged like a liquid’s, but they do not move.

The same rule explains quartz, ice and diamond

Once you know the band-gap rule, a whole set of everyday mysteries collapses into one idea. Quartz is transparent because it is crystalline silicon dioxide with the same wide band gap as glass. Ice is transparent because water’s band gap is also far wider than the energy of visible light. Diamond is transparent because its band gap is about 5.5 electronvolts, comfortably above visible light. Silicon, with a gap of just 1.1 electronvolts, absorbs visible light and looks dark. Water’s own strange behaviour — including why it is densest at 4 °C — comes from the same molecular world; our guide to why water is so weird takes that story further.

Even the blue sky is part of the same physics: air is transparent for the same reason, and the blue is scattered light, stronger for short blue wavelengths than for long red ones. Our guide to why stars twinkle but planets don’t looks at light’s longer journey through that same air.

Frequently asked questions

Why is glass transparent but plastic is not always?

Many plastics are transparent for the same reason — acrylic and polycarbonate are clear. Plastics that look milky, like a milk jug, are not absorbing the light; they are scattering it. Their structure is partly crystalline, and the tiny crystals scatter light in all directions, just like snow.

Can you get sunburned through a window?

Not under normal conditions. Window glass blocks almost all ultraviolet-B, the rays that cause sunburn, and much of ultraviolet-A. Some ultraviolet-A gets through, so very long exposure is not completely harmless — but for everyday purposes a closed window is an effective sunburn shield.

Why does glass look green at the edges?

The green comes from iron impurities in ordinary soda-lime glass. Iron absorbs a little red light; through the thin face of a pane the effect is too small to notice. Look through the long edge of a thick pane, and the light has travelled far enough for the absorption to add up — so the edge looks green.

Is glass a liquid or a solid?

It is an amorphous solid. Its atoms are arranged in a disordered pattern like a liquid’s, but at room temperature they do not move, and the glass does not flow. Calculations show it would take far longer than the age of the universe for a cathedral window to sag measurably.

Why is quartz transparent but sand is not?

Sand is mostly tiny grains of quartz, each transparent on its own. But a pile of sand scatters light at every grain boundary, so light never travels straight through — the same reason snow looks white although ice is clear. Melt the sand into one continuous piece of glass, and the scattering disappears.

The takeaway

Glass is transparent because of a mismatch of energies. Its electrons need about 9 electronvolts to jump, and visible light can only offer about 3. With nothing to absorb the light and nothing to scatter it, photons cross a solid pane as if it were not there. Ultraviolet, carrying more energy, is absorbed — which is why windows block sunburn. Infrared, matching the vibrations of the glass itself, is absorbed too — which is why greenhouses stay warm. Metals, with their free electrons, absorb and reflect everything. And a pinch of cobalt or gold, slipped into the melt, is all it takes to turn clear glass blue or ruby red. One number, the band gap, decides the whole story — the same number that makes silicon dark, diamond clear, and the sky blue.

More in Physics

Physics Tier 1 · Public

Why Can’t Anything Travel Faster Than Light?

In 1887, two American physicists set out to measure something they were certain existed, and found nothing at all. Albert Michelson and Edward Morley built an exquisitely sensitive instrument to detect the…

1,628 words 8 min read November 3, 2026