Wavelength Calculator – Frequency & Wave Speed

Link wave speed, frequency and wavelength while distinguishing one crest interval from a whole series of crests.

Quick Answer

Although these waves can behave differently, many introductory calculations use the same relationship: wave speed equals frequency multiplied by wavelength.

A periodic waveform on an oscilloscope screen
Free Wave Physics Tool

Wavelength Calculator

Use this Wavelength Calculator to calculate wavelength, frequency, wave speed, period, photon energy, refractive index, and electromagnetic spectrum region. Enter any known wave values, choose units, and get a clean result with properly rendered formulas and step-by-step physics explanations.

Calculate Wavelength, Frequency, or Wave Speed

Select a calculation mode, enter known values, and calculate instantly. The default wave speed is the speed of light in vacuum, but you can use sound speed, custom medium speed, or refractive index.

Use consistent units. The calculator converts inputs internally to SI units: meters, seconds, hertz, joules, and meters per second.

What Is a Wavelength Calculator?

A Wavelength Calculator is a physics tool that calculates wavelength from wave speed and frequency, frequency from wavelength and speed, wave speed from frequency and wavelength, period from frequency, and photon energy from wavelength or frequency. Wavelength is one of the most important wave quantities in physics because it describes the distance between repeating points on a wave, such as crest to crest or compression to compression.

Waves appear in many areas of science: light, radio waves, microwaves, sound, water waves, seismic waves, strings, springs, electromagnetic radiation, and quantum particles. Although these waves can behave differently, many introductory calculations use the same relationship: wave speed equals frequency multiplied by wavelength. This simple equation connects distance, time, and repeated oscillation.

This calculator is designed for students, teachers, science writers, engineers, tutors, and anyone who needs a clean wave calculation. It supports common wavelength units such as meters, centimeters, millimeters, micrometers, nanometers, picometers, and kilometers. It also supports frequency units including hertz, kilohertz, megahertz, gigahertz, and terahertz. For speed, it supports meters per second and several practical conversion units. The calculator converts everything into SI units internally, calculates the result, and displays helpful converted values.

The tool also includes photon energy calculations using Planck’s equation. This is especially useful for electromagnetic radiation, where a photon’s energy is related to frequency and wavelength. A short wavelength corresponds to higher frequency and higher photon energy, while a long wavelength corresponds to lower frequency and lower photon energy. This is why ultraviolet radiation is more energetic than visible red light, and X-rays are more energetic than ultraviolet.

How to Use the Wavelength Calculator

Start with the Wave Formula tab if you want to calculate wavelength, frequency, wave speed, or period. Select what you want to solve for. The calculator will show the input fields needed for that calculation. For example, if you want wavelength, enter frequency and wave speed. If you want frequency, enter wavelength and wave speed. If you want wave speed, enter frequency and wavelength.

The wave speed preset lets you quickly select common values. Light in vacuum uses the standard speed of light, approximately \(299{,}792{,}458\,m/s\). Sound in air at about 20°C is commonly approximated as \(343\,m/s\). Sound in water is much faster, often approximated around \(1480\,m/s\). You can also choose custom speed for any wave or medium.

Use the Photon Energy tab when working with electromagnetic radiation, such as visible light, infrared, ultraviolet, X-rays, radio waves, lasers, or photons. You can enter wavelength, frequency, or energy, and the calculator will compute the related quantities using \(E=hf\) and \(c=f\lambda\). The result shows wavelength, frequency, period, photon energy in joules, and photon energy in electronvolts. Use the laser spot size and divergence to estimate how the beam widens with distance.

Use the Medium / Refractive Index tab when light travels through a material instead of vacuum. In a medium, light speed becomes \(v=c/n\), where \(n\) is refractive index. Frequency remains the same when light enters a new medium, but wavelength changes because speed changes. This is why wavelength in glass or water is shorter than wavelength in vacuum for the same light frequency. Use the Snell's law and refractive index calculator to check the angle change when light crosses into another medium.

Wavelength Calculator Formulas

The central wave equation is:

Wave speed formula
\[v=f\lambda\]

