기타

나침반

기기 방위 센서로 현재 향하는 방향을 표시

버튼을 눌러 방향 센서 사용을 허용해 주세요.Tap the button to allow access to your device's orientation sensor.

N E S W
0°
N

방위를 읽는 중입니다.Reading heading...

나침반이란?

스마트폰에 내장된 자기 센서(방위 센서) 값을 이용해 현재 기기가 향하는 방향을 N(북)·E(동)·S(남)·W(서) 및 방위각(0~360°)으로 표시하는 도구입니다. 별도 앱 설치 없이 브라우저에서 바로 사용할 수 있습니다.

사용 방법

방향 권한 허용 버튼을 누르면 iOS(아이폰) 기기에서는 센서 접근 권한을 묻는 팝업이 나타납니다. 허용하면 다이얼이 실제 방향에 맞춰 회전하며 방위각과 방위(N/E/S/W)가 표시됩니다. 안드로이드 등 일부 기기는 별도 팝업 없이 바로 동작합니다.

참고: HTTPS 연결이 필요하며, 센서가 없는 기기(대부분의 데스크톱 PC)나 권한을 거부한 경우 나침반이 동작하지 않을 수 있습니다. 이 도구는 참고용(best-effort)이며 정밀 항법·측량 용도로는 사용하지 마세요.
자북과 진북, 그리고 편각

나침반이 가리키는 '북쪽'은 지도 위의 진짜 북극점(진북)이 아니라, 지구 자기장이 향하는 자북입니다. 자북은 지구 내부 자기장의 흐름을 따라가는 지점으로, 진북과는 위치가 다르고 관측 지점에 따라 그 차이(편각, declination)도 달라집니다. 예를 들어 한국에서는 편각이 서쪽으로 약 7~8도 정도 발생하는 것으로 알려져 있어, 정밀한 방위가 필요한 등산·측량에서는 이 오차를 보정해서 읽어야 합니다. 이 도구는 편각 보정 없이 기기의 자기 센서 값을 그대로 표시하는 일상용 나침반이므로, 정밀한 방위가 필요하다면 편각 보정 기능이 있는 전용 나침반이나 지도 앱을 함께 사용하시기 바랍니다.

지자기 센서 원리와 캘리브레이션(8자 흔들기)

스마트폰 나침반은 기기 안에 내장된 지자기 센서(마그네토미터)가 3축 방향의 자기장 세기를 측정해 동작합니다. 이 센서는 시간이 지나거나 금속·전자기기 근처에 오래 머무르면 미세하게 값이 틀어지는 '자화(bias)' 현상이 생길 수 있는데, 이를 바로잡는 절차가 바로 캘리브레이션(보정)입니다. 가장 널리 쓰이는 방법은 스마트폰을 손에 쥔 채 숫자 8자를 그리듯 여러 번 흔드는 것으로, 이 동작은 센서가 다양한 방향의 자기장 값을 수집해 왜곡을 스스로 상쇄하도록 돕습니다. 나침반이 부정확하게 느껴진다면 8자 흔들기를 먼저 시도해 보시기 바랍니다.

실내에서 오차가 커지는 이유 (센서 권한·한계)

철근 콘크리트 건물의 철근, 가전제품, 스피커, 심지어 책상 위의 노트북까지도 국지적인 자기장을 만들어 지자기 센서를 교란할 수 있습니다. 그래서 같은 기기라도 실외보다 실내에서 오차가 훨씬 커지는 경향이 있으며, 엘리베이터나 철제 캐비닛 옆처럼 금속이 밀집된 곳에서는 방위가 크게 틀어질 수 있습니다. 이 도구는 iOS에서 '방향 권한 허용'을 눌러야 센서 접근이 시작되고, 권한을 거부하거나 센서가 없는 기기(대부분의 데스크톱 PC)에서는 동작하지 않는다는 한계를 정직하게 안내드립니다. 센서 데이터는 오직 브라우저 안에서만 계산·표시되며, 외부로 전송되지 않습니다.

활용 예

야외 활동 중 대략적인 방향을 확인하거나, 실내에서 방·가구 배치의 방위를 참고하거나, 태양의 위치를 예상하는 등 일상적인 방위 확인에 활용할 수 있습니다.

What is this?

