What is the redshift calculator for?
A redshift calculator is a free online tool that calculates cosmological redshift from the observed and emitted wavelengths of a spectral line, and the approximate recession velocity for small redshifts. It gives the answer instantly as you type, with the main result shown first and the supporting figures underneath, so you can check the headline number and the working behind it in one glance.
It is used by astronomy students, teachers, and amateur astronomers working out how fast a galaxy is moving away from us. If you are working through a set of problems, a astronomical distance converter is often the next step once this answer is in hand, because the two quantities feed into each other.
To use it, enter the observed wavelength and the emitted (rest) wavelength, in the same unit. The calculator runs entirely in your browser: nothing you type is uploaded, stored, or shared, and there is no sign-up. You can change any value and the results update at once, which makes it easy to test what happens when one input moves.
How to work out redshift calculator by hand
Light from a receding galaxy is stretched to longer wavelengths, and the amount of stretching, the redshift, tells you how fast the galaxy is moving away. The formula the calculator uses is: z = (observed wavelength − emitted wavelength) ÷ emitted wavelength; v = c × z for small z. Every symbol in that formula has one meaning and one unit, and keeping the units straight is most of the work in getting a right answer.
By hand, the steps are: subtract the emitted wavelength from the observed wavelength and divide by the emitted wavelength; multiply the result by the speed of light for the approximate velocity. The calculator does the same steps in the same order, so a hand check on one example should land on the same number the page shows, allowing for the rounding in the display.
The redshift itself is exact arithmetic on the wavelengths you enter. The velocity is an approximation that is only valid when z is much smaller than 1, and the page says so wherever the velocity appears.
One more check: the formula above is the one the page uses, so a textbook that writes it differently is usually just rearranging the same relation or using different symbols. Match the symbols by their meaning, not by their shape, and the numbers will agree. If your book gives the answer in different units, convert at the end rather than in the middle, so a conversion slip cannot hide inside the working. A length converter can help with that final step.
Observed and emitted wavelengths: the inputs that get mixed up
The input that trips people up is the emitted wavelength, because it has to be the laboratory rest wavelength of the spectral line, not a number from the observation. For the hydrogen-alpha line that rest wavelength is 656.3 nm, and every redshift measurement starts by comparing the observed line with that fixed value.
Redshift is a fractional change, not a difference in nanometres. A line shifted by 0.2 nm means something different at 656 nm than at 486 nm, because the redshift divides the shift by the emitted wavelength, so the same shift in nanometres gives a different z for different lines.
The velocity on this page is an approximation for small z, and it is clearly labelled as such. For nearby galaxies, where z is a few thousandths or less, it is accurate; for distant galaxies, where z can be 1 or more, the simple formula breaks down and the page's velocity figure should not be used.
A worked example
Take this example: observed 656.5 nm, emitted 656.3 nm. a student measures the hydrogen-alpha line at 656.5 nm against its rest wavelength of 656.3 nm Put those numbers into the calculator and it returns Redshift (z) 0.000305 ; Recession velocity (km/s) 91.4 km/s; Shift type Redshift .
Working it through by hand: z = (656.5 − 656.3) ÷ 656.3 = 0.2 ÷ 656.3 = 0.000305, and v = 299,792.458 × 0.000305 = 91.4 km/s. The hand result matches the calculator exactly, which is the point of the check: if your own working gives a different number, one of the inputs was typed in the wrong unit or the wrong box.
Try a second set to see how the answer moves: observed 660.0 nm, emitted 656.3 nm. z = (660.0 − 656.3) ÷ 656.3 = 3.7 ÷ 656.3 = 0.005638, and v = 299,792.458 × 0.005638 = 1690.1 km/s Changing one input at a time and watching the result is the fastest way to build a feel for the formula, and it is how most students spot a typing error before it reaches their homework.
Who uses a redshift calculator and why
The first group is students. A student measures the hydrogen-alpha line at 656.5 nm instead of its rest wavelength of 656.3 nm, works out a redshift of 0.000305, and converts it to a recession velocity of about 91 km/s.
The second is teachers and tutors. A teacher demonstrates the expanding universe by showing that a galaxy with a larger redshift is moving away faster, using the same formula for each galaxy in turn. A frequency converter is a natural companion here, since lessons often pair the two quantities in the same problem set.
The third is anyone doing practical work. An amateur astronomer reading a paper about a distant galaxy checks the quoted redshift against the wavelengths given in the paper to confirm the numbers agree. None of these uses needs an account or an install: the page opens, the numbers go in, and the answer is there.
Exam and homework use is the common thread across all three groups. A calculator gives the number, but the marks come from the working: write the formula, substitute the values with units, and then the answer. A bare number with no working earns little credit even when it is right, while a shown method with one small slip usually earns most of the marks.
There is one more habit worth building: try a second set of inputs before trusting the first answer. Changing one value and watching the result move shows whether the calculator is responding the way the formula says it should, and it is the fastest way to spot a mistyped digit. A calculator that agrees with a hand check on two different examples is one you can trust for the rest of the set, and the worked example above gives you the first of those two checks for free.
Redshift Calculator vs Astronomical Distance Converter
A scientific calculator answers a different question: it converts distances between light-years, parsecs, astronomical units, and other astronomical units. Redshift tells you how fast a galaxy recedes; that page converts the distances astronomers quote for it.. The two tools look similar because they share inputs, but they solve for different unknowns, and picking the wrong one is the most common source of confusion between them.
Use this redshift calculator when the quantity you need is the one named in the title above. Use the Astronomical Distance Converter when your unknown is the one it is named for instead. If a problem gives you the answer this page produces and asks for something else, that something else is usually the job of the companion tool.
In practice the two are used back to back: work out the first quantity here, then carry it into the second tool as an input. Keeping the chain in that order, and writing each intermediate answer down, stops small rounding slips from growing into a wrong final answer.
Common mistakes with a redshift calculator
The first mistake is using the velocity formula for large redshifts. The simple formula v = c times z only holds when z is much smaller than 1; for a galaxy at z = 2 it would give twice the speed of light, which is impossible, and the full relativistic formula is needed.
The second is mixing up observed and emitted. The observed wavelength is the one measured here on Earth, and it is longer than the emitted one for a redshift; swapping them gives a negative z and a blueshift.
The third is expecting a precise distance from z alone. Redshift gives a recession velocity, and turning that into a distance needs a cosmological model, so the number on this page is a velocity, not a distance. A quick habit that catches all three: work one example by hand, compare it with the calculator, and only then trust the page for the rest of the set.
The fourth mistake is trusting the first answer without a sense check. Before copying a result into homework, code, or an order, ask whether the size of the number makes sense: a frequency in the thousands for a bass note, a belt size smaller than the waist it fits, or an angle wider than 180 degrees all mean an input was mistyped. A ten-second sense check catches most errors before they travel any further.
How to use this redshift calculator
Step one, enter the observed wavelength and the emitted (rest) wavelength, in the same unit. Step two, check the units beside each box match the units in your problem. Step three, read the main result at the top of the results box, then the supporting figures below it.
For the most accurate results, use the most precise inputs you have, and keep the same unit system all the way through a problem: mixing centimetres with metres, or milliamps with amps, is the single biggest cause of answers that are out by a factor of ten or a hundred. Use the laboratory rest wavelength for the emitted value, and remember the velocity figure is only valid when z is much smaller than 1.
The calculator is free, works on a phone or a computer, and needs no sign-up. Everything runs in your browser, so your numbers never leave your device, and closing the page leaves nothing behind.
If the answer looks wrong, change one input at a time and watch which one moves the result. A result that jumps by a factor of ten usually means a unit slipped, centimetres for metres or grams for kilograms, while a result that barely moves when an input changes usually means that input matters less than expected, often because it sits under a square root. Both patterns are worth knowing before an exam.