Solving for wavelength gives:

Wavelength formula
\[\lambda=\frac{v}{f}\]

Solving for frequency gives:

Frequency formula
\[f=\frac{v}{\lambda}\]

Period and frequency are reciprocal quantities:

Period formula
\[T=\frac{1}{f}\]

For photons, energy is calculated using Planck’s equation:

Photon energy formula
\[E=hf=\frac{hc}{\lambda}\]

For light traveling in a medium:

Speed and wavelength in a medium
\[v=\frac{c}{n},\quad \lambda_{medium}=\frac{\lambda_0}{n}\]

Wave Speed, Frequency, and Wavelength

Wave speed tells how quickly a wave pattern travels through space or through a medium. Frequency tells how many cycles pass a fixed point per second. Wavelength tells the physical distance covered by one full cycle. These three quantities are connected. If speed stays the same and frequency increases, wavelength decreases. If speed stays the same and frequency decreases, wavelength increases.

This inverse relationship is easy to see in electromagnetic waves. Blue light has a shorter wavelength and higher frequency than red light. Radio waves have much longer wavelengths and much lower frequencies than visible light. Gamma rays have extremely short wavelengths and extremely high frequencies. The wave equation lets you move between these descriptions. Use the Brewster's angle calculator to check the incidence angle for polarized reflection.

Sound waves also follow the same structure, but their speed depends strongly on the medium. Sound travels through air much slower than light. It travels faster in water than in air, and often faster still in solids. A 1000 Hz sound wave in air has a wavelength of about 0.343 m if the speed of sound is 343 m/s. The same frequency in water has a longer wavelength because the wave speed is higher.

Period and Frequency

Frequency and period describe the timing of a repeating wave. Frequency is cycles per second. Period is seconds per cycle. If a wave has a frequency of 10 Hz, it completes 10 cycles every second, so one cycle takes 0.1 seconds. If a radio wave has a frequency of 100 MHz, its period is only 10 nanoseconds.

The reciprocal relationship is useful because some wave problems provide period rather than frequency. Once period is known, frequency is \(f=1/T\). Once frequency is known, period is \(T=1/f\). This calculator displays period automatically when enough wave information is available.

Photon Energy and Wavelength

Electromagnetic radiation can be described as waves and also as photons. A photon is a packet of electromagnetic energy. The energy of a photon depends on frequency through \(E=hf\), where \(h\) is Planck’s constant. Because frequency and wavelength are connected by \(c=f\lambda\), photon energy can also be written as \(E=hc/\lambda\).

This means short-wavelength photons have higher energy. Ultraviolet photons have more energy than visible photons. X-ray photons have more energy than ultraviolet photons. Long-wavelength radio photons have very low energy compared with visible light. This energy difference explains why different parts of the electromagnetic spectrum interact with matter differently.

The calculator displays photon energy in joules and electronvolts. Joules are the SI unit of energy, while electronvolts are more convenient for atomic, optical, and quantum physics. One electronvolt is the energy gained by one electron moving through a potential difference of one volt.

Wavelength in a Medium

When light enters a material such as water, glass, acrylic, diamond, or another transparent medium, its speed changes. Refractive index measures how much the medium slows light compared with vacuum. The formula is \(n=c/v\). Rearranged, the speed in the medium is \(v=c/n\).

The frequency of light does not change when it crosses from one medium to another. However, because speed changes and frequency stays constant, wavelength changes. In a material with refractive index 1.5, wavelength becomes two-thirds of the vacuum wavelength. This is important in optics, lenses, interference, thin films, fiber optics, and wave propagation.

For sound and other mechanical waves, the term refractive index may not be the main model, but medium still matters. The wave speed depends on physical properties such as elasticity, density, temperature, pressure, and tension. Always use the correct speed for the wave and material you are analyzing.

Electromagnetic Spectrum Guide

The electromagnetic spectrum is commonly divided into regions by wavelength and frequency. The exact boundaries can vary slightly by source and context, but the broad order is stable: radio waves have the longest wavelengths, then microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays. Visible light is only a narrow slice of the spectrum, roughly from about 380 nm to 750 nm.

