# Compass > Which way are you facing? A compass on your phone with the heading in degrees from magnetic north and a bearing to hold. Sensor readings stay on your device. Use your phone as a compass: the heading in degrees from magnetic north, the direction name and how far to turn to hold a bearing. Starts when you press Start. - Page: https://how.box/compass/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/compass/?b={b}&n={n}&lat={lat}&lon={lon} - `b` (number 0 to 360): The bearing to hold, degrees clockwise from north (the north of n), 0–360. Example: `135`. - `n` (magnetic or true): North reference: magnetic or true (true needs lat and lon). Example: `true`. - `lat` (text): Latitude of the place for true north, decimal degrees (rounded to 0.01° in shared links). Example: `60.17`. - `lon` (text): Longitude of the place for true north, decimal degrees (rounded to 0.01° in shared links). Example: `24.94`. Example answer: https://how.box/compass/?b=135&n=true&lat=60.17&lon=24.94 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `compass_describe_bearing`: Names a compass bearing and gives the way back. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compass_describe_bearing","arguments":{"bearing":135,"north":"true","lat":60.17,"lon":24.94}}}` - GET: https://how.box/mcp/run/compass_describe_bearing?bearing=135&north=true&lat=60.17&lon=24.94 ## How it works A phone has a magnetometer: a sensor that feels the Earth's magnetic field. Combined with the motion sensors, which know which way is down, it finds the direction your phone points as an angle clockwise from magnetic north: 0° is north, 90° east, 180° south and 270° west. Magnetic north is not the same as true north, the north of a map. The difference, the magnetic declination, depends on where you are and changes slowly over the years, from a few degrees to more than twenty. Switch on True north and choose a place, and the compass adds the declination there from the World Magnetic Model (WMM2025) of NOAA and the British Geological Survey: true heading = magnetic heading + declination, with east declination positive. In Helsinki in 2026 it is about 10.5° east, so a magnetic heading of 80° is 90.5° true. Near the magnetic poles the declination is unreliable and the tool stays magnetic. Nearby steel, magnets, speakers, cars and even a phone case with a magnet will pull the reading off. If the compass looks wrong, step away from them and move the phone in a figure eight. A phone that cannot report an absolute heading shows no direction rather than a wrong one. Never rely on a phone alone for navigation where your safety depends on it. ## FAQ **Does it show true north?** Yes, if you switch on True north and choose your place. The compass then adds the local magnetic declination from the World Magnetic Model, which is accurate to about half a degree in most places. Local iron or rock is not in the model, and near the magnetic poles the tool stays magnetic. **Is my compass data stored or sent?** No. The heading is used on your device to turn the dial and is never stored, logged or put in the address. **Why is the heading wrong or jumping?** Metal, magnets and electronics nearby bend the magnetic field. Step away and move the phone in a figure eight to recalibrate. **Why does it say it cannot give a heading?** Some browsers and devices give only a relative direction. Rather than show a wrong north, the tool shows nothing. Type a bearing to name it and find the way back. **What is a bearing?** A direction as an angle clockwise from north, from 0 to 360 degrees. East is 90, south 180 and west 270. **How do I find the way back?** Add 180 degrees to your bearing, or subtract 180 if the result goes over 360. The tool shows it under Bearing to hold. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)