How to Use Your Phone as a Spirit Level and Angle Finder
Level shelves, appliances and frames and measure slopes and roof pitches with your phone: calibration, units, targets, hold and tips for accurate readings.

Most homes have a drawer with a tape measure but no spirit level, and the level is always missing when a picture needs hanging. Your phone has an accelerometer that knows exactly which way gravity points, and the Bubble Level and Inclinometer uses it as a level and angle meter in the browser.
Starting
Open the page on your phone or tablet and tap Start the level. On iPhone and iPad, Safari asks for permission to use motion and orientation; allow it. Lock the screen rotation if you can, so the display does not flip while you move the phone.
The three views
The flat view is a bullseye level for horizontal surfaces such as tables, worktops, appliance tops and floors. Lay the phone screen up. Like a real circular level, the bubble moves to the high side. The large number shows the total tilt, and the line below splits it into left-right and front-back.
The on-edge view is a bar level. Stand the phone on one of its edges against a shelf, a picture frame or a door head. The bubble moves along the bar and the number 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. Lay the long side along a stair, ramp, roof, chair back or any slope you want to measure.
Calibrate first
Phones are rarely perfectly zeroed. The sensor may be slightly tilted inside the body, and a camera bump or a case with a raised lip tilts the phone further. Two calibration methods fix this.
Set zero here is quick: put the phone on a surface you know is level and tap the button.
Two-position calibration works on any surface, level or not. Take a first reading, turn the phone end for end on exactly the same spot and tap again. The difference between the two readings is caused by the slope; the part they share is the sensor's error, which is removed and saved for next time. Clear calibration resets it.
Choosing units
Builders and plumbers often think in slopes rather than degrees. Show the reading as degrees, percent slope, a ratio such as 1:12, or millimetres per metre. Percent slope is the rise divided by the run times 100: a 2 percent fall means 2 cm down for every metre. A 1:12 ratio means one unit up for every twelve along. You can also enter a run length, such as the width of a shelf, and the page shows how much higher one end is.
Hitting a target angle
Choose a target from the list, such as a 2 percent drain fall, a 1:12 wheelchair ramp or a 4/12 roof pitch, or enter a custom angle. When the reading is within your tolerance of the target, or level in the flat and on-edge views, the number turns green and the phone can beep and vibrate. This lets you adjust a bracket or a tripod while watching the work instead of the screen.
Steadying the reading
Smoothing averages recent readings so the number does not jump. Higher smoothing gives a calmer reading but responds more slowly. The status line shows Steady once the reading has settled.
Hold reading freezes the value. It is handy when the phone is in an awkward place, such as on top of a high cupboard, and you need to take it away to read it.
Keeping a log
Tap Log reading to add the current value to a list with the time. Add a note to each entry, such as shelf 3 or deck board 12. The log exports as CSV, which is useful for checking a whole run of shelves or the fall along a long gutter.
How accurate is it?
After calibration, most phones read within about 0.1 to 0.3 degrees on a firm, flat surface. That is plenty for shelves, furniture, appliances, pictures and tripods. Readings are less reliable on soft or uneven surfaces, while the phone is moving, and in the flat view when the phone is nearly vertical. For work that must meet a building code, check with a good spirit level.
Useful conversions
One 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. A 4/12 roof pitch is 18.4 degrees and a 6/12 pitch is 26.6 degrees.
Privacy
The sensor is read only inside the page, nothing is uploaded, and calibration and settings are stored in your browser.


&c=%23c2410c&k=education)
