Flux Density & Apparent Magnitude Converter
Convert between flux density (Jy, mJy, μJy) and apparent magnitude in AB or Vega systems. Also converts flux ratios to magnitude differences for any UBVRIJHK filter.
💫 What Are Flux Density and Apparent Magnitude?
Apparent magnitude is the traditional astronomical measure of how bright an object appears in the sky as seen from Earth. It is defined on a logarithmic scale: a difference of 5 magnitudes corresponds to a flux ratio of exactly 100. The formula is m = −2.5 log₁₀(F/F₀), where F is the measured flux density and F₀ is the zero-point flux density for the chosen magnitude system. The scale is inverted: brighter objects have smaller (more negative) magnitudes. The Sun has m = −26.74, Sirius is −1.46, and the faintest objects detectable by JWST are around m = +31.
Flux density (spectral flux density) is the power received per unit area per unit frequency interval, measured in Janskys (1 Jy = 10−26 W/m²/Hz). This is a physically meaningful, linear quantity unlike the logarithmic magnitude scale. It is essential for computing luminosities, comparing multi-wavelength observations, and calibrating detectors. Converting between magnitudes and flux densities requires knowing the magnitude system and filter used.
Two major magnitude systems are in use. The Vega system uses the star Vega as the zero point: a star with magnitude 0 has the same flux as Vega in each filter. Because Vega has a non-flat spectrum, the zero-point flux (in Jy) differs from filter to filter: V-band zero-point is 3636 Jy, J-band is 1589 Jy, K-band is 640 Jy. The AB system uses a flat-spectrum reference source with a constant 3631 Jy at all frequencies: mAB = −2.5 log₁₀(Fν/3631 Jy). SDSS, HST, JWST, and most modern surveys use AB; classical optical photometry (Johnson BVRI) and near-infrared photometry (2MASS JHK) use the Vega system.
The Pogson ratio (101/2.5 = 2.512) is the flux factor per magnitude step. A one-magnitude difference means one source is 2.512 times brighter than the other. Five magnitudes = exactly 100× in flux. The minus sign in the formula ensures the convention that brighter = smaller magnitude, matching the ancient Greek system in which first-magnitude stars were brightest and sixth-magnitude stars were the faintest visible to the naked eye.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Vega in the V-band (defines the Vega zero point)
Vega: m = 0.03 (Vega system, V-band)
Example 2 — The Sun in the V-band
Sun: m = −26.74 (Vega system, V-band)
Example 3 — Flux Ratio: 5 Magnitudes = Factor of 100
Δm = 5 magnitudes ↔ flux ratio F₁/F₂ = 100
❓ Frequently Asked Questions
🔗 Related Calculators
What is the difference between the AB and Vega magnitude systems?
The Vega system defines the zero point using the star Vega: a star with magnitude 0 has the same flux as Vega in that filter. Because Vega has different flux densities at different wavelengths, the zero-point flux (in Jy) is filter-dependent (U: 1790 Jy, B: 4063 Jy, V: 3636 Jy, R: 3064 Jy, I: 2416 Jy, J: 1589 Jy, H: 1021 Jy, K: 640 Jy). The AB system uses a flat-spectrum reference source with a constant 3631 Jy at all frequencies, making it easier to work with: m_AB = -2.5 log(F_nu/3631 Jy). Modern surveys (SDSS, HST, JWST) use AB.
What is a Jansky and how does it relate to other flux units?
A Jansky (Jy) is the standard unit of spectral flux density in radio and infrared astronomy. 1 Jy = 10^-26 W/m^2/Hz = 10^-23 erg/s/cm^2/Hz. It is named after Karl Jansky who discovered cosmic radio emission in 1933. For optical work, mJy (millijansky = 10^-3 Jy) and μJy (microjansky = 10^-6 Jy) are common. JWST can detect sources at a few nJy (nanojansky = 10^-9 Jy). The Jansky is a spectral (per-Hz) unit, unlike the bolometric flux in W/m^2 which integrates over all frequencies.
How do I convert between the AB and Vega systems?
A conversion offset exists for each filter because Vega has a non-flat spectrum. In V-band, AB and Vega magnitudes are nearly identical (offset ~ -0.02 mag). In U-band, Vega magnitudes are about 0.79 mag brighter than AB. In K-band, Vega magnitudes are about 1.85 mag brighter than AB (because Vega is much redder than the flat AB reference in the near-infrared). The conversion is m_Vega = m_AB + offset_filter, where offsets are published for each filter/system combination.
What is the pogson ratio and why is 2.512 special?
Norman Pogson formalized the magnitude scale in 1856 by defining a difference of 5 magnitudes to correspond to a factor of exactly 100 in flux. This gives the magnitude step (Pogson ratio) = 100^(1/5) = 10^(2/5) = 10^0.4 = 2.5119... . So each magnitude step corresponds to a flux ratio of approximately 2.512. The formula m = -2.5 log(F/F0) encodes this: a 1-magnitude change means F changes by 10^(2.5/2.5) = 10^1 ... no wait: for dm=1, F2/F1 = 10^(-1/2.5) = 10^(-0.4) = 0.3981, or equivalently the brighter source is 2.512x more flux. The minus sign means brighter objects have smaller (more negative) magnitudes.
What does it mean for a source to have magnitude -26 or +31?
The apparent magnitude scale is reversed: lower numbers mean brighter. The Sun has V = -26.74, making it the brightest object in the sky by far. Sirius is -1.46, Vega is about 0.03, the faintest stars visible to the naked eye under perfect conditions are about +6.5, typical binoculars reach +10, amateur telescopes +13 to +15. The Hubble Space Telescope can detect objects at +31 in deep imaging. JWST reaches +31 in infrared. The full dynamic range from the Sun to the JWST limit is about 58 magnitudes, corresponding to a flux ratio of 10^(58/2.5) = 10^23.
What is flux density versus flux and why does it matter?
Flux is the total power per unit area received across all wavelengths (W/m^2), the bolometric quantity. Flux density (also called specific flux) is flux per unit frequency (W/m^2/Hz) or per unit wavelength (W/m^2/nm). Apparent magnitudes are defined in terms of spectral flux density in a specific filter bandpass, not bolometric flux. The Jansky is a spectral flux density unit. Bolometric corrections convert filter-band magnitudes to total (all-wavelength) luminosities, but they require knowing the source spectrum.
What magnitude can JWST detect and what does that correspond to in Jy?
JWST can detect sources at about 29-31 AB magnitude in deep imaging depending on exposure time and filter. At 31 AB: F = 3631 * 10^(-31/2.5) Jy = 3631 * 10^(-12.4) = 3631 * 3.98e-13 = 1.45e-9 Jy = 1.45 nJy. At 29 AB: F = 3631 * 10^(-11.6) = 3631 * 2.51e-12 = 9.1e-9 Jy = 9.1 nJy. These are roughly the flux densities of galaxies near the edge of the observable universe. The Sun at 10 parsecs has V ≈ 4.8, corresponding to ~3560 Jy at 10 pc — 13 orders of magnitude brighter than the JWST limit.
How does the filter bandpass affect the conversion?
Each filter only transmits a range of wavelengths. A magnitude measured through a filter captures only the flux in that wavelength range. The zero-point flux F0 is defined as the flux density of a zero-magnitude source in that filter, set by the Vega spectrum (Vega system) or by the flat-spectrum reference (AB system). Comparing magnitudes in different filters reveals the spectral energy distribution (color) of the source. For example, V-J color measures the flux ratio between visible and near-infrared, correlating with stellar temperature.
How do I use magnitude differences to compare star brightnesses?
The formula Δm = m2 - m1 = -2.5 log(F2/F1) gives the magnitude difference from a flux ratio, or equivalently F2/F1 = 10^(-Δm/2.5). To compare brightness: if Star A has m=1 and Star B has m=6, then Δm=5 and F_A/F_B = 10^(5/2.5) = 100: Star A is 100 times brighter. If Δm=-1 (Star A fainter), F_A/F_B = 10^(-(-1)/2.5) = 10^0.4 = 2.512. The ratio mode in this calculator lets you enter either two flux densities or a magnitude difference to find the other.
What is the V-band and what do UBVRIJHK stand for?
UBVRIJHK is the standard photometric filter system. U (ultraviolet, 365 nm), B (blue, 440 nm), V (visual, 550 nm), R (red, 640 nm), I (infrared, 800 nm) are the Johnson optical filters. J (1220 nm), H (1630 nm), K (2190 nm) are the near-infrared 2MASS filters. The V-band was historically chosen to match human visual perception. B-V color (blue minus visual magnitude) is a measure of stellar temperature: hot blue stars have B-V ~0, cool red stars have B-V ~1.5.
Why are some sources measured in mJy or μJy rather than Jy?
Astronomical sources span an enormous flux range. Bright radio sources like Cassiopeia A have flux densities of thousands of Jy at 1 GHz. The brightest optical stars are tens of thousands of Jy. But distant galaxies and faint radio sources are measured in mJy to nJy. VLBI and interferometric radio surveys reach micro-Jy sensitivities. Using sub-units (mJy, μJy, nJy) avoids writing many zeros and makes comparisons intuitive. For reference: 1 Jy = 10^3 mJy = 10^6 μJy = 10^9 nJy.