Online Compass Logo
Online Compass
Online Compass Logo
Online Compass
Navigation Utility

Magnetic Declination Calculator

Instantly compute the 2026 angle between True North and Magnetic North for any latitude and longitude — browser-based, no install, and cross-referenced against 50 verified major cities.

🧲

Enter coordinates, pick a city, or use your GPS location to compute the local magnetic declination.

Reference Table — Declination in Major Cities (2026)

CityCountryLatitudeLongitudeDeclination
New YorkUSA40.71°-74.01°13.0° West
Los AngelesUSA34.05°-118.25°11.5° East
ChicagoUSA41.88°-87.63°4.1° West
HoustonUSA29.76°-95.37°2.3° East
DenverUSA39.74°-104.99°7.9° East
SeattleUSA47.61°-122.33°15.4° East
AnchorageUSA61.22°-149.90°14.8° East
TorontoCanada43.65°-79.38°10.9° West
VancouverCanada49.28°-123.12°15.8° East
Mexico CityMexico19.43°-99.13°5.3° East
São PauloBrazil-23.55°-46.63°22.0° West
Buenos AiresArgentina-34.60°-58.38°4.6° West
LimaPeru-12.05°-77.04°2.0° West
SantiagoChile-33.45°-70.66°3.5° East
LondonUK51.51°-0.13°1.5° West
ParisFrance48.86°2.35°0.7° West
BerlinGermany52.52°13.40°4.3° East
MadridSpain40.42°-3.70°0.7° West
RomeItaly41.90°12.50°3.4° East
MoscowRussia55.76°37.62°11.8° East
IstanbulTürkiye41.01°28.98°6.5° East
ReykjavíkIceland64.15°-21.93°12.2° West
StockholmSweden59.33°18.07°7.4° East
CairoEgypt30.04°31.24°4.6° East
DubaiUAE25.20°55.27°2.0° East
RiyadhSaudi Arabia24.71°46.67°2.7° East
MakkahSaudi Arabia21.42°39.83°3.3° East
LagosNigeria6.52°3.38°2.4° West
NairobiKenya-1.29°36.82°1.0° East
Cape TownSouth Africa-33.92°18.42°25.2° West
DelhiIndia28.70°77.10°1.2° East
MumbaiIndia19.07°72.88°0.9° East
BengaluruIndia12.97°77.59°0.8° West
KolkataIndia22.57°88.36°0.3° West
DhakaBangladesh23.81°90.41°0.6° West
KarachiPakistan24.86°67.00°1.3° East
KathmanduNepal27.71°85.32°0.0° Zero
BangkokThailand13.76°100.50°1.2° West
SingaporeSingapore1.35°103.82°0.1° East
Kuala LumpurMalaysia3.14°101.69°0.3° West
JakartaIndonesia-6.20°106.82°0.3° East
ManilaPhilippines14.60°120.98°1.0° West
Hong KongChina22.32°114.17°3.2° West
BeijingChina39.90°116.40°7.1° West
ShanghaiChina31.23°121.47°5.3° West
TokyoJapan35.68°139.69°7.5° West
SeoulSouth Korea37.57°126.98°8.0° West
SydneyAustralia-33.87°151.21°12.5° East
MelbourneAustralia-37.81°144.96°11.3° East
PerthAustralia-31.95°115.86°1.5° West
AucklandNew Zealand-36.85°174.76°19.5° East

Values are accurate to ±0.5° for 2026. For aerospace, surveying, or mission-critical use, verify with the official NOAA Magnetic Field Calculator.

What Is Magnetic Declination and Why It Matters

Magnetic declination is the horizontal angle between the direction your compass needle points (Magnetic North) and the direction of the geographic North Pole (True North). Because the Earth’s magnetic field is generated by slow, chaotic convection of molten iron in the outer core, Magnetic North is not a fixed point — it drifts continuously, currently shifting from Canada toward Siberia at roughly 55 km per year.

This drift means that any compass reading you take — whether from a traditional baseplate compass, a smartphone magnetometer, or an aircraft instrument — is slightly “wrong” relative to the map under your feet. Depending on where you stand, the offset can be anywhere from 0° near the agonic line (currently running through central USA and eastern India) to more than 20° in parts of Alaska, Scandinavia, southern Brazil, and South Africa. Our calculator tells you exactly how much to correct for, using the latest World Magnetic Model (WMM-2025) coefficients.

Who Needs a Declination Calculator?

Even in 2026, declination silently distorts the work of millions of people who never realise it. If you fall into any of these groups, a quick declination check is essential before you commit to a reading:

🥾

Hikers & Backpackers

Applying a 15° declination to your paper-map bearing can be the difference between finding your car and spending the night in the woods.

🏗️

Architects & Surveyors

Solar panel alignment, daylight modelling, and site layouts are all anchored to True North — not the Magnetic North a cheap compass shows.

🕉️

Vastu & Feng Shui Consultants

The 16-zone Mandala is drawn against True North. A 10° declination error silently shifts every room into the wrong energetic sector.

🕋

Qibla Finders

The great-circle bearing to the Kaaba is a geographic calculation. Use declination-corrected True North for accurate prayer direction.

✈️

Pilots & Marine Navigators

Aviation sectional charts and nautical charts require manual declination application when converting between magnetic and true bearings.

📡

Satellite & 5G Technicians

Dish and antenna azimuths must be set against True North; a raw magnetic reading produces weak signal or no lock at all.

How to Use This Calculator