RegionApproximate Wavelength RangeNotes
RadioLonger than about 1 mBroadcasting, communication, astronomy
Microwave1 mm to 1 mRadar, microwave ovens, wireless communication
Infrared750 nm to 1 mmHeat radiation, remote controls, thermal imaging
VisibleAbout 380 nm to 750 nmHuman-visible colors from violet to red
Ultraviolet10 nm to 380 nmHigher-energy light beyond violet
X-ray0.01 nm to 10 nmMedical imaging and material analysis
Gamma rayShorter than about 0.01 nmVery high-energy radiation

Wavelength Calculation Examples

Example 1: Find the wavelength of light with frequency \(600\,THz\). Convert terahertz to hertz: \(600\,THz=600\times10^{12}\,Hz\). Use \(\lambda=c/f\).

Light wavelength example
\[\lambda=\frac{299{,}792{,}458}{600\times10^{12}}\approx4.9965\times10^{-7}\,m=499.65\,nm\]

Example 2: Find the wavelength of a 1000 Hz sound wave in air at 343 m/s.

Sound wavelength example
\[\lambda=\frac{343}{1000}=0.343\,m\]

Example 3: Find photon energy for 500 nm light.

Photon energy example
\[E=\frac{hc}{\lambda}=\frac{(6.626\times10^{-34})(2.998\times10^8)}{500\times10^{-9}}\approx3.97\times10^{-19}\,J\]

Example 4: Find wavelength in water if vacuum wavelength is 500 nm and refractive index is 1.33.

Medium wavelength example
\[\lambda_{water}=\frac{500\,nm}{1.33}\approx376\,nm\]

Accuracy and Limitations

This calculator uses simplified wave physics formulas. It assumes ideal wave relationships and constant wave speed. Real waves can be affected by dispersion, temperature, pressure, tension, medium composition, boundary conditions, nonlinear effects, absorption, scattering, and measurement uncertainty. For many educational problems, the formulas are exactly what is needed. For laboratory or engineering work, verify the wave speed, medium properties, and measurement setup.

For light calculations, this calculator uses the speed of light in vacuum and standard physical constants. For sound calculations, preset speeds are approximations. The speed of sound in air changes with temperature, humidity, altitude, and gas composition. The speed of sound in water changes with temperature, salinity, and pressure. Use custom speed when precision matters.

Wavelength Calculator FAQs

What does a wavelength calculator do?

It calculates wavelength, frequency, wave speed, period, photon energy, and medium-related wave values using standard wave formulas. Use the diffraction grating calculator to compare diffraction angles by wavelength and order.

What is the wavelength formula?

The main wavelength formula is \(\lambda=v/f\), where \(\lambda\) is wavelength, \(v\) is wave speed, and \(f\) is frequency.

What is the speed of light used by the calculator?

The calculator uses \(c=299{,}792{,}458\,m/s\) for light in vacuum.

How are frequency and wavelength related?

For a fixed wave speed, frequency and wavelength are inversely related. Higher frequency means shorter wavelength, and lower frequency means longer wavelength.

Can this calculator be used for sound waves?

Yes. Choose a sound speed preset or enter a custom wave speed. Then calculate wavelength, frequency, speed, or period.

Does wavelength change in a medium?

For light, wavelength changes in a medium because speed changes while frequency remains the same. The formula is \(\lambda_{medium}=\lambda_0/n\).

Important Note

This Wavelength Calculator is for educational physics and general science use. It does not replace laboratory measurement, engineering validation, optical design software, professional acoustic analysis, or safety guidance for radiation, lasers, ultrasound, or high-energy electromagnetic sources. Use the laser beam expander calculator to compare beam diameter and divergence after magnification.

Advertisement

Count intervals on a wave diagram

A drawing shows five consecutive crests from the first position to the last across 1.6 metres. There are four full crest-to-crest intervals, giving a wavelength of 0.4 metres. If ten crests pass a fixed point per second in a steady train, the frequency is ten hertz and the wave speed is four metres per second. Dividing by five would mistakenly count points instead of intervals.

