Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Miscellaneous > Physics Calculators > Snell's Law Calculator

Snell's Law Calculator

Apply Snell's Law to compute the angle of refraction, the refractive index, the critical angle for total internal reflection, and Brewster's polarization angle. Pick from a built-in material library (water, glass, diamond, fiber optic and more), or enter custom indices, then watch the incident, refracted, and reflected rays animate on an interactive light-ray diagram.

Snell's Law Calculator
⚡ Quick examples
1 What do you want to solve?
The other inputs you'll need are auto-highlighted. Critical angle is only defined when n₁ > n₂.
2 Two media at the boundary
The medium the incoming light is in.
The medium the light is entering.
3 Angles
°
Measured from the normal (perpendicular to the boundary), not from the surface.
°
Leave blank if you are solving for θ₂.
Switch between degrees and radians at any time.
nm
For wavelength-in-medium & frequency. 589 nm = sodium-D yellow.

Embed Snell's Law Calculator Widget

About Snell's Law Calculator

The Snell's Law Calculator solves any unknown in the equation \( n_1 \sin\theta_1 = n_2 \sin\theta_2 \) — angle of refraction, angle of incidence, either refractive index, or the critical angle for total internal reflection. Pick from a library of common materials (water, crown glass, diamond, optical-fiber core and cladding, sapphire, and more) or enter your own indices, watch an interactive light-ray diagram with animated photons, and see the speed and wavelength of light inside each medium.

How to Use This Snell's Law Calculator

  1. Choose what you want to solve for: the angle of refraction θ₂, the angle of incidence θ₁, the refractive index n₁ or n₂, or the critical angle for total internal reflection.
  2. Pick the two media. Use the dropdowns to choose from common materials, or select "Custom" and type your own refractive index.
  3. Fill in the angles you know. The angle field for the variable you are solving for is greyed out automatically.
  4. Optional — enter a vacuum wavelength in nanometres (589 nm is the textbook sodium-D yellow line) to also see the wavelength shrink inside each medium.
  5. Press Calculate and read the result, the step-by-step derivation, an animated ray diagram, and bonus outputs like Brewster's polarization angle and the speed of light in each medium.

What Makes This Calculator Different

Universal solver One form, five solve modes. Solve for θ₂, θ₁, n₁, n₂, or the critical angle without flipping between calculators or rearranging the equation by hand.
Interactive ray diagram Two stacked tinted media, the normal line, incident/refracted/reflected rays at exactly the right angles, and animated photons traveling along each ray — the diagram reshapes itself live as you change inputs.
Built-in material library 30+ real materials with refractive indices measured at 589 nm: water, ice, ethanol, glass, fiber optic, diamond, sapphire, moissanite, and more. No more looking up n in a separate table.

The Snell's Law Equation

When light crosses the boundary between two transparent media, the angles (measured from the normal — the perpendicular to the boundary) are related by:

\[ n_1 \sin\theta_1 \;=\; n_2 \sin\theta_2 \]

where \(n_1\) and \(n_2\) are the refractive indices of medium 1 and medium 2, and \(\theta_1\) and \(\theta_2\) are the angle of incidence and the angle of refraction respectively. The refractive index of a medium is defined as the ratio of the speed of light in vacuum to the speed of light in that medium, \(n = c / v\), so a higher index always means light travels more slowly.

Critical Angle and Total Internal Reflection

When light tries to go from a denser medium to a less dense one (n₁ > n₂), the refracted ray bends away from the normal. As θ₁ grows, θ₂ approaches 90° — meaning the refracted ray would skim along the boundary. At the special angle

\[ \theta_c \;=\; \arcsin\!\left(\dfrac{n_2}{n_1}\right) \]

and above it, no real refracted ray exists — all the light bounces back into medium 1. This is total internal reflection, and it is the optical principle behind fiber optic cables, prisms in binoculars, and the way diamonds throw back so much light.

Brewster's Angle (Bonus Output)

Brewster's angle is the angle of incidence at which the light reflected from a transparent surface is completely polarized in the direction perpendicular to the plane of incidence:

\[ \theta_B \;=\; \arctan\!\left(\dfrac{n_2}{n_1}\right) \]

Polarized sunglasses use this fact: the glare reflected off water, roads, and snow near Brewster's angle is mostly polarized horizontally, and a vertical polarizer in the sunglasses blocks most of it. Photographers use a circular polarizing filter for the same reason — to cut reflections from glass and water.

Refractive Indices of Common Materials (at 589 nm)

Material n Where you'll see it
Vacuum1.0000Reference value
Air (1 atm, 20°C)1.0003Treated as 1 in most textbook problems
Ice1.31Glaciers, ice sculptures, halos around the moon
Water (20°C)1.333Swimming pool refraction, fish-pond perception illusion
Ethanol1.361Lab and distilled-spirit optics
Plexiglass / acrylic1.490Aquarium walls, lens prototypes, light pipes
Crown glass (BK7)1.517Telescope and camera lenses, eyeglass crowns
Quartz (crystal)1.544Watch crystals, optical prisms
Polycarbonate1.586Impact-resistant lenses, safety glasses
Flint glass (F2)1.620Achromatic doublets, cut crystal
Sapphire1.769Watch faces, scratch-resistant windows
Cubic zirconia2.150Synthetic diamond simulant in jewelry
Diamond2.417Highest refractive index of any common gem; that's the "fire"
Moissanite2.65Outshines diamond in raw refraction

Worked Example: A Coin in a Pool

Light from a coin at the bottom of a swimming pool travels up through water (n₁ = 1.333) and exits into air (n₂ = 1.0003). If the light leaves the coin at 40° from vertical (the normal), the angle at which it emerges into the air is

\[ \theta_2 \;=\; \arcsin\!\left(\dfrac{1.333}{1.0003} \sin 40°\right) \;\approx\; 59.0° \]

The ray bends away from the normal (because it is going from a denser to a less dense medium), which is exactly why the coin looks shallower and offset from where it actually is. Push the angle higher and at θ₁ ≈ 48.6° the calculator switches to total internal reflection — no light escapes the water at that grazing angle, which is why you cannot see out of a pool sideways from underwater.

Worked Example: Fiber Optic Cable

A typical step-index optical fiber has a core with n₁ ≈ 1.475 and cladding with n₂ ≈ 1.460. The critical angle is

\[ \theta_c \;=\; \arcsin\!\left(\dfrac{1.460}{1.475}\right) \;\approx\; 81.8° \]

Any ray that bounces inside the core at greater than 81.8° from the normal is totally reflected at every wall, so light injected into the end of the fiber stays trapped along the length and can travel kilometers before significant loss. That is the entire physical basis of modern long-distance internet.

Why Light Bends — A Wavefront Intuition

Picture a wavefront of light arriving at the boundary at an angle. The first edge of the wavefront to enter the new medium slows down (or speeds up, if it is going into a lower-index medium) before the rest of the wavefront does. That mismatch in speed across the wavefront twists the direction of the wave, just like a marching band pivots when the line crosses from pavement to mud. Snell's Law is exactly the geometry of that pivot.

Speed of Light and Wavelength in a Medium

Because \(n = c/v\), the speed of light in a medium is \(v = c/n\). In water (n = 1.333) the speed is about 225,000 km/s, in crown glass about 197,500 km/s, and in diamond only 124,000 km/s. The frequency of the light is the same on both sides of the boundary (it has to be — the boundary cannot create or destroy oscillations), so the wavelength inside the medium is

\[ \lambda_{\text{medium}} \;=\; \dfrac{\lambda_{\text{vacuum}}}{n} \]

This is why 589 nm sodium-yellow light has a wavelength of only about 442 nm inside water, even though your eye still sees the same yellow color.

Frequently Asked Questions

What is Snell's Law in simple terms?
When light goes from one transparent material into another at an angle, it bends. Snell's Law is the exact recipe: the refractive index times the sine of the angle (from the normal) is the same on both sides — n₁ sin θ₁ = n₂ sin θ₂.

