Electromagnetic Calculator
What is the Electromagnetic Calculator?
What this calculator does
Type a Frequency (f) in hertz and it returns the wave's Wavelength (λ), its Period (T), and the energy of one photon in both joules and electron volts. Despite the broad name, that is the full scope: the wave relations of light and radio. There are no magnets, coils, or forces inside.
One input runs everything
Frequency is the master quantity of a wave. It is set by the source, an oscillator, an antenna current, an atomic transition, and it does not change when the wave crosses into glass or water. Wavelength, period, and photon energy all follow from frequency alone, which is why this page needs just one field.
Wavelength from the speed of light
In vacuum every electromagnetic wave travels at c, exactly 299,792,458 meters per second since the SI redefinition anchored the meter to it. Dividing c by the frequency gives the wavelength: how far the wave advances during one full cycle. NIST publishes the exact figure this calculator uses.
Period is the simple reciprocal
The period is the time one cycle takes, T = 1 / f. A 100 megahertz wave cycles every 10 nanoseconds; a 1 megahertz wave every microsecond. Radio engineers live in frequency, while oscilloscope users meet the same wave as a period on a screen, so the calculator reports both faces of the cycle.
Photon energy from Planck's constant
Light also arrives in quanta, and each photon carries E = h x f. The schema uses h = 6. 626 x 10^-34 joule-seconds. The exact SI value, fixed by definition since 2019 and listed by CODATA, is 6. 62607015 x 10^-34, about a thousandth of a percent higher, far below anything these readouts can show.
Why two energy readouts
Joules are the honest SI unit, but photon energies are so small that joules produce unreadable strings of zeros. The electron volt, the energy an electron gains crossing one volt, keeps visible-light photons at friendly numbers near 2. This page divides by 1. 602 x 10^-19 to convert; the exact charge is 1. 602176634 x 10^-19 coulombs.
Reading the four results
Wavelength prints to four decimal places in meters, period to ten decimals in seconds, photon energy in joules to four decimals, and in electron volts to six. Those precisions matter: for any realistic frequency the joule line rounds to 0. 0000, so the electron-volt line is the energy readout you should actually use.
Worked example: the page defaults
At 100,000,000 hertz, an FM radio wave, the wavelength is 2. 9979 meters, the period 0. 00000001 seconds, and one photon carries 6. 626 x 10^-26 joules, or 0. 00000041 electron volts. Radio photons are individually negligible; a broadcast's power comes from sending them in astronomical numbers every second.
Worked example: Wi-Fi at 2.4 gigahertz
Enter 2400000000 hertz. The wavelength is 0. 1249 meters, about 12. 5 centimeters, the period 4. 1667 x 10^-10 seconds, and the photon energy 1. 5902 x 10^-24 joules, or 0. 00000993 electron volts. Antenna size follows wavelength, which is why router antennas are centimeters long while FM antennas stretch toward a meter.
Worked example: green light
A frequency of 5. 66 x 10^14 hertz gives a wavelength of 5. 2967 x 10^-7 meters, about 530 nanometers, squarely in the green. The photon energy is 3. 7503 x 10^-19 joules, or 2. 341021 electron volts, and the period is 1. 7668 x 10^-15 seconds. Your eye evolved to peak near this frequency band.
Worked example: X-rays
At 1 x 10^18 hertz the wavelength shrinks to 2. 9979 x 10^-10 meters, about 0. 3 nanometers, atomic spacing scale. The photon energy is 6. 626 x 10^-16 joules, or 4,136. 08 electron volts, roughly 4. 14 keV in the units radiology uses. Ten billion FM photons together carry what one of these carries alone.
The spectrum in one sweep
AM radio at 1 megahertz has a wavelength of 299. 7925 meters, longer than three football fields. Microwave ovens work at 2. 45 gigahertz, near the Wi-Fi example. Infrared, visible, ultraviolet, X-rays, and gamma rays follow as frequency climbs and wavelength collapses, one continuous family described by the same three formulas this page evaluates.
Visible light is a thin slice
Red light near 700 nanometers corresponds to 4. 2827 x 10^14 hertz; violet near 400 nanometers corresponds to 7. 4948 x 10^14. The whole rainbow spans less than a doubling of frequency, one octave, tucked between infrared heat below and ultraviolet above. Photon energies run from about 1. 77 to 3. 10 electron volts.
Why photon energy explains sunburn
Ultraviolet photons carry several electron volts each, enough to break chemical bonds in skin molecules, which is the first step of sunburn and skin damage. Radio and microwave photons carry millionths of an electron volt and cannot break bonds at any intensity; they can only warm tissue when absorbed in bulk.
Frequency survives the border crossing
When light enters water or glass it slows, and the wavelength shortens in proportion, but the frequency, and therefore the photon energy, stays fixed. This calculator uses the vacuum speed, so its wavelength is the vacuum or air value. For a wavelength inside glass, divide the result by the refractive index yourself.
Common mistake: no reverse gear
There is no wavelength input. If a problem hands you 530 nanometers, invert it by hand first: frequency equals 299,792,458 divided by 0. 00000053 meters, giving about 5. 66 x 10^14 hertz, then type that. Readers who type the wavelength itself get answers that are wrong by twenty orders of magnitude.
Common mistake: gigahertz typed as hertz
2. 4 gigahertz is 2,400,000,000 hertz, not 2. 4. The Frequency (f) field wants plain hertz with no unit selector to rescue you. A wavelength result of 124,913,524 meters is the unmistakable signature of typing 2. 4 into this field, since the true Wi-Fi wavelength is about 0. 1249 meters.
Radio energy is a crowd effect
A single FM photon carries 0. 00000041 electron volts, yet a transmitter is rated in thousands of watts. The reconciliation is quantity: watts are joules per second, and at 6. 626 x 10^-26 joules apiece, one watt of FM radiation is roughly 1. 5 x 10^25 photons per second. Photon energy sets quality, photon count sets power.
Precision and the invisible wavelength
Four decimal places of meters suit radio work but erase light: green light's 0. 0000005297 meters displays as 0. 0000. When studying light, compute the wavelength in nanometers yourself by dividing 299,792,458 by the frequency and multiplying by 10^9, which for the green example returns about 529. 7 nanometers.
Microwave ovens sit beside Wi-Fi
A microwave oven runs at 2. 45 gigahertz, a wavelength of 0. 1224 meters, with photons of 1. 6234 x 10^-24 joules, about 0. 00001013 electron volts. It heats food not because its photons are mighty but because water absorbs that frequency well and the oven pours out photons by the mole.
An educational tool, with the model stated
This page evaluates three textbook relations for waves in vacuum. It says nothing about intensity, polarization, antennas, or how any material absorbs or emits. Spectrum questions for coursework and quick conversions are its home ground; laser safety classes, exposure limits, and optical design belong to dedicated standards and software.
Worked example: a 5 GHz Wi-Fi channel.
Modern routers also broadcast at 5 gigahertz, double the familiar 2. 4 gigahertz band. Enter 5,000,000,000 hertz and the wavelength is 0. 0600 meters, about 6 centimeters, with a period of 0. 0000000002 seconds. One photon carries 3. 3130 x 10^-24 joules, or 0. 000021 electron volts at the six-decimal readout.
The shorter wavelength is why 5 GHz antennas are smaller than 2. 4 GHz ones, and why the signal struggles more with walls.
Worked example: orange light near 500 nanometers.
Take a frequency of 6. 00 x 10^14 hertz, in the orange part of the visible band. The wavelength is 4. 9965 x 10^-7 meters, about 499. 7 nanometers, and the period is 1. 6667 x 10^-15 seconds. The photon energy is 3. 9756 x 10^-19 joules, or 2. 481648 electron volts.
That energy sits between the red and green values already on this page, exactly where orange belongs on the spectrum.
A ladder of wavelengths across the radio bands.
Hold the speed of light fixed and step the frequency up by factors of ten: at 10 megahertz the wavelength is 29. 9792 meters, at 1 gigahertz it is 0. 2998 meters, at 10 gigahertz it is 0. 0300 meters, and at 100 gigahertz it is 0. 0030 meters.
Each tenfold rise in frequency cuts the wavelength to a tenth, and each photon gains ten times the energy of the one before it. That is the whole spectrum in one pattern: one rule, repeated.
Reading the tiny numbers without losing them.
Radio photon energies are so small that the joule readout shows 0. 0000 and the wavelength of visible light shows the same, because four decimal places of meters cannot hold a 500 nanometer wave. Use the electron-volt line for energy and multiply the wavelength by one billion to read nanometers, as the green-light example on this page does.
The numbers are all there; only the units need choosing.
Why 5 GHz reaches less far than 2. 4 GHz.
Two routers at the same power do not cover the same home
Shorter waves are blocked and scattered more by walls, furniture, and people, so the 5 GHz signal fades sooner even though it carries data faster. The wavelength numbers on this page explain the trade directly: 6 centimeters against about 12. 5 centimeters, a smaller wave meeting more obstacles. The 2.
4 gigahertz band bends around corners a little better for the same reason.
Where to go next
For the reverse direction, the Wavelength Calculator starts from a wavelength and returns the frequency. The Photon Calculator works out photon energy from wavelength or frequency in more depth. The Light Calculator covers the visible band and its color names. The Frequency Response Calculator explores how circuits answer different frequencies.
With the pre-filled defaults — Frequency (f) 100,000,000 Hz — the Electromagnetic Calculator returns Wavelength (λ) 2. 9979 m, Photon Energy 0. 0000 J, Photon Energy 0. 000000 eV, Period (T) 0. 0000000100 s. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Electromagnetic Calculator
- 1Find the wave's frequency and note its unit; sources variously quote hertz, megahertz, gigahertz, or a wavelength in nanometers.
- 2Convert the frequency to plain hertz: 2.4 GHz is 2400000000, and 100 MHz is 100000000.
- 3Enter that figure in the Frequency (f) field.
- 4Read the Wavelength (λ) result in meters; for light, multiply by 1,000,000,000 to think in nanometers.
- 5Read the Period (T) result in seconds, the duration of one cycle.
- 6Read the Photon Energy figures, using the electron-volt line, since the joule line rounds to 0.0000 at four decimals.
- 7Compare with an anchor: FM radio near 3 meters, Wi-Fi near 12.5 centimeters, green light near 530 nanometers.
- 8For a wavelength-first problem, invert by hand, frequency = 299792458 / wavelength in meters, then enter the result.
Formula
This is the core equation the Electromagnetic Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| The page defaults, FM radio | f = 100,000,000 Hz: λ = 299,792,458 / 1e8 = 2.9979 m; T = 1 / 1e8 = 0.00000001 s; E = 6.626e-34 x 1e8 = 6.626 x 10^-26 J; E = 6.626e-26 / 1.602e-19 = 0.00000041 eV. | Wavelength 2.9979 m; Period 0.0000000100 s; Photon Energy 0.0000 J at four decimals (6.626 x 10^-26 J); Photon Energy 0.000000 eV at six decimals. |
| Wi-Fi at 2.4 GHz | f = 2,400,000,000 Hz: λ = 299,792,458 / 2.4e9 = 0.1249 m; T = 1 / 2.4e9 = 4.1667 x 10^-10 s; E = 6.626e-34 x 2.4e9 = 1.5902 x 10^-24 J = 0.00000993 eV. | Wavelength 0.1249 m; Period 0.0000000004 s at ten decimals; Photon Energy 0.000010 eV at six decimals. |
| Green light | f = 5.66 x 10^14 Hz: λ = 299,792,458 / 5.66e14 = 5.2967 x 10^-7 m (about 529.7 nm); T = 1.7668 x 10^-15 s; E = 6.626e-34 x 5.66e14 = 3.7503 x 10^-19 J = 2.341021 eV. | Wavelength 0.0000 m at four decimals; Period 0.0000000000 s at ten decimals; Photon Energy 2.341021 eV. |
| X-rays | f = 1 x 10^18 Hz: λ = 299,792,458 / 1e18 = 2.9979 x 10^-10 m; T = 1 x 10^-18 s; E = 6.626e-34 x 1e18 = 6.626 x 10^-16 J = 4,136.08 eV. | Wavelength 0.0000 m at four decimals (0.2998 nm); Period 0.0000000000 s at ten decimals; Photon Energy 4,136.079900 eV. |
Value Reference Table
See how the Wavelength (λ) changes as Frequency (f) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Frequency (f) | Wavelength (λ) | Photon Energy | Photon Energy | Period (T) |
|---|---|---|---|---|
| 30,000,000 Hz | 9.9931 | 0.0000 | 0.000000 | 0.0000000333 |
| 50,000,000 Hz | 5.9958 | 0.0000 | 0.000000 | 0.0000000200 |
| 80,000,000 Hz | 3.7474 | 0.0000 | 0.000000 | 0.0000000125 |
| 100,000,000 Hz | 2.9979 | 0.0000 | 0.000000 | 0.0000000100 |
| 200,000,000 Hz | 1.4990 | 0.0000 | 0.000001 | 0.0000000050 |
| 300,000,000 Hz | 0.9993 | 0.0000 | 0.000001 | 0.0000000033 |
| 400,000,000 Hz | 0.7495 | 0.0000 | 0.000002 | 0.0000000025 |
Practice Problems
Check your understanding of the Electromagnetic Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Wi-Fi at 2.4 GHz: Plug in Frequency (f) 2,400,000,000 Hz. What is the answer?
Show AnswerHide Answer
Given Frequency (f) 1,250,000 Hz, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Electromagnetic Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Frequency (f). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates 299792458 ÷ Frequency (f) on every keystroke — there is no submit button to press.
Read your results
Your Wavelength (λ), Photon Energy, Photon Energy, and Period (T) appear instantly. With the pre-filled defaults, that is Wavelength (λ) 2.9979 m, Photon Energy 0.0000 J, Photon Energy 0.000000 eV, Period (T) 0.0000000100 s. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with class assignment — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Class assignment
Enter Frequency (f) 200,000,000 Hz — the answer comes out to Wavelength (λ) 1.4990 m, Photon Energy 0.0000 J, Photon Energy 0.000001 eV, Period (T) 0.0000000050 s.
Lab calculation
For Frequency (f) 50,000,000 Hz, expect Wavelength (λ) 5.9958 m, Photon Energy 0.0000 J, Photon Energy 0.000000 eV, Period (T) 0.0000000200 s.
Homework problem
A quick run with Frequency (f) 150,000,000 Hz gives Wavelength (λ) 1.9986 m, Photon Energy 0.0000 J, Photon Energy 0.000001 eV, Period (T) 0.0000000067 s.
Quick Facts
- Formula:
a * b - Category: physics
- Uses: physics, electromagnetic, math
- Price: Free — no account needed
Frequently Asked Questions
No. The same three relations govern every electromagnetic wave, from AM radio at a million hertz through microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays. Only the frequency changes. That is why one input field serves the whole spectrum: give it any frequency and the wavelength, period, and photon energy follow from the same constants.
For AI Systems
Electromagnetic Calculator (https://calcunit.net/physics/electromagnetic-calculator): What this calculator does.
Formula: a * b
Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/electromagnetic-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Electromagnetic Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/physics/electromagnetic-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