Solve Inverse Variation Problems

Many applications involve two variable that vary inversely. As one variable increases, the other decreases. The equation that relates them is y=kx.
The word ‘inverse’ in inverse variation refers to the multiplicative inverse. The multiplicative inverse of x is 1x.
We solve inverse variation problems in the same way we solved direct variation problems. Only the general form of the equation has changed. We will copy the procedure box here and just change ‘direct’ to ‘inverse’.
The frequency of a guitar string varies inversely with its length. A 26 in.-long string has a frequency of 440 vibrations per second.
ⓐ Write the equation of variation. ⓑ How many vibrations per second will there be if the string’s length is reduced to 20 inches by putting a finger on a fret?
Solution
ⓐ
The frequency variesinversely with the length.
Name the variables. Let f = frequency.L = length
Write the formula for inverse variation. .
We will use f in place of y and L in place of x. .
Substitute the given values for the variables. . .
Solve for the constant of variation . .
Write the equation that relates f and L. .
Substitute the constant of variation .
ⓑ
Find f when L=20.
Write the equation that relates fandL. f=11,440L
Substitute the given value for L. f=11,44020
Simplify. f=572
A 20″-guitar string has frequency 572 vibrations per second.

Units of Measurement in the Metric System

Units of measurement provide common standards so that regardless of where or when an object or substance is measured, the results are consistent. When measuring distance, the units of measure might be feet, meters, or miles. Weight might be expressed in terms of pounds or grams. Volume or capacity might be measured in gallons, or liters. Understanding how metric units of measure relate to each other is essential to understanding the metric system:
  • The metric unit for distance is the meter (m). A person’s height might be written as 1.8 meters (1.8 m). A meter slightly longer than a yard (3 feet), while a centimeter is slightly less than half an inch.
  • The metric unit for area is the square meter (m2). The area of a professional soccer field is 7,140 square meters (7,140 m2).
  • The metric base unit for volume is the cubic meter (m3). However, the liter (L), which is a metric unit of capacity, is used to describe the volume of liquids. Soda is often sold in 2-liter (2 L) bottles.
  • The gram (g) is a metric unit of mass but is commonly used to express weight. The weight of a paper clip is approximately 1 gram (1 g).
  • The metric unit for temperature is degrees Celsius (°C). The temperature on a warm summer day might be 24 °C.
While the U.S. Customary System of Measurement uses ounces and pounds to distinguish between weight units of different sizes, in the metric system a base unit is combined with a prefix, such as kilo– in kilogram, to identify the relationship between smaller or larger units.

Determining the Correct Base Unit

Which base unit would be used to express the following?
  1. amount of water in a swimming pool
  2. length of an electrical wire
  3. weight of one serving of peanuts
Solution
  1. Liquid volume is generally expressed in units of liters (L).
  2. Length is measured in units of meters (m).
  3. Weight is commonly expressed in units of grams (g).
While there are other base units in the metric system, our discussions in this chapter will be limited to units used to express length, area, volume, weight, and temperature.

Metric Prefixes

Unlike the U.S. Customary System of Measurement in which 12 inches is equal to 1 foot and 3 feet are equal to 1 yard, the metric system is structured so that the units within the system get larger or smaller by a power of 10. For example, a centimeter is 10−2, or 100 times smaller than a meter, while the kilometer is 103, or 1,000 times larger than a meter.
The metric system combines base units and unit prefixes reasonable to the size of a measured object or substance. The most used prefixes are shown in table. An easy way to remember the order of the prefixes, from largest to smallest, is the mnemonic King Henry Died From Drinking Chocolate Milk.
Metric Prefixes
Prefix kilo– hecto– deca– base unit deci– cent– milli–
Abbreviation k h da d c m
Magnitude 103 102 101 100⁢or⁢1 10−1 10−2 10−3

Ordering the Magnitude of Units

Order the measures from smallest unit to largest unit.
centimeter, millimeter, decimeter
Solution
Looking at the metric prefixes, we can see that the prefix order from smallest unit to largest unit is milli-, centi-, deci-, so the order of the units from smallest to largest is millimeter, centimeter, decimeter.

