Skip to compass

Live magnetic compass

3060120150210240300330NESESWNWNESW

—

Not started

Point your device and hold it flat.

What you are about to get

Live sensor
Reads your device’s magnetometer directly, many times a second. Not an estimate from your IP address, your timezone or a map.
WMM2025
True north is corrected using NOAA and NGA’s official World Magnetic Model, verified to 0.005° against their own published test values.
Honest accuracy
Shows the reading’s own margin of error and warns you when the sensor needs recalibrating, instead of displaying a confident wrong number.
Stays on device
The magnetic model runs inside this page. No account, no tracking, and your coordinates are never uploaded.

Your coordinates stay on your device — declination is computed here in the browser, never sent anywhere.

Online compass for your true direction, not just magnetic north.

Most online compass tools read magnetic north and stop there. This one corrects your compass direction for local magnetic declination using NOAA’s official World Magnetic Model, so the heading matches your map. Free, works in any modern mobile browser, and nothing to install.

How it works

Your browser only knows magnetic north. We do the rest.

Every mobile browser reports the heading your magnetometer sees, which is measured from the magnetic pole — a moving target currently drifting across the Arctic. Turning that into the north on your map takes a model of the Earth’s magnetic field. This page carries one: the 2025 World Magnetic Model, the same spherical-harmonic model used for aviation and marine navigation, evaluated locally for your coordinates and today’s date.

  1. Step one

    Read the sensor

    The device reports its orientation many times a second. We compensate for screen rotation and smooth the signal so the dial settles instead of twitching.

  2. Step two

    Find your declination

    With your coordinates, the magnetic model returns the angle between true and magnetic north where you are standing, along with how fast it is currently changing.

  3. Step three

    Correct the heading

    Adding declination to the magnetic heading gives true north. Both numbers stay visible, so you can match whichever reference your map or instrument uses.

Why this one

Built like an instrument, not a widget.

True north, not just magnetic

Your phone’s magnetometer points at the magnetic pole, which can sit 20° or more off the north on your map. We compute your local declination from NOAA’s WMM2025 model and correct for it, in the browser.

Calibration that tells you when

Instead of burying figure-eight instructions in an FAQ, the compass watches its own reported accuracy and prompts you the moment the reading starts drifting.

A needle that holds still

Raw sensor output jitters by several degrees. Readings are smoothed as vectors rather than angles, so the card settles smoothly and never spins the long way round as it crosses north.

Nothing leaves your device

Declination is calculated locally from a model built into the page. Your coordinates are never uploaded, and there is no account, no tracking and no app to install.

Built for outdoors

The screen stays awake while you navigate, the dial scales to your display, and a dark mode keeps your night vision intact.

Honest about your hardware

No magnetometer, denied permission, an insecure connection — each gets a specific explanation and a fix, rather than a dial stuck at zero.

The full guide

A complete guide to using a compass online

A compass answers a single question: which way am I facing? The phone in your pocket carries a three-axis magnetometer that measures the Earth’s magnetic field hundreds of times a minute, and every modern mobile browser can read it. That is all an online compass is — the same sensor an analogue instrument responds to, reached through a web page instead of an app you have to install. This guide covers what that sensor measures when you use a compass online, how to read the compass direction it reports, and the handful of things that will quietly make it wrong.

What an online compass actually measures

Your device does not know where north is. It knows the strength and direction of the magnetic field passing through it, on three perpendicular axes. Combined with the accelerometer, which tells the device which way is down, that field vector can be projected onto the horizontal plane and turned into a heading. The browser hands that heading to this page through the device orientation API, and the page draws it on a dial.

Two consequences follow, and both matter. The first is that a magnetic compass on a phone is a real measurement rather than a lookup — turn the device and the number changes because the field through the sensor genuinely changed. The second is that anything which distorts the local magnetic field distorts your reading, which is why a compass that is perfect in a field can be ten degrees out on a steel balcony.

Magnetic compass direction versus true direction

