Online Compass - Free Digital Compass Tool

Turn your phone into a compass using built-in sensors

Digital Compass

N
E
S
W
30
60
120
150
210
240
300
330
---°
--
Cardinal
--
Accuracy
--

This compass uses your device's magnetometer sensor.

Works best on mobile devices. Hold your phone flat and level for accurate readings.

How to Use This Compass

  1. Enable access: Tap the button above and allow sensor permissions when prompted
  2. Hold device flat: Keep your phone horizontal, parallel to the ground
  3. Face forward: The top of your phone points in your direction of travel
  4. Read the heading: The red needle points North; your heading is shown in degrees

Tips for Accurate Readings

  • Move away from metal objects, magnets, and electronics
  • If readings seem wrong, calibrate by moving your phone in a figure-8 pattern
  • Some device cases with magnetic closures can interfere with readings
  • Indoor readings may be less accurate due to metal in building structures

Cardinal Directions Reference

Direction Abbreviation Degrees
NorthN0° / 360°
North-NortheastNNE22.5°
NortheastNE45°
East-NortheastENE67.5°
EastE90°
East-SoutheastESE112.5°
SoutheastSE135°
South-SoutheastSSE157.5°
SouthS180°
South-SouthwestSSW202.5°
SouthwestSW225°
West-SouthwestWSW247.5°
WestW270°
West-NorthwestWNW292.5°
NorthwestNW315°
North-NorthwestNNW337.5°

About Digital Compasses

This online compass uses the magnetometer (magnetic field sensor) built into most modern smartphones and tablets. The magnetometer detects Earth's magnetic field to determine which direction is magnetic north.

Magnetic vs True North

This compass shows magnetic north, which differs from true geographic north by an amount called magnetic declination. The difference varies by location (from a few degrees to over 20° in some regions). For casual navigation, this difference is usually negligible, but for precise orienteering, you may need to adjust for your local declination.

When a Compass is Useful

  • Navigation: Finding your way when hiking, camping, or exploring
  • Photography: Positioning for sunrise/sunset shots or star photography
  • Feng Shui: Determining room orientations
  • Solar panels: Optimal panel facing direction
  • Satellite dishes: Pointing toward satellites
  • General curiosity: Knowing which way you're facing

Frequently Asked Questions

Why isn't the compass working?

Your device needs a magnetometer sensor. Most smartphones have one, but some tablets and older devices may not. Also ensure you've granted sensor permissions in your browser.

Why is my compass inaccurate?

Nearby magnetic or metal objects can interfere with readings. Try moving away from electronics, speakers, or metal furniture. Calibrating by waving your device in a figure-8 motion can help.

Does this work indoors?

Yes, but accuracy may be reduced due to metal in building structures, electrical wiring, and electronic devices. For best results, use outdoors away from vehicles and buildings.

How accurate is a phone compass?

Under good conditions, smartphone compasses are typically accurate to within 5-10 degrees. After proper calibration and away from interference, accuracy can improve to 1-5 degrees.

Privacy & Limitations

  • All calculations run entirely in your browser -- nothing is sent to any server.
  • Results are estimates and may vary based on actual conditions.

Related Tools

Related Tools

View all tools

Online Compass FAQ

What is Online Compass?

Online Compass is a free utility & everyday tool that helps you Digital compass using your device's magnetometer sensor.

How do I use Online Compass?

Enter your input values, review the calculated output, and adjust inputs until you reach the result you need. The result updates in your browser.

Is Online Compass private?

Yes. Calculations run locally in your browser. Inputs are not uploaded to a server by default, and refreshing the page clears session data.

Does Online Compass require an account or installation?

No. You can use this tool directly in your browser without sign-up or software installation.

How accurate are results from Online Compass?

This tool applies standard formulas or deterministic processing logic for estimates. For medical, legal, tax, or investment decisions, verify with a qualified professional.

Can I save or share outputs from Online Compass?

You can bookmark this page and copy outputs manually. Results are not persisted in your account and are typically not embedded in the URL.

Request a New Tool
Improve This Tool