Online Spirit Level — Phone Bubble Level
Turn your phone into a spirit level using its tilt sensor. Surface and edge modes, flip calibration and mm-per-meter readings. Sensor data stays on your device.
Loading the tool…
Used this tool? Share what worked for you — it helps the next person.
Online Spirit Level — Phone Bubble Level: complete guide
Walk through the steps and examples, or jump straight to the topic you need.
At a glance
- How it measures
- It uses the phone browser's tilt sensor (deviceorientation) to work out the direction of gravity. No app installation is needed.
- Two modes
- Surface mode lays the screen face up to read left-right and front-back tilt. Edge mode stands the phone up and presses a side against the object to read the angle away from the 0, 90, 180 and 270° references.
- Units
- Besides the angle (°), it shows slope (%) = tanθ × 100 and height difference per meter (mm) = tanθ × 1000. Enter your object's length and it tells you the height to correct in mm.
- Calibration
- Supports Set zero and a flip (180°) calibration that works without a flat reference surface. Calibration values are stored only in this browser.
- Accuracy
- The sensor reads in 0.1° steps and varies from device to device, so treat it as a reference with roughly ±0.2 to 0.5° of error.
- Permission and storage
- On iPhone, tapping Start asks for sensor permission. Sensor values are never sent to a server.
How to use Online Spirit Level — Phone Bubble Level
Tap Start and allow permission
When you tap Start, an iPhone asks for motion and orientation access. Choose Allow. On Android it usually starts right away.
Pick a mode and place it on the object
For floors, desks and the top of a washing machine, use Surface mode with the screen lying face up. For shelves, picture frames and TVs, use Edge mode and stand the phone up with a side against the object.
Calibrate if needed
If there is a camera bump or a case, use flip calibration. Tap First reading, then turn the phone 180° on the same spot and tap Second reading, and the tool separates the device's error from the real tilt.
Read the result and adjust
If it is level, a check icon and "Level" appear; if not, the higher side and the angle are shown in text. Enter your object's length to see how many mm to raise or lower it, and use Hold value to freeze a reading.
What it’s good for
Why flip calibration is needed
The back of a phone is not flat because of the camera bump or a case, and the sensor has some error that varies from device to device. If you take two readings on the same spot, turning the phone 180° in between, you can separate the device's error from the real tilt without needing a flat reference surface.
Seeing it in mm instead of degrees
A small angle like 0.3° is hard to picture. Enter the length of your object and the tool tells you how many mm to raise or lower one side. If a 60 cm shelf is tilted 0.3°, that is about 3.1 mm.
Worked examples
When a 60 cm shelf is tilted 0.3°
Object length 60 cm
Tilt 0.3° (right side higher)For a 60 cm length, lower the right side by 3.1 mm or raise the left side by 3.1 mm.A floor with a 2° slope
Surface mode
Left-right tilt 2.0°Slope 3.49% · 34.9 mm per meterFlip calibration
First reading +0.8°
Second reading after a 180° turn −0.2°Device offset +0.3° · actual tilt of this floor +0.5°Choosing a measuring mode
Swipe the table sideways to see the rest.
| Mode | Use it when | What to check |
|---|---|---|
| Surface mode | The phone can lie on top, such as a floor, desk, washing machine or refrigerator | Line up the screen's left-right direction with the direction you want to measure, and calibrate if there is a case or camera bump |
| Edge mode | You press a side against something, such as a shelf, picture frame, TV or window frame | Check that the phone's side is straight, and look at the reference angle (0 or 90°) too |
| Hold value | You measure in a spot where the screen is hard to see | The time it was held is shown, and tapping release makes it live again |
When the result isn’t what you expected
The permission prompt does not appear, or I denied it
On iPhone, once you deny it, it does not ask again. Go to Settings → Safari → Advanced → Website Data, remove this site, open it again and tap Start.
It says it cannot read the tilt sensor
If no sensor reading arrives within 1.5 seconds, the device is treated as having no sensor. That is the case for most laptops and desktops. Open it on your phone using the QR code on the screen.
The value keeps wobbling
If it says there is movement, set the device down, take your hand off and wait a moment. If you are on a vibrating washing machine, stop it before measuring.
The screen turns off
With Keep screen on enabled, the tool asks that the screen stay on while measuring. In browsers that do not support it, a notice is shown.
Key terms
- Slope (%)
- The height difference per 100 of horizontal distance. It is tanθ × 100, and 2° is about 3.49%.
- mm per meter
- The height difference between two points 1 m apart, in mm: tanθ × 1000.
- Flip calibration
- A method of taking two readings on the same spot with a 180° turn in between to separate the device's error from the real tilt. It is the same way carpenters check a spirit level.
- Tolerance
- The angle within which the surface is treated as level. You can choose from ±0.1, 0.3, 0.5 and 1°.
Online Spirit Level — Phone Bubble Level FAQ
Does it work on a computer?
Most computers have no tilt sensor, so nothing can be measured. If there is no sensor, the tool shows a QR code you can open on your phone.
Can I use it for construction work?
Smartphone sensors read in steps of 0.1° and vary from device to device, so it is for reference only. For work that needs precision, such as building, use a dedicated spirit level.
How is it different from the iPhone's built-in level?
The iPhone's level is inside the Measure app. This tool opens in the browser with no installation and also shows slope (%), mm per meter, the height to correct, and flip calibration.
Can I turn the phone sideways?
If the screen rotates, the display rotates with it, so "Left is higher" always means the left of the screen you are looking at. Locking auto-rotate makes it easier.