A magnetic compass points at the north magnetic pole, which is not the geographic North Pole and never has been. The angle between the two, measured at your position, is called magnetic declination — sometimes magnetic variation on nautical charts. It is close to zero along a line running through parts of the Americas and Asia, and exceeds twenty degrees in places such as Alaska, eastern Canada and New Zealand.

That distinction is the whole reason this page exists. Maps, property boundaries, architectural plans, satellite look angles and GPS coordinates are all referenced to true north. Browsers, on every platform, report only magnetic north. An online compass direction that ignores declination is therefore correct as a magnetic bearing and wrong as a map bearing, by an amount that depends entirely on where you are standing. This compass computes your declination from the official World Magnetic Model and shows you both numbers, so you can match whichever reference your map or instrument uses.

Reading compass direction in degrees

Compass direction is given in degrees clockwise from north: 0° is north, 90° is east, 180° is south and 270° is west. A bearing of 225° means you are facing southwest. The readout gives you the degree value and the nearest of the sixteen traditional points.

For the cardinal directions alone, see the guide to directions.

The sixteen compass points and the range of compass direction in degrees each one covers.
PointDirectionCompass direction
NNorth348.75° – 11.25°
NNENorth-northeast11.25° – 33.75°
NENortheast33.75° – 56.25°
ENEEast-northeast56.25° – 78.75°
EEast78.75° – 101.25°
ESEEast-southeast101.25° – 123.75°
SESoutheast123.75° – 146.25°
SSESouth-southeast146.25° – 168.75°
SSouth168.75° – 191.25°
SSWSouth-southwest191.25° – 213.75°
SWSouthwest213.75° – 236.25°
WSWWest-southwest236.25° – 258.75°
WWest258.75° – 281.25°
WNWWest-northwest281.25° – 303.75°
NWNorthwest303.75° – 326.25°
NNWNorth-northwest326.25° – 348.75°

How to use this compass online, step by step

  1. Open the compass and allow motion access. Tap Start compass. iOS asks for permission to use motion and orientation sensors — this is the tap Apple requires before any web page can read the magnetometer. Android grants it without a prompt.

  2. Hold the device flat. Rest the phone level in your palm, screen up. A magnetometer reads a three-dimensional field, and the heading is a projection of it onto the horizontal plane, so tilt is the single biggest source of error.

  3. Allow location for true compass direction. Share your coordinates and the page computes your magnetic declination locally, converting the magnetic reading into true direction. Decline, and the compass keeps working as a magnetic compass.

  4. Read the heading. The number is your compass direction in degrees clockwise from north, with the nearest named point beside it. Turn until it matches the bearing you want to follow.

  5. Recalibrate if the reading drifts. When the page warns that accuracy has dropped, move the device through a figure-eight a few times, away from metal, magnets and speakers.

What throws a magnetic compass off

Almost every bad compass reading has a local cause rather than a software one. Reinforced concrete, steel door frames, filing cabinets, car bodies, laptops, headphones, wireless chargers and the magnets in a phone case or a car mount all bend the field near the sensor. So does standing inside a vehicle, a lift, or a building with a steel frame. Step a few metres away from metal and onto open ground and most of the error disappears.

The second cause is calibration drift, as the sensor picks up a small permanent bias over time. The fix is the figure-eight motion: hold the device flat and sweep it through a figure of eight, rotating your wrist. This page monitors the accuracy your device reports and tells you when it is worth doing.

Using a compass online, or carrying a physical one?

A baseplate magnetic compass needs no battery, no signal and no permission dialog, and for serious backcountry navigation it remains the thing to carry. Using a compass online trades that independence for something a needle cannot offer. What it cannot do is tell you your declination: you have to look that up and set it by hand, and the figure printed on a map goes out of date as the pole moves.

An online compass inverts that trade. It depends on a charged phone and a working magnetometer, but it knows today’s date and your coordinates, so it applies the current declination for you and shows its own margin of error while it does — faster, and more accurate than a needle you have to trust blind.

