Compass
Hold your phone flat and the direction the top of the screen is facing appears in 16 compass points and degrees. No app to install: it works in your phone's browser (on iPhone, tap “Start compass” and allow motion access). You can also correct for magnetic declination to show true north.
A secure (https) connection is required
Browsers only allow motion sensors on secure pages. Please open the https version of this page:
On iPhone, tap “Allow” when asked for motion and orientation access.
N
0°
Calibrate the compass
Move your phone in a figure-eight a few times, away from metal, magnets and electronics.
- Phone compasses can be off by several degrees or more depending on nearby metal and magnetic fields. Use a dedicated compass or map for hiking, sailing and other safety-critical navigation.
- Sensor readings are used only inside your browser and are never sent anywhere. Your settings are saved only in this browser.
About this tool
A free compass that uses your smartphone's magnetometer to show the direction the top of the screen is facing, in 16 compass points (N, NNE, NE…) and degrees from 0 to 359. No app is needed: just open this page in your phone's browser on iPhone or Android. The needle moves smoothly to point north, and you can mark a bearing to see how many degrees to turn left or right to face it. You can also correct for magnetic declination to show true north, and sensor data never leaves your device.
How to use
- Open this page on your smartphone and tap “Start compass” (on iPhone, allow motion and orientation access; on Android it may start right away).
- Hold the phone flat. The direction the top of the screen faces appears in compass points and degrees, and the needle points north.
- To match maps, tick “Show true north (correct for declination)” and choose your region or enter the declination.
- Tap “Mark this bearing” to place a marker on the dial and see how far to turn left or right to face it.
- If the direction seems wrong, move away from metal and wave the phone in a figure-eight a few times.
Useful for
- Finding which way your house, room, balcony or windows face
- Checking directions for feng shui or the orientation of furniture
- Getting your bearings outdoors or while exploring a city
- Orienting solar panels, antennas or plants
- Finding north quickly when you do not have a compass
FAQ
Can I use my phone as a compass without an app?
Yes. Open this page in your phone's browser — no app is needed. On iPhone, tap “Start compass” and allow motion and orientation access.
What is the difference between magnetic north and true north?
A compass points to magnetic north, which differs from true (map) north by the magnetic declination. In Japan magnetic north is about 5–9° west of true north; elsewhere it may be east or west. Tick “Show true north” and enter the value for your area to match maps.
Why is the compass wrong or spinning?
Move the phone in a figure-eight a few times to recalibrate. Metal desks, magnets, speakers, cars and steel-frame buildings disturb the sensor, and so do magnetic cases and MagSafe accessories.
Does it work on a computer?
Most computers have no compass sensor. On a computer the page shows a QR code so you can open it on your phone.
Is my location or sensor data sent anywhere?
No. The tool does not use your location, and compass readings are processed only in your browser.
Updates to this tool
All updatesNew Phone and sensors category with 6 tools that need no app: bubble level, compass, sound meter, tuner, metronome and my location
Other free tools
All 183 free tools- Bubble LevelTurn your phone into a bubble level in the browser. Tilt to 0.1°, round or bar vials, zero calibration. No app needed.
- Sound Level MeterMeasure noise in approximate dB(A) with your microphone: needle meter, max/average and a 60-second graph. Nothing is recorded.
- Online TunerTune guitar, bass, ukulele or violin with your microphone – needle meter, auto string detection, reference tones.
- Online MetronomeAccurate Web Audio metronome with tap tempo, time signatures, accents, subdivisions and four sounds.
- My Location (Address, Coordinates, Elevation)Find your current address, latitude/longitude and elevation with GSI data, then copy or share it.
- Website Security CheckEnter a URL to grade HTTPS, certificates, security headers, WordPress exposure and more, from A to E.
- Email Spoofing Protection CheckCheck whether your domain's SPF, DKIM and DMARC protect you from spoofed email.
- Password Generator and Strength CheckCreate strong passwords in bulk and check how strong your current one is.