This tool uses your smartphone's built-in magnetic (orientation) sensor to show which direction your device is facing, as N/E/S/W and a heading in degrees (0-360°). No app install required — it runs right in your browser.

How to use it

Tap Allow orientation access. On iOS, a permission prompt will appear. Once allowed, the dial rotates to match your device's actual heading, showing the degree value and direction (N/E/S/W). On Android and some other devices, it works immediately without a prompt.

Note: Requires HTTPS. Devices without a sensor (most desktop PCs) or denied permission will not work. This tool is best-effort and reference only — do not use it for precision navigation or surveying.
Magnetic north vs. true north, and declination

The "north" a compass points to isn't the true geographic North Pole on a map (true north) — it's magnetic north, the direction Earth's magnetic field points. Magnetic north follows the flow of Earth's internal magnetic field and sits in a different location from true north; the gap between them (called declination) varies by location. In Korea, declination is known to run roughly 7-8 degrees west, so hiking or surveying that needs precise heading must correct for this offset. This tool displays the raw sensor reading without declination correction, as an everyday compass — for precision work, pair it with a dedicated compass or map app that applies declination correction.

How the magnetic sensor works (calibration)

A smartphone compass relies on a built-in magnetometer that measures magnetic field strength along three axes. Over time, or after sitting near metal or electronics, the sensor can pick up a slight "bias" that skews readings — a process called calibration corrects this. The most common method is to hold the phone and wave it in a figure-8 motion several times; this lets the sensor sample the field from multiple orientations and cancel out the distortion. If your compass seems off, try the figure-8 motion first.

Why indoor readings drift more (sensor access and limits)

Rebar in concrete buildings, appliances, speakers, even a laptop on your desk can create localized magnetic fields that throw off the sensor. As a result, the same device tends to show much larger error indoors than outdoors, and readings can swing wildly near elevators or metal cabinets. Honestly: this tool only starts reading the sensor after you tap "Allow orientation access" on iOS, and it won't work if permission is denied or on a device without a sensor (most desktop PCs). Sensor data is calculated and shown entirely in your browser and is never sent anywhere.

Real-world uses

Handy for getting a rough sense of direction outdoors, checking room or furniture orientation indoors, or estimating where the sun will be — everyday direction checks.

나침반이 작동하지 않아요.
이 나침반은 기기의 방위 센서(자기 센서)를 사용하므로 센서가 없는 데스크톱 PC나 일부 브라우저에서는 작동하지 않을 수 있습니다. HTTPS 연결이 필요하며, iOS(아이폰)에서는 '방향 권한 허용' 버튼을 눌러 권한을 승인해야 합니다.
방위각이 정확한가요?
이 도구는 기기에 내장된 자기 센서 값을 그대로 표시하는 참고용 도구입니다. 주변 금속·자석·전자기기의 영향을 받을 수 있어 정확한 방위가 필요한 용도(등산·항해 등)에는 전용 나침반을 함께 사용하는 것을 권장합니다.
권한 허용 버튼을 눌러도 반응이 없어요.
아이폰 사파리는 설정 > Safari > 동작 및 웹사이트 방문 기록에서 '동작 및 방향 접근'이 허용되어 있어야 합니다. 허용 후에도 반응이 없다면 페이지를 새로고침한 뒤 다시 시도해 주세요.
센서 데이터가 서버로 전송되나요?
아니요. 방위 센서 값은 브라우저 안에서만 계산·표시되며 서버로 전송되거나 저장되지 않습니다.
The compass isn't working.
This compass relies on your device's orientation (magnetic) sensor, so it may not work on desktop PCs without a sensor or in some browsers. It requires HTTPS, and on iOS you must tap "Allow orientation access" to grant permission.
Is the heading accurate?
This tool simply displays your device's built-in magnetic sensor reading, for reference only. Nearby metal, magnets, or electronics can affect it, so for uses requiring precise heading (hiking, sailing), use a dedicated compass as well.
Nothing happens when I tap the permission button.
On iPhone Safari, "Motion & Orientation Access" must be allowed under Settings > Safari > Motion & Orientation Access. If it still doesn't respond after allowing, refresh the page and try again.
Is sensor data sent to a server?
No. Orientation sensor values are calculated and displayed entirely in your browser and are never sent to or stored on a server.