What people use an online compass for

Hikers orient a paper map. Homebuyers check whether a room faces the afternoon sun. Installers aim satellite dishes, solar panels and antennas, all specified as a true bearing. Photographers and gardeners plan for where the sun will travel. In every one of these the useful number is a true compass direction, not a raw magnetic one.

Accuracy, cost and privacy

A well-calibrated phone magnetometer, held flat and away from metal, is typically good to within a few degrees — comparable to a hand-held magnetic compass, and better than one whose declination has never been set. The declination correction itself is exact to the model: the WMM2025 implementation in this page is verified against NOAA and NGA’s own published test values.

Using a compass online here is free, with no account and no ads. The magnetic model runs inside the page rather than on a server, so if you share your location to get true north, those coordinates are used in your browser and never uploaded. After the first load the page needs no network at all, which is the behaviour you want from a compass in the first place.

Compass basics

What a compass is, and how to use one

What is a magnetic compass?

A magnetic compass is an instrument that finds direction by letting a magnetised element align itself with the Earth’s magnetic field, so that it settles pointing toward magnetic north. Every other direction is then read off the dial around it. A traditional magnetic compass does this with a pivoted needle floating in liquid; a phone does it with a magnetometer chip that measures the same field electronically, which is what the compass on this page reads.

What is a compass direction?

A compass direction is the direction you are facing or travelling, expressed as an angle measured clockwise from north. It is written either in degrees — 0° is north, 90° east, 180° south and 270° west — or as a named point such as NE or SSW. A compass direction of 210° and south-southwest describe the same line; the degree figure is simply more precise. A compass direction is only complete once you say which north it was measured from, magnetic or true.

What is a compass card?

A compass card is the rotating dial inside a compass that carries the direction markings: the cardinal letters N, E, S and W, the intermediate points between them, and the degree graduations from 0 to 360. On a traditional magnetic compass the card is fixed to the magnet and turns with it, so the heading is read where the card passes a fixed reference called the lubber line. The dial on this page is a compass card drawn in software.

How do I use a compass?

Hold the compass flat and level, away from metal, magnets and electronics, and let the reading settle. Read the heading where the dial meets the index mark: that number, in degrees clockwise from north, is the direction you are facing. To follow a bearing, turn your whole body until the heading matches the number you want, then pick a landmark in that direction and walk to it rather than watching the dial. To use the compass here, tap Start compass, allow motion access, and hold the phone flat.

Which compass app is best?

The best compass app is whichever one tells you the two things most leave out: how far magnetic north sits from true north where you are standing, and how far the sensor reading can be trusted. Without declination a heading can be more than 20 degrees wrong in some regions, and an app that hides its accuracy estimate gives you no way to judge it. For most uses you do not need an app at all — an online compass reads the same magnetometer, asks for no storage or background permissions, and works the moment the page opens.

Which compass is best for Vastu?

What matters for Vastu is not the make of compass but whether it gives you true direction rather than magnetic. The traditional directions were established from the sun’s shadow, which fixes geographic north, while a handheld magnetic compass points at magnetic north instead — and the gap between the two, magnetic declination, changes with where you stand. A compass that applies declination and names all sixteen points, as this one does, reports the direction the system is actually describing. Take the reading outdoors, away from steel, reinforced concrete and wiring, all of which pull a magnetic reading off.

Why is the compass not working on my phone?

A phone compass normally fails for one of five reasons: the device has no magnetometer, which is common on budget phones and on tablets; motion access was denied, so the browser never receives sensor events; the page is not served over HTTPS, which browsers require before releasing sensor data; the magnetometer needs calibration, which a figure-eight motion fixes; or something magnetic is close by, such as a case with a magnetic clasp, a car mount, a laptop or a speaker. Work through them in that order.

If you only need the four cardinal points rather than a full bearing, the guide to directions and cardinal points covers north, south, east and west, how to find them with no device at all, and why a bearing in degrees beats a name.

Questions

Online compass questions, answered

