molecalculator

Moles & Molar Mass

NOAA Magnetic Field Calculator: How to Use It

Calculator No. 01-14635 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The NOAA Magnetic Field Calculator is a free online tool from the U.S. National Centers for Environmental Information (NCEI) that estimates the Earth’s magnetic field (declination, inclination, and intensity) at any location and date. You enter latitude, longitude, and a date, and it returns the magnetic field values plus the rate of change. It is the standard reference for compass corrections, navigation, and geophysical studies.

Formula

The calculator uses the World Magnetic Model (WMM) or the International Geomagnetic Reference Field (IGRF), which are spherical harmonic models of the Earth’s magnetic field. The field components are computed from the gradient of a scalar potential:

V(r, θ, λ, t) = a ∑n=1N (a/r)n+1 ∑m=0n (gnm(t) cos(mλ) + hnm(t) sin(mλ)) Pnm(cos θ)

where:

  • r = radial distance from Earth’s center (m)
  • θ = geocentric colatitude (90° – latitude)
  • λ = longitude (degrees)
  • a = Earth’s reference radius (6371.2 km for WMM)
  • Pnm = associated Legendre functions
  • gnm, hnm = Gaussian coefficients (time-dependent, updated every 5 years)

The calculator outputs declination (D), inclination (I), and total intensity (F) from the vector components: X (north), Y (east), Z (down).

Worked Example

Using the default values (New York City, 40.7128°N, -74.0060°E, altitude 0 km, date 2024-01-01):

  1. Convert latitude to colatitude: θ = 90° – 40.7128° = 49.2872°.
  2. Compute the spherical harmonic sum (this is done by the model software, not by hand). For the WMM 2020, at this location and date, the model gives:
  3. Declination D ≈ -13.5° (west), Inclination I ≈ 67.5° (down), Total intensity F ≈ 50,500 nT.

The calculator block above shows 0 for all outputs because the actual model coefficients are not embedded here; the block is a placeholder to illustrate the inputs. In practice, you use the NOAA tool to get the exact numbers.

Assumptions

  • The model assumes a smooth, large-scale magnetic field; local anomalies (e.g., iron deposits) are not included.
  • Altitude is referenced to mean sea level (or the WGS84 ellipsoid, depending on the model).
  • The model is updated every 5 years; for dates far from the epoch, accuracy degrades.
  • The calculator does not account for magnetic storms or daily variations.

What the Outputs Mean

Declination (magnetic variation) is the angle between true north and magnetic north. Positive values mean the compass needle points east of true north. Inclination (magnetic dip) is the angle the field makes with the horizontal; at the magnetic poles it is ±90°. Total intensity is the strength of the field in nanoteslas (nT). The NOAA tool also gives the annual rate of change (secular variation) for each component, which is useful for updating maps.

How to Choose the Right Model

NOAA offers two main models: WMM and IGRF. The WMM is the standard for navigation and is used by NATO and the FAA; it is updated every 5 years. The IGRF is a research model, also updated every 5 years, but with a longer time span (back to 1900). For most practical purposes (compass correction, map plotting), use the WMM. For scientific studies or historical reconstructions, use the IGRF. The NOAA website lets you select the model and the date range.

Common Problems and Mistakes

  • Entering longitude as positive west instead of negative (the calculator uses positive east).
  • Forgetting to convert latitude/longitude to decimal degrees (e.g., 40°42’46” N = 40.7128°).
  • Using the wrong date: the model is time-dependent, so a date far from the epoch (e.g., 2025 for WMM 2020) gives less accurate results.
  • Ignoring local magnetic anomalies: the calculator gives the regional field, not the local disturbance.

Safety and Accuracy Notes

Always follow your lab method and safety data sheets when using magnetic measurements in experiments. For navigation, remember that the calculator gives the theoretical field; actual compass readings can be affected by nearby metal objects or electronic devices. For high-precision work, verify with a local magnetic survey or a calibrated magnetometer.

Frequently Asked Questions

Is the NOAA magnetic field calculator free?

Yes, it is completely free and publicly accessible on the NCEI website. You do not need an account or registration.

What is the difference between WMM and IGRF?

WMM is optimized for navigation and is updated every 5 years, with a 5-year validity period. IGRF is a scientific model, also updated every 5 years, but provides coefficients back to 1900 and is used for research. For most users, WMM is the right choice.

How accurate is the calculator?

Within the model’s validity period (e.g., 2020-2025 for WMM 2020), the accuracy is typically within a few tenths of a degree for declination and a few tens of nT for intensity. Away from the epoch, accuracy degrades.

Can I use it for any location on Earth?

Yes, the model covers the entire globe, including oceans and polar regions. However, near the magnetic poles, declination changes rapidly, so small position errors can lead to large declination errors.

Why does the calculator ask for altitude?

Altitude affects the field strength and direction, especially for aviation and satellite applications. At ground level, the difference is small, but at 10 km altitude, the intensity can drop by a few hundred nT.

Does it account for solar storms?

No, the calculator gives the quiet-time field. During geomagnetic storms, the field can vary by hundreds of nT, which is not captured by the model.

Related

Formula used
in lat | Latitude (degrees, +N) | ° | 40.7128 | -90 | 90
in lon | Longitude (degrees, +E) | ° | -74.0060 | -180 | 180
in alt | Altitude (km above sea level) | km | 0 | -0.5 | 1000
in date | Date (YYYY-MM-DD) | - | 2024-01-01 | 1900-01-01 | 2100-01-01
out decl | Declination (degrees, east positive) | ° | 0 | -180 | 180
out inc | Inclination (degrees, down positive) | ° | 0 | -90 | 90
out ti | Total intensity (nT) | nT | 0 | 20000 | 70000

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →