Convert between wavelength λ, frequency f, and photon energy E · c = λf · E = hf · spectrum band + visible colour · browser-only
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Results
- Wavelength λ
- 500 nm
- Frequency f
- 599.585 THz
- Photon energy E
- 2.47968 eV
- Spectrum band
- Visible light · cyan
What this tool does
Type any one of wavelength λ, frequency f, or photon energy E and this calculator solves the other two from the two relations every physics course leans on: c = λ·f and E = h·f. The speed of light and Planck's constant are the CODATA exact values (c = 299 792 458 m/s, h = 6.626 070 15 × 10⁻³⁴ J·s), so a 500 nm green photon comes back as 5.996 × 10¹⁴ Hz and 2.48 eV — the numbers your textbook prints. Wavelength accepts nm, µm, mm, cm, m, and ångström; frequency runs Hz through THz; energy switches between joules and electronvolts in one click. The wave speed is editable: keep vacuum c, type a custom speed for sound or another medium, or enter a refractive index n so the in-medium speed becomes c/n (water n ≈ 1.33, glass n ≈ 1.5). Photon energy always derives from the frequency — which stays invariant when light enters a medium — so E never drifts with the shortened in-medium wavelength. Every result is classified into an electromagnetic band (radio, microwave, infrared, visible, ultraviolet, X-ray, gamma) from its vacuum wavelength, and visible light gets an approximate colour name. Inputs sync to a shareable URL, and one click copies all four results.
Tool details
- Input
- Text + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 11 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Wavelength Frequency Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
- 2 Note Frequency Calculator Note name ⇄ frequency (Hz) — A4 = 440/432/442, MIDI number, cents off — browser-only Open
- 3 Scientific Notation Converter Plain ⇄ scientific (a×10ⁿ) ⇄ engineering ⇄ E-notation — with significant figures, exact big/small numbers — browser-only Open
Real-world use cases
Convert a laser's wavelength to its photon energy
A lab spec sheet lists a diode laser as 532 nm but your detector datasheet is calibrated in eV. Type 532 in nm, read back 2.33 eV and 5.64 × 10¹⁴ Hz, and you have the photon energy without hunting for h·c/λ on a napkin. The visible-band tag confirms 532 nm is green, which matches the laser's colour — a quick sanity check that you entered the right wavelength.
Find the wavelength of a Wi-Fi or radio signal
Your router runs at 2.4 GHz and you want the wavelength to reason about antenna size. Switch to frequency input, type 2.4, pick GHz, and read 12.5 cm. The tool tags it microwave, so you know a quarter-wave antenna is around 3 cm. Same workflow for an FM station at 98 MHz (about 3.06 m, radio band) or a 60 GHz 802.11ad link (5 mm).
Check an ionisation-energy problem in chemistry
A homework question gives a photon energy of 13.6 eV and asks for the wavelength that would ionise hydrogen. Switch to photon-energy input, type 13.6, choose eV, and read about 91.2 nm — squarely in the ultraviolet, the Lyman-limit you expected. Because frequency is the invariant, the energy-to-wavelength conversion uses the vacuum value, so the answer matches the textbook.
Teach the inverse relationship between λ and f
In class you want to show that halving the wavelength doubles the frequency. Put 600 nm in and note 5.00 × 10¹⁴ Hz; change it to 300 nm and watch the frequency jump to 9.99 × 10¹⁴ Hz. Sharing the URL with each value pre-filled lets students reproduce the exact two states you demonstrated, turning a hand-wave into a reproducible experiment.
Compare in-medium wavelengths across glass and water
A 589 nm sodium line travels through air, water, and glass. Enter 589 nm with vacuum c, then switch to refractive index and type 1.33, then 1.50, watching the wavelength shrink to about 443 nm and 393 nm while the frequency and the "yellow / visible" classification stay put. It makes concrete why we say the colour does not change when light enters glass — only its speed and wavelength do.
Common pitfalls
Forgetting frequency stays constant in a medium. When light enters glass or water its wavelength shrinks but its frequency — and thus its photon energy and colour — do not. This tool ties energy to frequency and classifies the band from the vacuum wavelength so you never mislabel an in-medium value.
Mixing up per-photon energy with beam power. E = h·f is the energy of one photon; a bright red beam can carry more total power than a dim blue one even though each blue photon is more energetic. Read this tool's energy as per-photon, not total.
Entering frequency in Hz when you meant THz (or vice versa). Visible light is hundreds of THz, not Hz — a typo of the unit picker shifts the answer by twelve orders of magnitude. Glance at the spectrum band — if a "visible" input lands in radio, you picked the wrong frequency unit.
Privacy
Every conversion — c = λ·f, E = h·f, the unit changes, the refractive-index speed, and the spectrum classification — is plain JavaScript that runs in your browser tab. No wavelength, frequency, or energy you enter ever leaves the page, nothing is logged, and there is no external API call. The one thing to note: the shareable URL encodes your current input and unit choices in the query string, so a "share link" lets the destination server's access log see those values. For coursework that is harmless; copy the result text instead if a number is for some reason sensitive.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- Anagram Solver Check if two words are anagrams, rearrange a set of letters into every ordering, and read the sorted letter fingerprint, all in your browser
- Angle Converter Degrees, radians, gradians, turns, arcminutes, arcseconds and NATO mils, all from one input, copyable, browser-only