Optics Prism Calculator: Angle & Deviation
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the angle of deviation for light passing through a triangular prism, and the minimum deviation angle when the prism is set at the angle that produces the least bending. You enter the prism’s apex angle (the angle at the top of the triangle) and the refractive index of the glass (typically 1.5 for standard crown glass), and you get the deviation angle for a light ray passing through symmetrically.
Formula
For a light ray passing through a prism symmetrically (the most common situation in optics problems), the deviation angle δ is given by:
δ = A + 2·arcsin( √(n² − sin²(A/2)) · sin(A/2) − cos(A/2) · sin(A/2) )
where:
- δ = angle of deviation (degrees) — the angle between the incoming ray and the outgoing ray
- A = apex angle of the prism (degrees) — the angle at the top of the triangular cross-section
- n = refractive index of the prism material (unitless) — how much the material slows light relative to vacuum
For the minimum deviation (when the ray passes through symmetrically), the formula simplifies to:
δ_min = 2·arcsin( n·sin(A/2) ) − A
This is the classic textbook formula found in optics references. The calculator above uses the full formula for the general deviation, which for a symmetric ray equals δ_min.
Worked Example
Let’s use the default values: a prism with apex angle A = 60° and refractive index n = 1.5 (standard crown glass).
- First compute A/2 = 30°.
- sin(30°) = 0.5.
- n² = 2.25, sin²(30°) = 0.25, so n² − sin²(A/2) = 2.25 − 0.25 = 2.0.
- √2.0 = 1.4142.
- 1.4142 × 0.5 = 0.7071.
- cos(30°) = 0.8660, so 0.8660 × 0.5 = 0.4330.
- 0.7071 − 0.4330 = 0.2741.
- arcsin(0.2741) = 15.9° (approximately).
- δ = 60° + 2 × 15.9° = 60° + 31.8° = 91.8°.
The calculator shows 91.8° for the deviation angle. The minimum deviation formula gives: 2·arcsin(1.5 × 0.5) − 60° = 2·arcsin(0.75) − 60° = 2×48.59° − 60° = 97.18° − 60° = 37.18°, which matches the second output.
Why the Deviation Angle Matters
When light passes through a prism, it bends twice — once entering and once leaving. The total bending is the deviation angle. This is the basis for many optical instruments:
- Spectrometers use prisms to separate white light into colors; each wavelength has a slightly different refractive index, so each color deviates by a different angle.
- Binoculars and periscopes use prisms to fold the light path and invert images, relying on total internal reflection rather than refraction.
- Laser optics use prisms to steer beams precisely; knowing the deviation angle is critical for alignment.
The minimum deviation angle is especially important because it is the angle at which the prism causes the least chromatic aberration and is easiest to measure experimentally. In fact, measuring the minimum deviation of a prism is a classic method to determine the refractive index of a material.
How to Choose Prism Parameters
For most educational or hobbyist applications, you’ll use a standard 60° prism made of borosilicate crown glass (n ≈ 1.5). But the calculator works for any combination:
- Apex angle: Common values are 30°, 45°, 60°, and 90°. Larger angles produce larger deviations but also increase the chance of total internal reflection at the second face, which makes the prism unusable for refraction.
- Refractive index: Typical glasses range from 1.4 to 1.9. Flint glass (n ≈ 1.6–1.7) gives higher dispersion, which is useful for spectroscopy but can cause more chromatic aberration in imaging.
- Total internal reflection limit: For a given n, the maximum apex angle that still allows light to exit is roughly A_max = 2·arcsin(1/n). For n=1.5, that’s about 83.6°. A 90° prism with n=1.5 will not work for symmetric passage — the light will be totally internally reflected.
If you’re designing an experiment, start with the standard 60° prism and adjust from there. The calculator helps you quickly check whether a given combination will produce the deviation you need.
Common Mistakes and Misconceptions
One frequent error is using the refractive index of the prism relative to air but forgetting that the formula assumes the prism is surrounded by air (n=1). If the prism is in water or another medium, you must use the relative refractive index (n_prism / n_medium).
Another mistake is confusing the apex angle with the angle of incidence. The apex angle is a fixed property of the prism; the angle of incidence is the angle between the incoming ray and the normal to the first face. The formula above assumes the ray passes symmetrically — meaning the angle of incidence equals the angle of emergence. If the prism is rotated, the deviation increases, and the full formula becomes more complex.
Also, the calculator gives the deviation for a single wavelength (monochromatic light). In real white light, each color deviates slightly differently, so you would see a spectrum. The deviation angle for the middle of the spectrum (yellow-green) is often used as a reference.
Limits of the Formula
The formula assumes the prism is made of a homogeneous, isotropic material with a constant refractive index. It does not account for:
- Chromatic dispersion — the variation of n with wavelength, which causes different colors to deviate differently.
- Temperature effects — the refractive index of glass changes slightly with temperature, usually by a few parts per million per degree Celsius.
- Non-symmetric ray paths — if the ray does not pass symmetrically, the deviation is larger than the minimum, and the simple formula does not apply.
For most educational purposes, these effects are negligible. But if you need high precision (e.g., for laser interferometry), you must account for them.
Frequently Asked Questions
What is the minimum deviation angle of a 60° prism with n=1.5?
Using the formula δ_min = 2·arcsin(1.5·sin(30°)) − 60° = 2·arcsin(0.75) − 60° ≈ 37.18°. This is a classic result: a 60° crown glass prism deviates light by about 37° at minimum deviation.
Can I use this calculator for a right-angle prism (45-45-90)?
Yes, but be careful. A right-angle prism is often used in total internal reflection mode, where light enters one face, reflects off the hypotenuse, and exits the other face. That’s a different optical path and not what this calculator computes. If you use it as a refracting prism with A=45° and n=1.5, the deviation is about 29.5°, but light will not pass through symmetrically for all angles of incidence.
What is the maximum apex angle before total internal reflection occurs?
For a prism in air, total internal reflection at the second face occurs when the angle of incidence inside the prism exceeds the critical angle. For symmetric passage, the maximum apex angle is A_max = 2·arcsin(1/n). For n=1.5, that’s about 83.6°. Beyond that, light cannot exit the prism.
How do I measure the refractive index of a prism?
Place the prism on a spectrometer, shine a monochromatic light source at it, and rotate the prism until the deviation is minimal. Measure that minimum deviation angle δ_min. Then use the formula n = sin((A+δ_min)/2) / sin(A/2). This is a standard laboratory method.
Why does the deviation angle matter for prisms in binoculars?
Binoculars use prisms to fold the light path and correct image orientation. In that case, the prisms operate by total internal reflection, not refraction, so the deviation angle is 180° (the light is turned back). The refractive index still matters for the critical angle, but the deviation formula here applies to refracting prisms, not reflecting ones.
Does the deviation angle depend on the color of light?
Yes, because the refractive index varies with wavelength. For crown glass, n is about 1.52 for blue light and 1.50 for red light. This causes the deviation to be slightly larger for blue light, which is why a prism spreads white light into a rainbow. The calculator uses a single n, so it gives the deviation for one color at a time.
Related
Formula used
in A | Prism apex angle (A) | degrees | 60 | 0 in n | Refractive index (n) | - | 1.5 | 1 out dev | Deviation angle (δ) | degrees | A + 2*asind(sqrt((n^2 - sind(A/2)^2)) * sind(A/2) - cosd(A/2)*sind(A/2)) | 2 out min_dev | Minimum deviation (δ_min) | degrees | 2*asind(n*sind(A/2)) - A | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.