Gigi Tools

Spirit Level

Use your phone's accelerometer to detect tilt angle, simulating a bubble level for hanging pictures, aligning furniture and more.

Spirit Level

Front/Back Tilt (Beta)

0.0°

Left/Right Tilt (Gamma)

0.0°

Level!
How to Use
  1. Open this page on your phone (iOS users must tap "Enable Motion Sensors" to grant permission).
  2. Place your phone flat on the surface you want to check.
  3. Watch the bubble: centered means level, more offset means more tilt.
  4. Tap "Lock Angle" to freeze the current reading for reference.
How It Works

This tool uses the browser's DeviceOrientation API to read data from your phone's built-in accelerometer and gyroscope.

Beta represents front/back tilt (-180° to 180°), Gamma represents left/right tilt (-90° to 90°). Both values are near 0° when the phone is perfectly level.

The bubble moves in real-time based on tilt angle. Green means level, yellow means slight tilt, and red means significant tilt.

Notes
  • Phone sensor accuracy is approximately ±1°, not suitable for professional precision measurements.
  • Phone cases may affect sensor readings — consider removing them for better accuracy.
  • Calibrate on a known level surface before use to confirm readings are near 0°.
  • iOS 13 and above requires explicit user permission to access motion sensors.
FAQ
Why isn't the bubble moving?

Possible reasons: 1) Using a desktop computer (no accelerometer); 2) iOS permission not granted (tap "Enable Motion Sensors"); 3) Browser doesn't support DeviceOrientation API. Use Chrome or Safari on your phone.

How accurate is it?

Accuracy depends on your phone's sensor quality, typically around ±1-2°. This is sufficient for everyday tasks like hanging pictures or aligning furniture, but not suitable for professional engineering measurements.

Which devices are supported?

Most smartphones and tablets are supported, including iPhone (iOS 13+), Android phones, and iPads. Desktop computers and laptops typically lack accelerometers and cannot use this tool.

Is my data sent to a server?

No. All sensor data is processed locally in your browser. No data is ever sent to any server.