1

Provide Your Coordinates

Enter latitude and longitude manually, pick from 50 reference cities, or tap Use My Location to auto-fill via your browser’s GPS.

2

Compute Declination

Our engine performs an inverse-distance-weighted estimate against the 5 nearest verified WMM-2025 reference cities and returns the angle in seconds.

3

Apply the Correction

Add East declination to your magnetic reading or subtract West declination to convert Magnetic North into True North.

How the Math Actually Works

Under the hood, every serious declination calculator on Earth resolves a spherical harmonic series up to degree 12 — the World Magnetic Model (WMM) coefficients published every five years by NOAA’s National Centers for Environmental Information and the British Geological Survey. Evaluating that series in a browser is possible but unnecessary for most real-world use because declination varies smoothly across hundreds of kilometres.

Our calculator uses a pragmatic and transparent hybrid approach. We pre-computed the 2026 WMM-2025 declination for 50 verified reference cities distributed across the globe — North and South America, Europe, Africa, the Middle East, South and South-East Asia, East Asia, and Oceania. When you submit coordinates, we compute the great-circle distance to each reference city using the haversine formula and take the inverse-square-distance weighted average of the five nearest cities.

This gives you typical accuracy of ±0.5° to ±1.5° anywhere with at least one reference city within a few hundred kilometres — more than sufficient for hiking, Vastu, Qibla, solar alignment, and antenna aiming. For aerospace, surveying, or any use where sub-degree accuracy is critical, we always direct you to the official NOAA Magnetic Field Calculator, which evaluates the full WMM spherical harmonic expansion.

East Declination vs. West Declination

If your result is East declination, Magnetic North lies to the east of True North — your compass needle points right of the geographic pole. If it is West declination, the needle points left of True North. The practical correction rule most navigators memorise is:

True bearing = Magnetic bearing + East declination True bearing = Magnetic bearing − West declination

Or, as the old orienteering mnemonic goes: “East is least, West is best” — subtract when east, add when west if you’re going the opposite direction (map-to-compass). Our calculator expresses the raw signed value so you can apply whichever convention your workflow uses.

Related Tools on Online-Compass.com

Every tool on Online-Compass.com is browser-based, privacy-first, and powered by your phone’s MEMS sensors and GPS. Pair the declination calculator with any of these:

Frequently Asked Questions

How accurate is this declination calculator?

Our calculator delivers typical accuracy of ±0.5° to ±1.5° for any location within a few hundred kilometres of a reference city — which covers essentially every populated region of the globe. For remote ocean areas or extreme polar latitudes, the accuracy can drift to ±3°.

This is significantly better than a physical baseplate compass can resolve, and more than sufficient for hiking, Vastu, Qibla, solar alignment, antenna aiming, photography, and most architectural work. For aerospace, land surveying, or mission-critical use we always link out to the official NOAA calculator, which evaluates the full spherical-harmonic WMM series.

Why does magnetic declination change over time?

The Earth’s magnetic field is generated by convecting molten iron in the outer core. That flow is turbulent on geological timescales but clearly observable over years and decades, which is why scientific bodies publish a fresh World Magnetic Model every five years. The magnetic north pole itself has moved more than 2,500 km since the first accurate measurements in 1831, and since the late 1990s it has accelerated from ~15 km/year to ~55 km/year on a path toward Siberia.

For most users the annual drift is small (~0.1° per year in mid-latitudes), so a 2026 reading from Online-Compass.com will remain useful for several years. However, if you are operating in high latitudes above 65°, we recommend recomputing every 12–24 months, since declination changes there can exceed a degree per year.

Can I use this on my phone without downloading an app?

Yes — the entire Online-Compass.com suite, including this Magnetic Declination Calculator, is delivered as a standard HTTPS web page that runs inside Safari, Chrome, Firefox, Edge, Samsung Internet, and Brave. There is nothing to install, no account to create, and no advertising identifier attached to your session. When you tap Use My Location, your browser asks permission and passes the GPS fix directly to the calculator; the coordinates never leave your device.

For readers coming from our navigation blog, this is the same architecture that powers our live compass — browser-first, sensor-direct, and privacy-respecting by design.

Should I add or subtract declination from my compass reading?

The rule depends on which direction you are converting. To convert a magnetic bearing (what your compass shows) into a true bearing (what your map uses), you add an east declination or subtract a west declination: True = Magnetic + East or True = Magnetic − West. Going the other way (map-to-compass) reverses the sign: Magnetic = True − East or Magnetic = True + West.

Our calculator returns the raw signed value: positive numbers are east declination, negative numbers are west declination. Online-Compass.com’s live compass applies this correction automatically when you enable GPS, so you never have to do the arithmetic yourself in the field.

Is my location data stored or transmitted anywhere?

No. Online-Compass.com runs the declination calculation entirely inside your browser using JavaScript. When you grant geolocation permission, the coordinates are held in page memory, used for the interpolation, and discarded when you close the tab. We do not send your GPS fix to our server, to any analytics provider, or to any advertising network.

This is a deliberate architectural choice. Tools like Qibla Finder, Vastu Compass, Elevation Tool, and the declination calculator all share the same privacy-first promise — your faith, your home alignment, your hiking route, and your coordinates belong to you alone.

Try every Online-Compass tool — free, no install.

All tools run entirely inside your browser using your phone's MEMS sensors, GPS, and magnetometer. No app store. No account. No tracking.

Magnetic Declination Calculator - Online Compass