<p>Technically yes, but practically, usually no. </p>

<p>The magnetic field varies in three dimensions and the variations are not parallel to the Earth's surface. However, horizontal distances varies usually on a larger magnitude than elevation and for everyday use, the declination is only based on horizontal position. </p>

<p>The common model for the Earth's magnetic field, <a href="http://earth-planets-space.springeropen.com/articles/10.1186/s40623-015-0228-9">IGRF-12</a> (International Geomagnetic Reference Field) uses the radial distance from the center of the Earth <em>(r)</em> in relation to the geomagnetic conventional Earth’s mean reference spherical radius <em>(a)</em>. In other words, the elevation. <em>(a/r)</em> will usually be almost <em>1</em>, and the difference is less than any other uncertainties in the measurements, e.g. deviation due to <a href="https://en.wikipedia.org/wiki/Magnetic_anomaly">magnetic anomalies</a>. </p>

<p>The magnetic field is often calculated by using the <a href="https://www.ngdc.noaa.gov/IAGA/vmod/igrf12coeffs.txt">published model</a> and <a href="https://www.ngdc.noaa.gov/IAGA/vmod/igrf12.f">this</a> code. As you can see (the code is rather easy to read), the vertical component is used to estimate the magnetic field for every location. </p>

<p>Online calculators are often used to correct declination for navigational purposes: </p>

<ul>
<li><p><a href="https://www.ngdc.noaa.gov/geomag-web/?model=igrf">NOAA's</a> calculator doesn't include elevation and is calculated at sea level. </p></li>
<li><p><a href="http://www.geomag.bgs.ac.uk/data_service/models_compass/igrf_form.shtml">BGS's</a> and <a href="http://www.ga.gov.au/oracle/geomag/agrfform.jsp">GA's</a> calculators does, but the elevation have a small impact on the declination. Try it to see! </p></li>
</ul>

<p>Simpler models, e.g the <a href="https://en.wikipedia.org/wiki/Dipole_model_of_the_Earth%27s_magnetic_field">dipol model</a> also suggest how the magnetic declination varies with distance from the Earth's magnetic center. The approximation work rather well at low latitudes and at the Earth's surface. It can also be used to model Earth's magnetic field in an astronomical context. </p>

<p>Apart from declination, there is also an <em>inclination</em> to take into account. Near the magnetic poles, the compass needle will not be horizontal, but get a dip. This can make normal field compasses almost useless near the magnetic poles (trust me, I tried..). </p>

CC BY-SA 3.0
2017-02-07T13:30:22.473Z
2017-02-07T13:54:27.757Z
2017-02-07T13:54:27.757Z
user2821
<blockquote>
  <p><em>Magnetic declination, sometimes called magnetic variation, is the
  angle between magnetic north and true north. Declination is positive
  east of true north and negative when west. Magnetic declination
  changes over time and with location. As the compass points with local
  magnetic fields, declination value is needed to obtain true north.</em></p>
</blockquote>

<p>This is the definition provided by <a href="https://www.ngdc.noaa.gov/geomag/declination.shtml">National Center For Environmental Information</a>. </p>

<p>As you can read, magnetic declination depends on location (lat/lon) and time but I would like to know if it also depends on the altitude and why it does or does not.</p>

<p>Note: possibly attach some reference to the answer.</p>

CC BY-SA 4.0
2023-11-12T13:06:21.657Z
Just a quick note to mention that magnetic deviation is not the same as magnetic variation. Variation changes as the angle between true and magnetic north variates with time, while deviation (as a characteristic of an instrument such as a direct reading compass) can be affected by pretty much anything including a smartphone or wristwatch.
Nick M
<geomagnetism><magmatism><magnetosphere>
Does Magnetic Deviation depend on altitude?
Federico Gentile
# Does Magnetic Deviation depend on altitude?

(Asked by: username_0 on 2017-02-07)

> *Magnetic declination, sometimes called magnetic variation, is the
> angle between magnetic north and true north. Declination is positive
> east of true north and negative when west. Magnetic declination
> changes over time and with location. As the compass points with local
> magnetic fields, declination value is needed to obtain true north.*

This is the definition provided by [National Center For Environmental Information](https://www.ngdc.noaa.gov/geomag/declination.shtml).

As you can read, magnetic declination depends on location (lat/lon) and time but I would like to know if it also depends on the altitude and why it does or does not.

Note: possibly attach some reference to the answer.

**Tags:** geomagnetism, magmatism, magnetosphere

> **Comments:**
> **username_1**: Just a quick note to mention that magnetic deviation is not the same as magnetic variation. Variation changes as the angle between true and magnetic north variates with time, while deviation (as a characteristic of an instrument such as a direct reading compass) can be affected by pretty much anything including a smartphone or wristwatch.  

---

## 1 answers

### Answer by username_2 on 2017-02-07. Score: 8 | Accepted answer

Technically yes, but practically, usually no.

The magnetic field varies in three dimensions and the variations are not parallel to the Earth's surface. However, horizontal distances varies usually on a larger magnitude than elevation and for everyday use, the declination is only based on horizontal position.

The common model for the Earth's magnetic field, [IGRF-12](http://earth-planets-space.springeropen.com/articles/10.1186/s40623-015-0228-9) (International Geomagnetic Reference Field) uses the radial distance from the center of the Earth *(r)* in relation to the geomagnetic conventional Earth’s mean reference spherical radius *(a)*. In other words, the elevation. *(a/r)* will usually be almost *1*, and the difference is less than any other uncertainties in the measurements, e.g. deviation due to [magnetic anomalies](https://en.wikipedia.org/wiki/Magnetic_anomaly).

The magnetic field is often calculated by using the [published model](https://www.ngdc.noaa.gov/IAGA/vmod/igrf12coeffs.txt) and [this](https://www.ngdc.noaa.gov/IAGA/vmod/igrf12.f) code. As you can see (the code is rather easy to read), the vertical component is used to estimate the magnetic field for every location.

Online calculators are often used to correct declination for navigational purposes:

* [NOAA's](https://www.ngdc.noaa.gov/geomag-web/?model=igrf) calculator doesn't include elevation and is calculated at sea level.
* [BGS's](http://www.geomag.bgs.ac.uk/data_service/models_compass/igrf_form.shtml) and [GA's](http://www.ga.gov.au/oracle/geomag/agrfform.jsp) calculators does, but the elevation have a small impact on the declination. Try it to see!

Simpler models, e.g the [dipol model](https://en.wikipedia.org/wiki/Dipole_model_of_the_Earth%27s_magnetic_field) also suggest how the magnetic declination varies with distance from the Earth's magnetic center. The approximation work rather well at low latitudes and at the Earth's surface. It can also be used to model Earth's magnetic field in an astronomical context.

Apart from declination, there is also an *inclination* to take into account. Near the magnetic poles, the compass needle will not be horizontal, but get a dip. This can make normal field compasses almost useless near the magnetic poles (trust me, I tried..).


---

