A photon is the fundamental particle of light and all other electromagnetic radiation. Its energy is determined entirely by its frequency or, equivalently, its wavelength: higher frequency means more energy. The relationship is captured by two equivalent formulas. When you know the wavelength, use E = hc divided by lambda, where h is Planck's constant (6.626 times 10 to the power of negative 34 joule seconds) and c is the speed of light in a vacuum (2.998 times 10 to the power of 8 metres per second). When you know the frequency, use E = hf. Because photon energies at the atomic scale are tiny in joules, results are also given in electronvolts (eV), where 1 eV equals 1.602 times 10 to the power of negative 19 joules. Visible light spans roughly 380 nm (violet, about 3.26 eV) to 700 nm (red, about 1.77 eV). Ultraviolet photons carry enough energy to break chemical bonds, which is why sunscreen matters. X-ray and gamma-ray photons are more energetic still. This calculator accepts wavelength in nanometres or frequency in hertz and returns energy in both joules and electronvolts along with the corresponding frequency or wavelength. It is used in quantum mechanics, spectroscopy, photochemistry, solar cell design and radiation physics courses. Results use internationally accepted constants and are for educational and reference use.
Constants used: h = 6.626 x 10⁻³⁴ J s, c = 2.998 x 10⁸ m/s, 1 eV = 1.602 x 10⁻¹⁹ J.
From wavelength: convert lambda from nanometres to metres (multiply by 1e-9), then apply E = hc / lambda. From frequency: apply E = hf directly. Convert to electronvolts by dividing the joule value by 1.602 x 10 to the power of negative 19. To find frequency from wavelength use f = c / lambda; to find wavelength from frequency use lambda = c / f, then convert metres to nanometres.
A photon has a wavelength of 500 nm (green visible light). Converting: 500 nm = 5.00 x 10 to the power of negative 7 m. Energy E = (6.626e-34 x 2.998e8) divided by 5.00e-7 = 1.9864e-25 divided by 5.00e-7 = 3.97 x 10 to the power of negative 19 J. In electronvolts: 3.97e-19 divided by 1.602e-19 = 2.48 eV. These match the default values pre-filled above.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.