What is the critical angle?
When light goes from a denser to a less dense medium, there is a steepest angle of incidence beyond which no refracted ray exists — all the light is reflected back. That angle is the critical angle, given by arcsin(n₂/n₁). It is the mechanism behind fiber optics.

What is Brewster's angle?
It is the angle of incidence at which the reflected light is fully polarized perpendicular to the plane of incidence: θ_B = arctan(n₂/n₁). Polarized sunglasses and photo polarizers work because reflections from water, glass, and roads near this angle are strongly polarized.

Why does light bend when it enters water?
Light travels more slowly in water than in air. When a wavefront arrives at an angle, one edge of the front slows down before the rest does, twisting the wave direction toward the normal. Snell's Law fixes the exact amount of twist.

Does the wavelength of light change in a medium?
Yes. Frequency stays the same when light crosses a boundary, but wavelength shortens by a factor of n: λ_medium = λ_vacuum / n. The color you see is unchanged because color is set by frequency, not by wavelength.

Can the refractive index be less than 1?
For visible light in ordinary materials, no — n is always ≥ 1, with vacuum exactly equal to 1. Engineered metamaterials and certain regimes (X-rays in matter, plasmas) can have phase indices below 1 or even negative, but this calculator covers the standard visible/optical regime.

Why do diamonds sparkle?
Diamond has a very high refractive index (n ≈ 2.417), which gives a small critical angle of about 24.4°. Most light that enters a well-cut diamond hits the back facets above that angle, gets totally internally reflected, bounces around inside, and exits through the top — producing the characteristic "fire."

Reference this content, page, or tool as:

"Snell's Law Calculator" at https://MiniWebtool.com/snell-s-law-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-16

Related MiniWebtools:

Physics Calculators:

Top & Updated:

Random PickerRandom Name PickerInstagram User ID LookupImage ResizerLine CounterFPS ConverterSort NumbersRelative Standard Deviation CalculatorRemove SpacesBatting Average CalculatorMAC Address GeneratorFacebook User ID LookupRandom Truth or Dare GeneratorERA CalculatorWord to Phone Number ConverterFeet and Inches to Cm ConverterMAC Address LookupSum CalculatorRandom Quote GeneratorSun, Moon & Rising Sign Calculator 🌞🌙✨Slope and Grade CalculatorPercent Off CalculatorInvisible Text GeneratorRandom Superpower GeneratorRandom IMEI GeneratorAudio SplitterMP3 Looper📷 OCR / Image to TextNumber of Digits CalculatorLog Base 10 CalculatorRoman Numerals ConverterVertical Jump CalculatorSHA256 Hash GeneratorBitwise CalculatorRandom Credit Card Generator⬛ Aspect Ratio CalculatorMerge VideosWord Ladder GeneratorMaster Number CalculatorPhone Number ExtractorRandom Birthday GeneratorSaturn Return CalculatorCm to Feet and Inches ConverterAI Text HumanizerRandom Time GeneratorRandom Meal GeneratorOPS CalculatorSalary Conversion CalculatorIP Subnet CalculatorFile Size ConverterOn Base Percentage CalculatorRandom Fake Address GeneratorRandom Activity GeneratorMercury Retrograde CalendarSquare Root (√) CalculatorCaffeine Overdose CalculatorText FormatterCompound Growth CalculatorNumber to Word ConverterSlugging Percentage CalculatorHalfway Date CalculatorRandom Movie PickerRandom Poker Hand GeneratorWeight Loss CalculatorBattery Life CalculatorDecimal to BCD ConverterYouTube Channel StatisticsStair CalculatorRandom Writing Prompt GeneratorCompare Two StringsRandom Loadout GeneratorVideo to Image ExtractorOctal CalculatorAdd Text to ImageBinary to Gray Code ConverterConnect the Dots Generator🖱️ Click CounterLeap Years List📅 Date CalculatorWAR CalculatorFirst n Digits of PiBreak Line by CharactersLongest Day of the YearNumber ExtractorDay of the Year Calculator - What Day of the Year Is It Today?First Day of SummerLottery Number GeneratorSHA512 Hash GeneratorCM to Inches ConverterArc Length CalculatorDNS LookupBCD to Decimal ConverterWord Scramble GeneratorTime Duration CalculatorVideo CompressorLove Compatibility CalculatorBingo Card GeneratorBolt Torque CalculatorList of Prime NumbersQuotient and Remainder CalculatorWHIP CalculatorImage SplitterProportion CalculatorSun Position Calculator🎰 Gacha Pity CalculatorRandom Number PickerSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Bcrypt Hash Generator / CheckerPercent Growth Rate Calculator🔍 Plagiarism CheckerAstrological Element Balance CalculatorRandom Emoji GeneratorImage CompressorBinary to BCD ConverterPER CalculatorGray Code to Binary ConverterFlip VideoModulo CalculatorIP Address to Hex ConverterAcreage CalculatorRandom Object GeneratorEmail ExtractorSteel Weight CalculatorAI Language DetectorBroken Link CheckerHeight Percentile CalculatorLong Division CalculatorURL ExtractorYouTube Tag ExtractorMartingale Strategy CalculatorHypotenuse CalculatorRemove AccentWhat is my Zodiac Sign?Pregnancy CalendarSocial Media Username CheckerShort Selling Profit CalculatorHebrew Calendar ConverterSummer Solstice DayAPI TesterName Number CalculatorLaw of Sines CalculatorRemove Lines Containing...Outlier CalculatorRandom Group GeneratorAntilog CalculatorFence CalculatorRandom Chord GeneratorMD5 Hash GeneratorVideo SplitterIncome Tax CalculatorAdd Prefix and Suffix to TextMolarity CalculatorRandom Chess Opening GeneratorDay of Year CalendarRandom Name GeneratorWhat is my Lucky Number?Percentile CalculatorMandelbrot Set ExplorerMorse Code GeneratorAdjust Video SpeedList RandomizerRandom Line PickerLunar Calendar ConverterHTML CompressorYouTube Comment PickerMultiplication CalculatorPVIF CalculatorColor Inverter🎲 Loot Drop Probability CalculatorImage EnhancerMultiple Fraction CalculatorSum of Positive Integers CalculatorBoiling Point CalculatorRandomize NumbersCone Flat Pattern (Template) GeneratorPercentage Increase CalculatorPVIFA CalculatorRemove Leading Trailing Spaces🔊 Tone GeneratorBirth Day of the Week CalculatorBonus CalculatorMAC Address AnalyzerTaco Bar CalculatorRandom User-Agent GeneratorRatio CalculatorRandom RPG Character GeneratorSourdough CalculatorRatio to Percentage CalculatorTrigonometric Equation SolverAngel Number CalculatorLinear Programming SolverMegapixel to Print Size CalculatorInvisible Character RemoverAmortization CalculatorRandom Tournament Bracket GeneratorAI Punctuation AdderRemove Audio from VideoAI ParaphraserSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorAverage CalculatorReverse VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorRandom String GeneratorMarkup CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorROT13 Encoder/DecoderAtbash Cipher ToolVigenère Cipher ToolPronunciation IPA ConverterHemingway-Style Readability EditorSentence Length Variance AnalyzerWord Frequency AnalyzerBusiness Days CalculatorAdd Business Days to DateDate Pattern GeneratorHow Long Until CalculatorHow Long Ago CalculatorBirthday Across Cultures CalculatorHijri Calendar ConverterInsulin Sensitivity Factor CalculatorCarb-to-Insulin Ratio CalculatorLean Body Mass to Strength CalculatorOne-Mile Walk Test (Rockport) CalculatorCooper 12-Minute Run CalculatorFFMI CalculatorAPGAR Score CalculatorGlasgow Coma Scale CalculatorWells Score Calculator (DVT/PE)Tennis Score TrackerSoccer xG (Expected Goals) CalculatorCricket Run Rate CalculatorRugby Points CalculatorBoxing Punch Power CalculatorRace Time PredictorSwimming SWOLF CalculatorYoga Pose Hold TimerFishing Knot Strength CalculatorBike Gear Ratio CalculatorClimbing Grade ConverterWine Pairing SuggesterStandard Drink CalculatorCaffeine Half-Life TrackerSpice Substitution FinderDietary Restriction Recipe FilterMarinade Time CalculatorFermentation Time CalculatorSmoking Wood Pairing GuideFreelance Project Pricing CalculatorSaaS Pricing CalculatorSubscription Cost TrackerSide Hustle ROI CalculatorRemote Work Savings CalculatorCoffee Habit Cost CalculatorGym vs Home Workout Cost CalculatorLunch Cost CalculatorWealth Growth Visualizer1031 Exchange CalculatorRental Yield CalculatorCash-on-Cash Return CalculatorBRRRR Method CalculatorSection 8 Rent CalculatorRoommate Rent SplitterAirbnb Pricing OptimizerStatute of Limitations CalculatorSentence Reduction CalculatorSales Tax Nexus CheckerPatent Filing Fee CalculatorTrademark Class FinderWill Asset Distribution CalculatorWorkers' Compensation CalculatorStopping Distance CalculatorTrip Cost SplitterVehicle Weight Distribution CalculatorTrailer Tongue Weight CalculatorTire Tread Wear CalculatorEngine Compression Ratio CalculatorHeadlight Beam Distance CalculatorCat Litter Box CalculatorAquarium Heater Wattage CalculatorBird Cage Size CalculatorReptile Habitat UVB CalculatorPet Travel Crate Size FinderHorse Hay CalculatorCrochet Hook Size ConverterKnitting Needle Size ConverterKnitting Pattern CalculatorCross-Stitch Floss CalculatorQuilt Binding CalculatorOrigami Paper Size CalculatorPottery Clay Shrinkage CalculatorBeading Pattern CalculatorResin Casting Volume CalculatorEmbroidery Thread Length CalculatorHiking Pace Calculator (Naismith's Rule)Backpacking Food Weight CalculatorTent Footprint Size CalculatorSleeping Bag Temperature Rating GuideKnot Tying Reference ToolStar Visibility CalculatorTide Time CalculatorReynolds Number CalculatorBernoulli Equation CalculatorHeat Transfer CalculatorThermal Expansion CalculatorSpecific Heat Capacity CalculatorGear Ratio Calculator (Mechanical)Pulley System CalculatorHydraulic Cylinder Force CalculatorBelt Length CalculatorCloset Capsule CalculatorStorage Unit Size CalculatorMoving Box Quantity CalculatorGift Card Tip CalculatorGas vs Electric Cost ComparisonPrint Cost CalculatorHair Dye Mixing CalculatorLaundry Detergent Dosage CalculatorDishwasher Load OptimizerTile Grout CalculatorPaint Color Mixing CalculatorFlashcard Spaced Repetition SchedulerLearning Curve CalculatorCornell Notes GeneratorVocabulary Quiz GeneratorLanguage Learning Hours to Fluency CalculatorCollege Cost CalculatorScholarship ROI CalculatorAI Recipe Generator (From Ingredients)AI Gift Idea GeneratorAI Meal Plan GeneratorAI Workout Plan GeneratorAI Reading List GeneratorAI Travel Itinerary GeneratorAI Excuse Generator (Polite)AI Apology Letter WriterAI Unit Converter (Natural Language)AI Resume / CV AnalyzerAI Text Tone AnalyzerAI Data Visualizer (Paste CSV)AI Regex GeneratorAI SQL Query GeneratorPaycheck Calculator (Take-Home Pay)VA Loan CalculatorARM Mortgage CalculatorBiweekly Mortgage Payment CalculatorPMI CalculatorMortgage Points CalculatorBalloon Loan CalculatorInterest-Only Mortgage CalculatorConstruction Loan CalculatorLand Loan CalculatorBoat Loan CalculatorRV Loan CalculatorMotorcycle Loan CalculatorCar Affordability CalculatorOut-the-Door Price CalculatorRent Affordability CalculatorProrated Rent CalculatorRent Increase CalculatorMileage Reimbursement CalculatorPer Diem Calculator