Skip to content
Physics

Wavelength Of Light Calculator

Wavelength Of Light Calculator

Turn any frequency into a wavelength in nanometers and its color band.

value
unit

Your Wavelength

Frequency entered
Wavelength
In meters

Light travels in waves, and the distance between two wave peaks — the wavelength — decides what color we see. A wavelength of light calculator converts a frequency number into a wavelength in nanometers and tells you which color band it falls into. It is a quick bridge between the physics of light and the colors of everyday life.

You might meet this calculation in a physics class, while reading about lasers and LEDs, or just out of curiosity about how radio waves and X-rays relate to visible light. Whatever brings you here, the math is the same: wavelength and frequency are linked by the speed of light, and this tool does the division for you.

What This Calculator Does

Enter a frequency and pick its unit — terahertz, gigahertz, or megahertz — and the calculator divides the speed of light by that frequency to get the wavelength. It shows the result in nanometers, the standard unit for light waves, and also in meters using scientific notation so you can see the true scale.

Then it names the band. If the wavelength lands between 380 and 750 nanometers, you get a color name: violet, blue, green, yellow, orange, or red. Outside that range the light is invisible to human eyes, so the calculator labels it ultraviolet, infrared, or radio wave instead.

The tool uses the exact defined speed of light, 299,792,458 meters per second, so its answers match textbook values. It is an educational and planning aid, not a laboratory instrument, but the arithmetic is the same arithmetic physicists use.

How to Use This Calculator

Type the frequency value into the first box. This is just the number — for example, 540 for a green laser pointer's frequency in terahertz. Then choose the matching unit from the dropdown: THz for trillions of cycles per second, GHz for billions, or MHz for millions.

Press the Calculate button and the wavelength appears below, in nanometers with two decimal places, plus the band name. The meter value is there too, which helps when the number is extremely small or large.

If you enter zero, a negative number, or leave the box empty, the calculator shows an error message instead of a meaningless result. The Reset button clears the form so you can try another frequency.

The Formula: Speed of Light Equals Wavelength Times Frequency

The whole calculator rests on one famous equation: the speed of light equals wavelength times frequency. Scientists write it as c = λf, where the Greek letter lambda stands for wavelength in meters, f is frequency in hertz (cycles per second), and c is the speed of light, 299,792,458 meters per second.

To find the wavelength, rearrange the equation: wavelength equals the speed of light divided by the frequency. A higher frequency means more wave peaks pass per second, so each wave must be shorter — frequency and wavelength are inversely related. Double the frequency and the wavelength halves.

The last step is unit conversion. Scientists measure light waves in nanometers, where one nanometer is a billionth of a meter. After dividing, the calculator multiplies the meter result by one billion to give nanometers. That is why visible light, with waves around half a micrometer long, reads as a friendly number like 555 nanometers instead of 0.000000555 meters.

Worked Examples With Full Arithmetic

Example one: green light at 540 terahertz. Convert to hertz: 540 times 10 to the power of 12 equals 5.4 times 10 to the power of 14 Hz. Divide the speed of light: 299,792,458 divided by 5.4 times 10 to the power of 14 equals 5.5517 times 10 to the power of minus 7 meters. Convert to nanometers: multiply by 10 to the power of 9 to get 555.17 nm. Since 555 falls between 495 and 570, the band is green — right at the peak of human eye sensitivity.

Example two: violet light at 700 terahertz. In hertz: 700 times 10 to the power of 12 equals 7.0 times 10 to the power of 14 Hz. Divide: 299,792,458 divided by 7.0 times 10 to the power of 14 equals 4.2827 times 10 to the power of minus 7 meters. In nanometers: 428.27 nm. The violet band runs from 380 to 450 nm, so 428.27 nm is violet — the shortest wavelength humans can see.

Example three: a Wi-Fi signal at 2.4 gigahertz. In hertz: 2.4 times 10 to the power of 9 Hz. Divide: 299,792,458 divided by 2.4 times 10 to the power of 9 equals 0.1249 meters. In nanometers that is 124,913,524 nm — far beyond the 750 nm edge of red light. The calculator labels it a radio wave, which is correct: Wi-Fi lives in the microwave part of the radio spectrum, and its wavelength of about 12.5 centimeters is why router antennas are a few centimeters long.

How to Interpret Your Results

The nanometer value is your main answer. Compare it with the band boundaries: violet 380 to 450, blue 450 to 495, green 495 to 570, yellow 570 to 590, orange 590 to 620, red 620 to 750. A result of 555 nm sits comfortably inside green, while 589 nm is the famous yellow of sodium street lamps.

The band name tells you whether you could see it. Human vision covers roughly 380 to 750 nanometers, and sensitivity peaks in the green around 555 nm — which is why green lasers look so bright. Below 380 nm is ultraviolet, which sunburns skin but stays invisible; above 750 nm is infrared, felt as heat.

The meter value in scientific notation shows the true scale. Light waves are hundreds of nanometers long — thousands of times thinner than a human hair. Radio waves from the same equation can be meters or kilometers long. One formula spans that entire range, which is part of what makes it so elegant.

Understanding the Electromagnetic Spectrum

