Fresnel Equation Calculator

Greg A. Smith

The calculator below uses JavaScript to provide quick computation of the Fresnel equations. To learn the concepts represented by this plot, please view the Fresnel equation description page.

+

Software download

Open-source code and test cases are provided for a few programming languages commonly used in optical science and engineering.

Language* File Tested with
C language Fresnel.c Debian gcc 10.2.1-6
JavaScript® Fresnel.js V8 10.4.132.23
Mathematica® Fresnel.nb Mathematica 13.1.0.0
MATLAB® Fresnel.m MATLAB 2022a
Python® Fresnel.py Python 3.9.2

Note: To keep this webpage focused on the calculator, the math and discussion have been removed. I am happy to discuss these results further, and the code for these pages is commented, so take a look or ask me a question.