Bubble Level: Spirit Level App for Your Phone
: Use your phone as a bubble level: lay it flat or stand it on an edge, read the tilt to 0.1° with slope in percent, mm per m or inches per foot, calibrate with two readings turned 180°, hold, set a zero as an angle finder, beep when levelOptions
Bubble Level: Spirit Level App for Your Phone
Turn your phone into a bubble level. Lay it flat for a bullseye spirit level that shows the tilt both ways, or stand it on an edge against a shelf, frame or wall for a bar level. It reads the tilt to a tenth of a degree, gives the slope in percent and in mm per metre or inches per foot, says which end is low and by how much to raise it, and works like a level app with nothing to install.
How to use the bubble level
- Open this page on a phone or tablet and tap
Start. iPhone and iPad ask for motion access first: tap Allow. A laptop or desktop has no tilt sensor, so the page says so. - Lay the phone flat on the surface for the bullseye, or stand it on its long or short edge against what you are levelling for the bar level.
LevelonAutoswitches by itself (to the bar past 50° from flat, back below 40°); pickFlatorOn edgeto keep one. - The bubble floats to the high side, and the zone around the centre turns green when the reading is within
Level within(±0.1°, ±0.25°, ±0.5° or ±1°; ±0.25° by default).Beep when levelplays a tone while it is level, and phones that can vibrate buzz once as it gets there. - Read
To make it levelfor how much to raise the low end over theSpanyou set (the length of the shelf, frame or slab), in millimetres or inches bySlope units. - For better accuracy, use
Calibrateonce:This surface is levelon a surface you trust, orTwo readings, turned 180°on any near-level spot.Holdfreezes the reading,Set zeromeasures the angle from the current position, andCopy readingcopies every figure.
Example
Two phone positions as the browser reports them (DeviceOrientation beta and gamma in degrees; the second with the page turned to landscape), read the way the level reads them.
Lying on a table: beta 0.6, gamma -1.2
On its long edge: beta 1.0, gamma -88, angle 90Lying on a table: beta 0.6, gamma -1.2
flat: Left side low by 1.2°; Bottom end low by 0.6°; 2.09 % · 21 mm per m
On its long edge: beta 1.0, gamma -88, angle 90
on edge (bottom edge down): Right end low by 1.0°; 1.75 % · 3/16 in per ft (0.21); raise 13/16 in over 48 in (0.84 in)Details
- A bubble level, or spirit level, is a sealed vial of liquid with an air bubble that rises to the highest point, so the bubble sits between the marks when the surface is level. A phone has no bubble: it has an accelerometer and gyroscope that measure which way gravity pulls. This page reads the browser's orientation angles, works out the direction of gravity in the phone's frame, and draws the bubble where a real one would float.
- Lying flat, the bullseye shows two tilts: left–right and front–back, each named by its low side (
Right side low by 0.8°), and the total tilt from flat in any direction. Standing on an edge, the bar level shows the turn away from that edge being level (Left end low by 0.4°), how far the screen leans out of vertical, and the phone's angle from upright, so it works in portrait or landscape and on any of the four edges. The readings are smoothed over about 0.25 s, and the reading counts as steady once it moves less than 0.15° over 0.6 s. - Slope is given three ways: degrees, percent grade (rise over run × 100) and mm per metre or inches per foot. A drain pipe's quarter inch per foot is 1.19° (0.25 in per ft, 2.08 %), and a 2 % fall away from a house is 1.15°, or 20 mm per metre.
To make it levelmultiplies the slope by your span: 1.15° over a 600 mm shelf is 12 mm. - Calibration takes the phone's own error off. Phones read up to about half a degree off out of the box, and a case or a camera bump adds more.
This surface is leveltakes one reading on a surface you trust as zero.Two readings, turned 180°needs no trusted surface: take a reading, turn the phone round on the same spot, and take a second. The surface's tilt changes sign between the two and the phone's error does not, so the error is their average and the surface's own tilt is half their difference; the page tells you both. A calibration of more than 5° is refused, since that is a slope rather than a sensor error. Each edge keeps its own calibration, and it is remembered in this browser. Set zeroturns the level into an angle finder: zero it on one surface, put the phone on another, and it reads the angle between them, such as a mitre, a ramp against the floor or a roof pitch from below.Clear zerogoes back to true level.- The screen stays awake while the level runs, where the browser allows it. Nothing is sent anywhere: the sensor is read in this page, and only the calibration is kept, in this browser.
Limits
- A phone's sensor is good to about ±0.1–0.5° after calibration, depending on the model; that is plenty for hanging a picture, levelling a shelf, a washing machine or a camper van, but use a real spirit level for structural work, machine setup or fine woodworking.
- The phone must sit flat on its back or square on an edge: a camera bump, a thick case or a rounded edge tilts it. Calibrate with the case on, on the same edge you will use.
- Laptops and desktops have no tilt sensor; the page needs a phone or tablet. Some Android browsers turn off motion sensors for websites in their site settings.
- The page reads the sensor only while its tab is open and visible.
FAQ
Is a phone bubble level accurate?
After calibration most phones read within about ±0.1–0.5°, which on a 1 m shelf is a few millimetres at most. Calibrate with two readings turned 180°, keep the phone still until the reading says Steady, and check the result with a real spirit level for anything structural.
Why does the bubble move on a flat table?
Either the table is not quite level, or the phone reads a little off (sensor error, a case, a camera bump). Use Calibrate › Two readings, turned 180°: it separates the two and tells you how much of the tilt was the table's.
Can I use it as an angle finder?
Yes. Put the phone on the first surface, tap Set zero, then put it on the second surface: the reading is the angle between them. On an edge, the Angle row also gives the phone's turn from upright, 0 to 360°.
What is the difference between a bubble level and a spirit level?
None in use: both names mean a vial of liquid (once alcohol, the spirit) with an air bubble. A bullseye or circular level shows tilt in every direction when lying flat; a bar level reads one direction along its length. This page does both.
How do I level a picture frame or a TV?
Stand the phone on its long edge on the top of the frame, or hold it against the frame's edge, with Level on Auto or On edge. Turn the frame until the reading says Level; To make it level gives how far to raise the low end over the frame's width if you set it as the span.
Runs entirely in your browser. Nothing is uploaded.