Refraction in Glassware: How to Calculate the Apparent Depth of Objects

Refraction, the bending of light as it crosses the boundary between two transparent media, governs a host of everyday optical illusions—from a straw that looks broken in a glass of water to a coin that appears to float just beneath the surface of a pool. When light moves from a denser medium (water, glass) into a less dense one (air), it bends away from the normal, causing objects submerged in the denser medium to appear shifted in position. Specifically, they appear shallower than they actually are. This discrepancy between the real depth and the apparent depth is a direct consequence of Snell’s law and the refractive indices of the materials involved.

Understanding how to calculate apparent depth is crucial for engineers designing optical systems, scientists working with underwater instruments, and hobbyists building simple refractometers. This article provides a thorough explanation of the physics, derives the key formula, walks through multiple examples, and explores practical applications in manufacturing, safety, and measurement.

Fundamental Physics of Refraction

Refraction arises because the speed of light depends on the optical properties of the medium through which it travels. The refractive index (n) of a material is defined as the ratio of the speed of light in a vacuum (c) to its speed in that material (v):

n = c / v

Typical refractive indices (for light near 589 nm, the sodium D-line) are:

  • Air: ≈ 1.0003 (often approximated as 1.00)
  • Water: ≈ 1.333
  • Fused quartz: ≈ 1.458
  • Crown glass: ≈ 1.52
  • Flint glass: ≈ 1.62 – 1.75
  • Diamond: ≈ 2.417

When light passes from a medium with a higher refractive index (e.g., water) into one with a lower index (air), its speed increases and it bends away from the normal. The precise angular relationship is given by Snell’s law:

n1 sin θ₁ = n2 sin θ₂

where n₁, θ₁ refer to the medium of incidence, and n₂, θ₂ to the medium of transmission. For an observer looking into a body of water or through a glass block, light rays from an underwater object strike the interface and refract. The observer’s brain projects those rays backward along straight lines, creating a virtual image at a shallower depth.

Real Depth vs. Apparent Depth

Real depth (d) is the actual vertical distance from the plane surface of the medium to the object. Apparent depth (da) is the perceived depth at which the virtual image appears to lie. For normal incidence—that is, looking straight down perpendicular to the surface—the relationship simplifies beautifully:

da = d / n

where n is the refractive index of the medium containing the object, and the observer is assumed to be in a medium of refractive index 1 (air). This formula is exact for paraxial rays (rays that make very small angles with the normal) and is a good approximation for everyday viewing when the observer’s eye is directly above the object.

Deriving the Formula for Normal Incidence

Consider a point object O at a real depth d beneath the surface of water (n = nw). A light ray from O strikes the surface at point P at a small angle to the normal. When the ray exits into air (n ≈ 1), it bends away from the normal. The observer’s eye receives the ray as if it originated from a virtual image I located along the line that continues the emergent ray backward into the water. Using Snell’s law and the small-angle approximation (sin θ ≈ tan θ), the geometry of the triangle O-P–the point where the ray emerges–yields the relation:

da tan θ₂ = d tan θ₁

and since Snell’s law gives nw sin θ₁ = sin θ₂, for small angles we have nw θ₁ ≈ θ₂. Substituting into the tangent relationship leads directly to da = d / nw. The same reasoning applies for any transparent solid or liquid. If the observer is not in air, the apparent depth formula generalizes to da = d × (nobserver / nobject), but in most practical cases the observer is in air.

Step-by-Step Calculation Examples

Example 1: A Coin in a Swimming Pool

A coin lies at the bottom of a pool, 2.0 m below the surface. The refractive index of water is 1.33. When viewed from directly above, what is its apparent depth?

Apply da = d / n = 2.0 m / 1.33 ≈ 1.50 m. The coin appears 50 cm shallower. This explains why pools often look shallower than they are, a common hazard for inexperienced swimmers.

Example 2: A Scratch in a Glass Block

A glass block (n = 1.52) has a small internal scratch 8.0 cm from the top surface. Looking straight down, where does the scratch appear?

da = 8.0 cm / 1.52 ≈ 5.26 cm. The scratch appears roughly 2.74 cm closer to the surface. This effect is important when inspecting glass for defects: the apparent position of a flaw shifts depending on the thickness and refractive index of the glass.

Example 3: Two Transparent Layers