What is an online compass?

An online compass is a compass that runs in your web browser instead of as an installed app. It reads the same magnetometer your phone’s built-in compass uses, through the browser’s device orientation API, and draws a dial from it. Because it is a web page, there is nothing to download and nothing to update — you open a URL and get a live heading.

How do I find my compass direction online?

Open this page on a phone or tablet, tap Start compass, allow motion access, and hold the device flat. The dial rotates with you and the readout shows your compass direction in degrees, from 0° at north through 90° east, 180° south and 270° west. Allowing location as well gives you true compass direction rather than magnetic.

Is this a real magnetic compass?

Yes. It reads your device’s magnetometer, which measures the Earth’s actual magnetic field, exactly as the needle in an analogue magnetic compass responds to it. It is not an estimate from your IP address, your timezone or a map — turn your device and the reading changes immediately, because the sensor is genuinely measuring the field around it.

What is the difference between true north and magnetic north?

True north is the direction of the geographic North Pole, and it is what maps, property surveys and GPS coordinates are drawn against. Magnetic north is the direction a compass needle points, toward the wandering magnetic pole. The angle between them is called magnetic declination, and depending on where you stand it can be anything from nearly zero to more than 20 degrees. A compass that ignores declination will send you off course by that much.

Does this online compass show true north?

Yes, once you allow location access. Browsers only ever report magnetic north — on iOS the webkitCompassHeading value comes from Core Location’s magneticHeading, and on Android the absolute orientation event is referenced to magnetic north as well. We take that magnetic heading and add the declination computed for your coordinates from the World Magnetic Model 2025, giving a true heading. You can switch between the two references at any time.

How accurate is a browser compass?

A well-calibrated phone magnetometer is typically accurate to within a few degrees. Accuracy depends far more on your surroundings than on the website: steel structures, vehicles, speakers, magnetic phone mounts and even some phone cases will pull the reading off. Where your device reports its own heading uncertainty, we show it next to the dial so you can judge whether to trust the number.

Do I need to allow location access?

Only for true north. The compass works without it and will simply show magnetic headings. If you do share your location, the coordinates stay on your device — the magnetic model runs inside the page, so nothing is sent to a server.

Why does the compass not work on my laptop?

Almost no desktops or laptops contain a magnetometer, so there is no heading for the browser to report. This is a hardware limitation rather than a browser setting. Open the page on a phone or tablet for a live reading.

How do I calibrate my phone’s compass?

Hold the device flat and move it through a figure-eight motion a few times, rotating your wrist as you go. Step away from cars, desks with metal frames, laptops and speakers first. The compass will prompt you automatically when its reported accuracy drops far enough to matter.

Why does the heading change when I tilt my phone?

A magnetometer measures a three-dimensional field, and the heading is derived by projecting that field onto the horizontal plane. The further you tilt from flat, the more error that projection carries. Hold the device level with the ground for the most reliable reading — the page warns you when it detects significant tilt.

Does it work offline?

After the first visit, yes for the compass itself: the magnetic model and all of the logic are part of the page, with no server calls while you use it. You need a connection only to load the page the first time.

Which browsers and devices are supported?

Any modern mobile browser with sensor access over HTTPS: Safari on iOS 13 and later, and Chrome, Edge, Firefox, Samsung Internet and Opera on Android. iOS requires you to tap a button before it will grant motion access, which is why the compass starts on a tap rather than automatically.

Why use a compass online instead of installing an app?

A compass online loads in seconds, needs no storage, asks for no contacts or background location, and cannot send telemetry home between uses. Most compass apps want permissions a compass has no need for. The trade is that a web page cannot run in the background or wake your screen on its own — for a tool you glance at, that is not much of a trade.

Is this online compass free?

Yes, entirely. There is no account, no paid tier, no trial and no ads. The compass runs in your browser, so it costs nothing to serve beyond the page itself.

Point your phone. Get a real bearing.

Free, instant, and accurate to the degree your hardware allows.

Open the compass