Formula and method
E = hc/λ; h = 6.62607015×10⁻³⁴ J·s, c = 299792458 m/s. Inputs must use the units stated above. This calculator performs only the displayed idealized calculation; it does not model unlisted effects.
Worked sample
A 500 nm photon has energy ≈ 3.97×10⁻¹⁹ J.
Validation and limitations
Inputs are checked for finite values and physically required positive quantities. Results are browser-only and are educational estimates; verify assumptions and units before practical use. This is not an engineering or safety certification tool.