Visible light is a tiny slice of a much larger family. Below violet, wavelengths shrink through ultraviolet into X-rays and gamma rays — the high-energy waves used in medical imaging and cancer treatment. Above red, wavelengths stretch through infrared into microwaves and radio waves — the waves behind heat cameras, Wi-Fi, and FM radio.

Every member of this family travels at the same speed in a vacuum: the speed of light. What differs is only the frequency and wavelength. That is why one calculator can hop from a green laser to a Wi-Fi router to an FM station without changing its formula — the physics is universal.

Color itself is worth a pause. Objects do not contain color; they reflect some wavelengths and absorb others. A leaf looks green because it reflects green wavelengths near 550 nm and absorbs the rest. Your eye's cone cells then translate those wavelengths into the sensation of green.

Common Mistakes to Avoid

The classic mistake is mixing up the units. Entering 540 with megahertz selected instead of terahertz makes the frequency a million times too small and the wavelength a million times too large — you would get a radio wave instead of green light. Always match the unit to your source.

Another trap is forgetting that frequency and wavelength move in opposite directions. If your result looks wrong, check the inverse logic: a bigger frequency must give a smaller wavelength. If both grew, something went wrong.

Finally, remember that band edges are approximate. The boundary between blue and green is not a sharp line in nature — it is a convention, and different references draw it a few nanometers apart. Treat the color name as a guide, especially near a boundary like 495 or 570 nm.

Frequently Asked Questions

1. What is the wavelength of visible light?

Visible light spans roughly 380 to 750 nanometers, from violet at the short end to red at the long end. Each color you see corresponds to a wavelength in that range. Try 540 THz in the calculator above to see a green 555 nm result.

2. How do I convert frequency to wavelength?

Divide the speed of light by the frequency in hertz: wavelength equals c divided by f, with c set to 299,792,458 meters per second. Then multiply by one billion to get nanometers. The calculator does all three steps for you.

3. What is the wavelength of red light?

Red light runs from about 620 to 750 nanometers. A common red laser pointer at 650 nm corresponds to a frequency of roughly 461 THz. Enter 461 THz above to check it yourself.

4. What frequency is green light?

Green spans 495 to 570 nm, which corresponds to roughly 526 to 606 THz. The middle of green, 555 nm, is about 540 THz — the worked example near the top of this page.

5. Why is the sky blue?

Sunlight contains all wavelengths, but air molecules scatter short blue wavelengths (around 450 to 495 nm) much more strongly than long red ones. That scattered blue light reaches your eyes from every direction, painting the sky blue.

6. What is the wavelength of a 5G signal?

It depends on the band. A 3.5 GHz signal has a wavelength of about 8.6 centimeters, while a 28 GHz signal is about 1.1 centimeters. Both are far beyond visible light, in the microwave and radio region.

7. Can humans see infrared or ultraviolet?

No. Human vision stops near 380 nm on the violet side and 750 nm on the red side. Some animals see further — bees see ultraviolet patterns on flowers, and pit vipers sense infrared — but our eyes do not.

8. What is the difference between wavelength and frequency?

Wavelength is the physical length of one wave, measured in meters or nanometers. Frequency is how many waves pass per second, measured in hertz. They are linked by the speed of light: multiply them together and you always get c.

9. What unit is a nanometer?

One nanometer is one billionth of a meter. A human hair is about 80,000 nanometers thick, so visible light waves at 400 to 700 nm are roughly a hundred times thinner than a hair.

10. Why do we use nanometers for light?

Because meters give absurdly tiny decimals like 0.000000555 m. Nanometers turn that into 555 nm — a number humans can read and compare at a glance. It is simply the most convenient scale for the job.

11. What is the speed of light exactly?

Exactly 299,792,458 meters per second in a vacuum. It is a defined constant, not a measured one — the meter itself is now defined from this value. Light slows slightly in glass or water, but the calculator uses the vacuum value.

12. What wavelength is a microwave oven?

A microwave oven runs at 2.45 GHz, giving a wavelength of about 12.2 centimeters. That is why the inside of the oven has hot and cold spots spaced a few centimeters apart, and why the turntable exists.

13. Do radio waves and light waves travel at the same speed?

Yes. In a vacuum, all electromagnetic waves travel at the speed of light regardless of wavelength. That is why one formula covers everything from gamma rays to long-wave radio.

14. What color has the longest wavelength?

Red, at 620 to 750 nm. Beyond 750 nm the waves become infrared and invisible. At the other extreme, violet at 380 to 450 nm is the shortest visible wavelength.

15. Is this calculator accurate enough for schoolwork?

Yes. It uses the exact speed of light and standard band boundaries, so its numbers match textbook answers. Just make sure you enter the frequency with the correct unit — THz, GHz, or MHz — since that is where most errors come from.

Final Thoughts

One short equation connects the color of a sunset to the signal in your phone. This wavelength of light calculator turns any frequency into a wavelength in nanometers and names the band it belongs to, making the invisible architecture of light easy to explore. Play with the numbers — drop in your favorite radio station, a laser pointer, or a Wi-Fi channel — and watch a single division reveal where each wave sits in the vast electromagnetic spectrum.