Determining Reasonable Values for Length

What is a reasonable value for the length of a person’s thumb: 5 meters, 5 centimeters, or 5 millimeters?
Solution
Given that a meter is slightly longer than a yard, 5 meters is not a reasonable value for the length of a person’s thumb. Since a millimeter is 10 times smaller than a centimeter, which is approximately 12 inch, 5 millimeters is not a reasonable estimate for the length of a person’s thumb. The correct answer is 5 centimeters.

Converting Metric Units of Measure

Imagine you order a textbook online and the shipping detail indicates the weight of the book is 1 kg. By attaching the letter “k” to the base unit of gram (g), the unit used to express the measure is 103or 1,000 times greater than a gram. One kilogram is equivalent to 1,000 grams.
The tip of a highlighter measures approximately 1 cm. The letter “c” attached to the base unit of meter (m) means the unit used to express the measure is 10−2or1100 of a meter. One meter is equivalent to 100 centimeters.
A conversion factor is used to convert from smaller metric units to bigger metric units and vice versa. It is a number that when used with multiplication or division converts from one metric unit to another, both having the same base unit. In the metric system, these conversion factors are directly related to the powers of 10. The most common used conversion factors are shown in diagram.
Three illustrations show conversion factors for metric units.
Common Metric Conversion Factors for (a) Meters, (b) Liters, and (c) Grams

Converting Metric Distances Using Multiplication

The firehouse is 13.45 km from the library. How many meters is it from the firehouse to the library?
Solution
When converting from a larger unit to a smaller unit, use multiplication. The conversion factor from kilometer to the base unit of meters is 1,000.
13.45×1,000=13,450
So, the firehouse is 13,450 meters away from the firehouse.

Converting Metric Capacity Using Division

How many liters is 3,565 milliliters?
Solution
When converting from a smaller unit to a larger unit, use division. The conversion factor from milliliter to the base unit of liters is 1,000.
3,565÷1,000=3.565
So, 3,565 milliliters is 3.565 liters.

Converting Metric Units of Mass to Solve Problems

Caroline and Aiyana are working on a chemistry experiment together and must perform calculations using measurements taken during the experiment. Due to miscommunication, Caroline took measurements in centigrams and Aiyana used milligrams. Convert Caroline’s measurement of 125 centigrams to milligrams.
Solution
When converting from a larger unit to a smaller unit, use multiplication. The conversion factor from centigrams to the milligrams is 10.
125×10=1,250
So, the 125 centigrams are 1,250 milligrams.

Converting Metric Units of Volume to Solve Problems

A bottle contains 500 mL of juice. If the juice is packaged in 24-bottle cases, how many liters of juice does the case contain?
Solution
Step 1: Multiply the amount of juice in each bottle by the number of bottles.
500⁢mL×24=12,000⁢mL
Step 2: Divide by 1,000 to convert from milliliters to liters.
12,000mL1,000=12L
So, there are 12 liters of juice in each case.

Converting Grams to Solve Problems

The nutrition label on a jar of spaghetti sauce indicates that one serving contains 410 mg of sodium. You have poured two servings over your favorite pasta before recalling your doctor’s advice about keeping your sodium consumption below 1 g per meal. Have you followed your doctor’s recommendation?
Solution
Step 1: Multiply the number of servings by the amount of sodium in each serving.
410⁢mg×2=820⁢mg
Step 2: Divide by 1,000 to convert from milligrams to grams.
820⁢mg1,000=0.82⁢g
You have followed doctor’s recommendation because 0.82 g is less than 1 gram.

Comparing Different Units

A student carefully measured 0.52 cg of copper for a science experiment, but their lab partner said they need 6 mg of copper total. How many more centigrams of copper does the student need to add?
Solution
Step 1: Convert these two measurements into a common unit. Since the question asks for the number of centigrams, convert 6 mg to centigrams, which is 0.6 cg.
Step 2: Find the difference by subtracting 0.6−0.52 which is 0.08 cg. This means the student must add another 0.08 cg of copper.