More interesting (and realistic) is the case of layered media. Suppose a container holds water (n₁ = 1.33, depth = 15 cm) over a layer of glass (n₂ = 1.50, depth = 10 cm). A mark is on the bottom of the glass layer. What is the apparent depth of that mark when viewed from above in air?

Because the light must travel through both layers, the total apparent depth is the sum of the apparent depths contributed by each layer:

da, total = d₁/n₁ + d₂/n₂ = 15/1.33 + 10/1.50 ≈ 11.28 cm + 6.67 cm = 17.95 cm. The real total depth is 25 cm, so the mark appears about 7 cm shallower. This additive property holds for normal incidence and is widely used in optics to compute the effective optical path length through multi-element windows or coated lenses.

Example 4: Oblique Viewing – A Decrease in Apparent Depth

When the observer looks from an angle away from the normal, the apparent depth becomes even smaller. The exact expression for the perceived depth at an angle of incidence θ₁ (in air) is:

da(θ) = d × cos θ₁ / ( n × cos θ₂ )

where θ₂ is the angle of refraction inside the medium, given by Snell’s law: n sin θ₂ = sin θ₁. For a small incidence angle, the formula reduces to the normal-incidence result. For larger angles, the apparent depth can shrink by 20–30%. For instance, if you look at a fish in a pond from the side rather than directly above, it appears both shallower and smaller, an effect compounded by the curvature of the water surface if there are ripples.

Factors That Influence Apparent Depth

Several physical and observational factors modify the simple d/n relationship:

  • Viewing angle: As noted, oblique angles reduce apparent depth further. At a glancing angle, the image can shift drastically.
  • Medium dispersion: Refractive index varies with wavelength. For white light, the apparent depth is slightly different for each color, causing chromatic aberration at the edges of the virtual image. This is why a straw in water may show colored fringes.
  • Temperature and pressure: The refractive index of water decreases about 0.0001 per °C rise in temperature. For large bodies of water, thermal gradients can create slightly different apparent depths.
  • Surface curvature: If the surface is curved (e.g., a glass sphere or a water droplet), the geometry changes and the image position must be computed using ray tracing, not the simple plane-interface formula.
  • Multiple layers: As shown above, each layer contributes additively when the interfaces are parallel.

Practical Applications of Apparent Depth Calculations

Accurate knowledge of apparent depth is critical in many fields. Here are six notable examples:

  1. Optical instrument design: Lenses, windows, and prisms must be designed so that the image formed by the system is at the intended plane. When a lens is housed behind a glass window (e.g., an underwater camera housing), the apparent position of the sensor or film shifts; designers compute da to adjust the focal distance accordingly. Many refractive index tables provide precise values for common optical glasses.
  2. Underwater documentary and photography: Cameras in waterproof housings typically have a flat or dome window. A dome window introduces additional spherical aberration and apparent depth shift; the photographer must compensate by reframing or adjusting focus. Understanding the da formula helps predict the change in the subject’s apparent distance.
  3. Swimming pool and aquarium safety: Lifeguards are trained to recognize that a pool’s depth appears shallower than it is, particularly with clear water. Calculating the actual depth from the apparent depth using d = n × da can prevent diving accidents. Similarly, aquarium glass thickness is engineered so that the apparent depth of an animal does not mislead visitors into thinking they can touch it.
  4. Non-destructive thickness measurement: In glass manufacturing, the thickness of a plate can be measured optically by focusing a microscope on the top surface and then on an internal reflection or a marking at the bottom. The difference in focus positions gives the apparent depth, and the real thickness is obtained using the known refractive index. This method is quick and accurate for transparent materials.
  5. Oceanography and hydrology: Researchers measuring the depth of a water column using optical methods (e.g., LiDAR or submarine imaging) must correct for refraction at the water surface and, if applicable, at sediment layers. The simple additive formula for layered media is a first approximation; more advanced models account for wave-induced surface slopes.
  6. Gemology and jewelry: The apparent depth of a gemstone facet as seen through the crown is used to estimate the gem’s refractive index. A gemologist can measure the critical angle of total internal reflection or use a refractometer; the apparent depth formula provides a quick check for clarity analysis.

Experimental Verification and Measurement of Refractive Index

