Home / Science / Astronomy and space / Stellar astrophysics / Magnitude and flux converterTool #44

Magnitude to flux converter: Vega and AB magnitudes, Jansky, erg/s/cm²/Å

Convert between Vega and AB magnitudes, Jansky, f_ν, f_λ and photon flux in UBVRI, 2MASS, WISE and SDSS bands or at any wavelength, with the zero points and their sources shown.

Keep it one tap away for everyday use.

Bookmark Magnitude and flux converter?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Magnitude
  2. Band
  3. All units
Nothing is uploadedWorks offline once open

Convert

What it does

Optical astronomers quote magnitudes, radio and infrared astronomers quote Jansky, and theory papers and spectra use erg s⁻¹ cm⁻² Å⁻¹. Turning one into another needs the band’s zero point and its wavelength, which are easy to get wrong. Type a brightness in any of these units, pick the band, and this converter shows it in all the others at once: Vega magnitude, AB magnitude, Jy, mJy, µJy, f_ν in cgs and SI, f_λ in cgs and SI, and photons per second per cm² per Å.

How to use it

  1. Type the value and choose its unit.
  2. Choose the band: Johnson-Cousins U, B, V, R, I; 2MASS J, H, Ks; WISE W1 to W4; SDSS u, g, r, i, z; or Any wavelength for a single wavelength you type in micrometres.
  3. The table shows the same brightness in every unit. The row you typed is in bold. Tap a value to copy it.

Where the numbers come from

  • Vega zero points (the flux of a magnitude 0 star): Johnson-Cousins from Bessell, Castelli and Plez (1998); 2MASS from Cohen, Wheaton and Megeath (2003); WISE from Jarrett et al. (2011).
  • AB magnitudes use 3631 Jy in every band (Oke and Gunn 1983): m_AB = −2.5 log₁₀(f_ν / 3631 Jy). SDSS magnitudes are close to AB (u is about 0.04 mag brighter in AB terms, z about 0.02 fainter), so SDSS bands offer AB only.
  • f_λ = f_ν c / λ², and the photon flux is f_λ / (hc/λ), both at the band’s effective wavelength. For broad bands this is a close guide rather than exact, because the true conversion depends on the shape of the spectrum across the band.
  • The difference AB − Vega for each band is shown under the band: about 0 in V, 0.89 mag in 2MASS J, 1.37 in H and 1.84 in Ks.

Worked example

A star of V = 12.000 (Vega) has a flux density of 0.05763 Jy (57.63 mJy), which is 5.763 × 10⁻²⁵ erg s⁻¹ cm⁻² Hz⁻¹. At 0.545 µm that is 5.816 × 10⁻¹⁴ erg s⁻¹ cm⁻² Å⁻¹, or 0.0160 photons per second per cm² per Å. Its AB magnitude is 11.999. A star of Ks = 10.000 (Vega) has Ks = 11.840 in AB magnitudes.

Frequently asked questions

Why do AB and Vega magnitudes differ? Vega’s spectrum is not flat in f_ν, so a magnitude 0 star on the Vega system has a different flux in each band, while the AB system uses the same flux everywhere. The gap is small in the visible and grows in the infrared.

Can I use it for radio flux? Yes. Choose “Any wavelength” and type the wavelength in micrometres (21 cm is 210000 µm); Jy, f_ν and f_λ all convert.

Does it send anything? No. It runs in your browser and works offline.

Last updated 2026-11-08.

Change log for Magnitude and flux converter

  1. Add five astronomy tools: cosmology, sub-exposure, backfocus, magnitude-flux, dark-sky calendar Details on GitHub

Every change to fibub

Related tools

Cosmology calculator #41 Type a redshift and get the age of the universe then, the lookback time, comoving, angular diameter and luminosity distances, kpc per arcsecond and the distance modulus, for Planck 2018, WMAP or your own cosmology. Habitable zone calculator #52 Find the habitable zone of any star from its temperature and luminosity, and see whether a planet sits inside it, how much starlight it gets, its equilibrium temperature and its orbital period. Radio telescope calculator #60 Find what a radio dish or array can detect: beam width, collecting area, gain in K/Jy, system equivalent flux density, noise after any integration, a source's signal-to-noise and how long you need to detect it. Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Blackbody calculator #56 Type a temperature, a B − V colour or a peak wavelength to get the Planck spectrum, Wien peak, power per square metre and how it splits into UV, visible and infrared; add a radius and distance for a star's luminosity, bolometric correction and magnitudes. Redshift calculator #55 Convert between redshift, velocity in the relativistic, optical and radio conventions, and observed wavelength or frequency of any common spectral line, with the cosmological recession velocity. Light curve period finder #48 Paste times and brightness measurements, even with gaps and uneven spacing, and find the period with a Lomb-Scargle periodogram, false alarm probabilities, alias checks and a folded light curve. Sub-exposure calculator #42 Find the shortest sub length that buries your camera's read noise under sky noise, from a test frame or from your sky brightness. Works for one-shot colour, LRGB and narrowband, with a chart of what each length costs. Telescope and camera calculator #19 Enter your telescope, eyepieces and camera to see magnification, true field, exit pupil, faintest stars, image scale and whether your camera suits your seeing, with a picture of what fits in the view.