Bubble Level and Inclinometer
Turn your phone into a bubble level and angle finder with bullseye and bar views, slope in degrees or percent, calibration, hold and a reading log.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Start the level
Tap Start the level and allow motion access if the browser asks.
- 2Choose a view
Pick Flat for surfaces, On edge for shelves and frames, or Angle meter for slopes.
- 3Calibrate
Use Set zero on a level surface or the two-position calibration anywhere.
- 4Pick units
Show the angle in degrees, percent slope, ratio or mm per metre.
- 5Set a target
Choose a target angle and tolerance to get a beep when you reach it.
- 6Hold and log
Use Hold reading to freeze the value and Log reading to keep a list for CSV.
About this tool
Hanging a shelf, levelling a washing machine, setting up a camera tripod, checking the fall of a drain pipe or the pitch of a roof: a level is one of the most borrowed tools in any home, and the phone in your pocket already has the sensor for it. This page reads the phone's accelerometer, which measures the direction of gravity, and turns it into three tools. The flat view is a bullseye level for surfaces such as tables, floors and appliance tops: lay the phone screen up and the bubble moves to the high side, as in a real circular level, with the total tilt shown large and the left-right and front-back angles underneath. The bar view is for edges: stand the phone on its side against a shelf, frame or picture and the bubble shows how far the edge is from level. The angle meter shows the angle of the phone's long side from horizontal, from 0 to 90 degrees, for stairs, ramps, roof pitches, mitres and anything else you need to measure. Angles can be shown in degrees, as percent slope (rise over run times 100), as a ratio such as 1:12 or in millimetres per metre, and the rise over a run length you choose is calculated. Smoothing steadies a shaky reading, and the reading turns green and can beep and vibrate when it is level or within your tolerance of a target such as a 2 percent drain fall, a 1:12 wheelchair ramp or a 4/12 roof pitch. Phone sensors are rarely perfectly zeroed, so there are two calibration methods: set zero on a known level surface, or the two-position method, which removes the sensor error on any surface by taking a reading, turning the phone end-for-end and taking a second one. Hold freezes the reading so you can read it after removing the phone, and a reading log with notes exports to CSV.
Calibrating properly
Phone cases with raised edges, camera bumps and the sensor's own offset can add half a degree or more. For the best result, remove a bumpy case and use the two-position calibration: take the first reading, turn the phone 180 degrees on exactly the same spot and tap again. The true angle is half the difference of the two readings, and the offset is saved for next time.
Units at a glance
1 degree is about 1.75 percent slope or 17.5 mm per metre. A 2 percent drain fall is about 1.15 degrees, a 1:12 ramp is 4.76 degrees and a 4/12 roof pitch is 18.4 degrees. Percent slope reaches 100 percent at 45 degrees and grows without limit towards vertical.
Accuracy
After calibration most phones read to within about 0.1 to 0.3 degrees on a flat surface. Accuracy falls on uneven or soft surfaces, while the phone is moving and near vertical in the flat view. For building work that must meet a code, confirm with a proper spirit level.
Limits
The page needs a motion sensor, so it works on phones and tablets but not on most laptops. iPhone and iPad ask for permission first. The phone's own screen rotation may change between portrait and landscape while you work; lock the rotation for steady use. It is a measuring aid, not a certified instrument.
Worked example
A floating shelf 900 mm long was checked with the phone in the bar view after a two-position calibration that found a 0.4 degree offset. The reading was 0.6 degrees, which over a 900 mm run is a rise of 9.4 mm at one end; after loosening and adjusting the bracket the reading dropped to 0.1 degrees and the display turned green. In the angle meter, a garden path showed 2.9 degrees, which is 5.1 percent or about 1:20, within the 1:12 maximum for a ramp.
Quick facts
- Category: Everyday Tools
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: W3C Device Orientation and Motion
Frequently asked questions
How accurate is a phone level?
After calibration, most phones measure within about 0.1 to 0.3 degrees on a firm flat surface. That is good enough for shelves, pictures, furniture and most DIY, but a quality spirit level is still better for precise building work.
Why does my phone not read zero on a level table?
The sensor and the phone's body are rarely perfectly aligned, and a case or camera bump tilts the phone. Use Set zero here on a known level surface, or the two-position calibration that works on any surface.
How do I convert degrees to percent slope?
Percent slope is the tangent of the angle times 100. Choose Percent slope in the Show as menu and the page converts for you; for example 5 degrees is 8.7 percent.
Can I measure a roof pitch or stair angle?
Yes. Use the angle meter, lay the long side of the phone on the roof or along the stair nosings, and read the angle. Choose Ratio to see a pitch such as 1:3, which is the same as 4/12.
Does it work on an iPhone?
Yes. Safari on iPhone and iPad asks for permission to use motion and orientation; tap Allow. If you refused it earlier, close the tab and open the page again.
Is any data sent from my phone?
No. The sensor is read inside this page only. Calibration and settings are saved in this browser, and the reading log stays on the device until you export or clear it.
