Redshift Calculator

Redshift Calculator

Calculate redshift from rest and observed wavelength, solve the missing wavelength, compare low-z and relativistic recession velocity, and read scale factor, stretch, distance, and uncertainty.

🔭Redshift Presets
Inputs
All wavelength inputs are converted to nanometers internally.
Selecting a line loads the matching rest wavelength.
Rest wavelength is the laboratory wavelength of the feature.
Observed wavelength is the measured feature location.
Positive z is redshift; negative z is blueshift.
Auto switches from nm to micrometer, mm, cm, or m.
Used only for simple Hubble-law distance estimates.
Default is km/s, used in velocity outputs.
Used by the comparison grid and wavelength ratio cards.
Approximate sigma applied to both wavelength measurements.
Controls displayed results only.
Scientific notation is useful for radio and CMB examples.
📊Results
Redshift z 0.0300 observed/rest - 1
Observed Wavelength 675.9690 nm rest x (1 + z)
Relativistic Velocity 8,871 km/s beta from redshift ratio
Scale Factor 0.9709 a = 1 / (1 + z)
🌌Live Metric Grid
🔁Comparison Grid
💡Reference Tables
Spectral FeatureRest WavelengthCommon UseLine ID Caution
Lyman-alpha121.567 nmhigh-z galaxies and quasarsabsorbed by neutral hydrogen forests
O II doublet372.7 nmstar-forming galaxiescan blend at low spectral resolution
H-beta486.133 nmBalmer emission and absorptionnear O III in many spectra
O III500.684 nmnebular emission and AGNoften paired with 495.9 nm line
H-alpha656.281 nmnearby galaxy redshiftswatch N II contamination nearby
HI 21 cm21.106 cmradio galaxy gas redshiftvelocity convention may differ
CO J=1-02.60076 mmmolecular gas in galaxieshigher-J lines can be confused
CMB peak proxy1.063 mmthermal background stretchuse as a scale example only
Redshift1 + zScale FactorWavelength Shift
-0.010.991.01011 percent blueshift
0.011.010.99011 percent redshift
0.101.100.909110 percent longer wavelength
0.501.500.6667visible lines move infrared
1.002.000.5000wavelength doubles
3.004.000.2500Lyman-alpha to visible band
6.007.000.1429reionization-era galaxy scale
110011010.0009CMB-era stretch example
zApprox v = zcRelativistic betaDifference
0.001300 km/s0.0010 cnegligible
0.0102,998 km/s0.0100 ctiny
0.05014,990 km/s0.0488 cabout 2.4 percent
0.10029,979 km/s0.0950 cabout 5 percent
0.500149,896 km/s0.3846 capprox overstates
1.000299,792 km/s0.6000 capprox breaks down
Observation BandTypical RangeRedshift UseExample
Optical350-900 nmnearby emission linesH-alpha at z below 0.37
Near infrared0.9-2.5 umz near 1 to 6 line workLyman-alpha at z about 6
Mid infrared2.5-25 umdusty or high-z featuresH-alpha at z above 3
Millimeter0.3-10 mmmolecular lines and CMBCO ladders in galaxies
Radiocm to mHI 21 cm redshiftsneutral gas surveys
🧮Formula Notes
Redshift: z = (observed wavelength - rest wavelength) / rest wavelength. This is equivalent to z = observed / rest - 1.
Observed wavelength: observed = rest x (1 + z). Use the same wavelength unit for both sides or convert before applying the formula.
Low-z recession speed: v approximately equals zc. This is a handy approximation for small redshifts, but it becomes misleading as z grows.
Relativistic Doppler beta: beta = ((1 + z)^2 - 1) / ((1 + z)^2 + 1). This gives v/c for special-relativistic Doppler shift, not a full cosmological distance model.
💡Tips
Line identification matters. A single emission bump can match more than one rest wavelength. Check companion lines, spectrum shape, and the instrument band before treating a redshift as final.
Separate Doppler and cosmology. The relativistic beta card is useful for Doppler intuition. For high-redshift galaxies, expansion distance and lookback time need a cosmology calculator.
Use the uncertainty as a sanity check. If wavelength errors overlap another possible line ID, the numerical redshift can look precise while the interpretation stays ambiguous.
Keep units boring. Convert all wavelengths to the same unit first. The calculator does that internally, but matching units in your notes prevents transcription mistakes.

That’s where Redshift comes in. It is sort of like Doppler shift, except instead of moving closer or farther from an object, we’re stretching out wavelength of light as space itself stretch over the course of billions of light years. And what you see when you look at a galaxy isn’t a snapshot so much as a timestamp, a timestamp that calculator can turn back into distance, scale factor, and velocity.

But first you need to know what those numbers mean; what the universe do to the light before it hits your sensor. What’s the starting point? That would be the rest wavelength, the lab standard for a given spectral line (e.g., Lyman-alpha or H-alpha). That’s the wavelength of element in its pure form. What you observe is different: that’s the wavelength. The gap between those two wavelengths are called redshift (z).

What Is Redshift?

So if measured wavelength is twice as long than the rest wavelength, then z = 1. That means the universe have expanded by a factor of two since light was sent out. You pick proper rest wavelength and the calculation does the work.

One mistake amateurs often make in spectroscopy is to misidentify the line. Hydrogen may look like oxygen. Oxygen can masquerades as hydrogen. Check accompanying lines to confirm.

For nearby galaxies, the low-redshift (near zero point one) version approximate recession velocity by multiplying z by speed of light. So you can just multiply z by the speed of light and get an approximate result. That won’t work at high values of z. Here’s why: space is expanding enough that simple linear mathematics are no longer right. At higher values, it use relativistic beta calculations to give a better sense. Applying the low-z version to a faraway quasar would greatly exaggerate its rate of travel. The calculator split them up so you can visualize the impact. It shows where common-sense ideas of motion break down in universe-wide setting.

One other key result is scale factor, which is proportional to size of the universe back then compared to now. If redshift is a value of 3, the universe had shrunk down to a quarter of its present size. So that puts some concrete meaning on those abstractions. It’s about history of expansion rather than just the rate.

These reference tables shows the shifting of various spectral lines with increasing redshift and band. For example, H-alpha shift to infrared at modest redshifts. That explains why you need near-infrared cameras to study early universe. The light is still there, but it shifted outside visible range.

These are all very uncertain measurements. At high z, an error of a few nanometers become a big error in the redshift value. Line identification can be unclear due to poor spectral resolution. You can enter the wavelength measurement uncertainty into calculator and see if it affect your result. If the error bars intersect with other potential line identifications, then your exact redshift value is misleading. Accuracy isn’t the same thing as precision. This is important for those dealing with spectal data. It forces you to admit the limitations of your measurement.

Lastly, we have an approximate measure of distance from the Hubble distance estimate. This use the Hubble constant to provide a kind of yardstick, though this view is simplified because it does not account for how matter and dark energy are spread across space. It provides a basis for the idea that redshift is about space rather than just time: you are observing an object located at that distance.

But how do wavelength, velocity and scale factor relates? How does the universe expand? The answers let you go from raw numbers to meaning behind them. And that’s what redshift represents. A look back in time, except that the universe has expanded since then, so it has stretched the wavelengths.

Redshift Calculator