One of the cleanest classroom demonstrations of refraction uses a simple apparatus to measure the apparent depth of an object and thereby determine the refractive index of a liquid or solid. Here is a step-by-step method suitable for a laboratory:

  1. Fill a transparent container with the liquid to be tested. Place a vertical ruler inside, with its zero mark at the bottom.
  2. Position a probe (e.g., a sharpened pencil tip) so that it touches the bottom of the container at a known depth d (read from the ruler). Mark the water level on the ruler.
  3. From directly above, slide a second pointer (or a moving crosshair in a microscope) until it appears to coincide with the tip of the probe. Record the apparent depth da from the same ruler (as read through the water).
  4. Compute n = d / da. For water, the result should be close to 1.33. Repeat for several depths to average out random errors.

With a calibrated microscope equipped with a fine-focus micrometer, the precision can reach ±0.02 mm, yielding refractive index values accurate to three significant figures. Such setups are used in materials characterization laboratories. The method also works for transparent solids: simply place a block on a stage, focus on a scratch on the bottom, then focus on the top surface and subtract to get the apparent thickness.

For oblique viewing, the effective index can be obtained by measuring da at several known angles and fitting to the full Snell’s law relation. This is sometimes used in prototype refractometers designed for field use.

Common Misconceptions Addressed

Several persistent misunderstandings about apparent depth deserve correction:

  • “The object appears larger or closer because of magnification.” Refraction alone does not magnify. The virtual image is formed closer to the observer, which increases its angular size—but that is a consequence of the changed distance, not a linear magnification of the image itself. The formula for lateral magnification in refraction is m = (n₁ cos θ₁) / (n₂ cos θ₂); for normal viewing, m = 1, meaning no lateral enlargement.
  • “The apparent depth is constant regardless of viewing direction.” As seen with oblique viewing, the apparent depth decreases as the line of sight tilts away from the normal. The formula da = d / n holds exactly only for paraxial rays. For a rigorous calculation at any angle, the full Snell’s law geometry must be used.
  • “Light travels in a straight line inside the medium, so the apparent depth is the same as real.” Inside the medium, light does travel in straight lines—but the change in direction at the interface creates the illusion of a bent path. Without refraction, the image would be exactly at the real position. It is the bending that shifts the virtual image.
  • “The formula da = d / n can be applied for any transparent material, regardless of thickness.” The formula assumes parallel flat interfaces and paraxial viewing. For thick media, subtle aberrations occur, and for curved surfaces the approximation fails completely.

Advanced Considerations and Extensions

For practitioners who need more than a first-order approximation, several refinements can improve accuracy:

  • Paraxial ray tracing: Commercial lens design software treats each interface with Snell’s law in full vector form, computing exact image positions for off-axis points.
  • Dispersion corrections: If the illumination is polychromatic, the apparent depth for each wavelength differs slightly. This chromatic effect can be quantified using the Abbe number of the material.
  • Non-parallel interfaces: In a prism or a wedge, the apparent position of an object seen through the glass can shift both in depth and laterally. The geometry then becomes a four-variable problem involving refraction at two surfaces.
  • Total internal reflection and critical angle: When the angle of incidence inside the denser medium exceeds the critical angle (given by sin θc = n₂/n₁), no refraction occurs—the light reflects back. This phenomenon is exploited in fiber optics and refractometers but does not directly affect the apparent depth of objects viewed from above, because the light path is not transmitted to the observer.

Tables for Quick Reference

For a typical set of materials, here are approximate apparent depth ratios (da / d) for normal incidence:

MediumRefractive Index (n)Apparent Depth Ratio
Water1.330.752
Fused quartz1.460.685
Crown glass (BK7)1.5170.659
Flint glass (F2)1.6200.617
Diamond2.4170.414

Conclusion

Calculating the apparent depth of objects in glassware, water, and other transparent media is a practical skill rooted in the elegant physics of refraction. The simple formula da = d / n provides accurate results for normal viewing and forms the basis for more complex treatments involving layered media and oblique angles. From designing underwater camera housings to ensuring pool safety and measuring glass thickness, the ability to translate real depth to apparent depth—and vice versa—is invaluable. By mastering this relationship, anyone working with optical systems or simply curious about everyday optics gains deeper insight into how light shapes our perception of the world.

For those who wish to dive further into the mathematics and experiments behind refraction, reliable resources include the Snell’s Law entry on Wikipedia, the Physics Classroom tutorial on refraction and image formation, and a comprehensive refractive index database maintained by researchers. These sources provide both theoretical background and practical data for common and exotic optical materials.