Bubble Level Online — Digital Spirit Level for Any Surface
A spirit level that runs in your phone browser. Place your phone flat for shelves, stand it on edge for door frames.
Simulator — tilt the virtual shelf
How to use the online bubble level tool
The level uses your device’s built-in sensors through the browser’s DeviceOrientation API, so it works in Chrome, Safari or Samsung Internet with nothing to download, much like the level built into some phone apps. All sensor processing happens on your phone, and once the page has loaded it keeps working without an internet connection. On a desktop or laptop without motion sensors, the simulator shows how the level behaves.
- Open this page on your phone and tap “Enable Motion Sensors”. The browser asks for permission to read motion; on an iPhone, Safari only asks after a tap, so if you pressed Don’t Allow, reload the page and tap again.
- Choose Horizontal and place your phone flat on the surface to check a shelf, table or appliance. The bull’s-eye level shows the bubble inside a circle: pitch is front-to-back tilt and roll is side-to-side tilt.
- Choose Vertical and hold the long edge of the phone upright against a wall, post, door jamb or picture frame to check plumb. The spirit tube works like the vial on a traditional spirit level.
- Hold still for a second or two and watch the bubble. When the bubble is centered and the reading turns green, the surface is level.
Everyday tasks for a bubble level
- Hanging pictures: rest the phone on the top edge of the frame in Horizontal mode, nudge the frame until the reading is 0.0°, then tap Zero / Tare and check the next frame in a gallery row against it.
- Washing machine and dryer: put the phone on the lid in both directions. A machine that rocks or reads more than about 1° walks across the floor during the spin cycle; adjust the feet until it settles.
- Refrigerators: many manufacturers want the front slightly higher than the back so the doors swing shut on their own. Check side-to-side level first, then a small backward tilt.
- Shelves, desks and furniture: check a flat surface at both ends and in the middle; a sag in the middle shows as opposite readings at each end.
- Checking if a floor or deck slopes toward a drain: read the angle of the surface in degrees and compare it with the slope table below.
Bubble level calibration: Zero / Tare and the 180° flip test
Phones are not perfectly flat. A camera bump, a thick case or a slightly bowed back can tilt the phone by half a degree before the surface does, and every sensor carries a small offset from manufacturing. Two tricks remove that offset.
Zero / Tare does the job of the calibrate button on other levels: put the phone on a surface you know is perfectly level (or on the reference you want to match) and tap it to set the current position as zero. Every later reading is relative to that position. Tap Reset Zero to calibrate again or return to the raw sensor reading.
The flip test, which carpenters use on real spirit levels: take a reading, turn the phone end-for-end on exactly the same spot, and read again. Half the difference is the true tilt of the surface; the average is the phone’s own error. Example: +0.6° and then −0.2° means the surface tilts 0.4° and the phone adds 0.2°. If both readings match, your phone is reading true.
Degrees, inches per foot and percent slope
A level that only says “level” or “not level” is enough for a picture frame. For drainage, decks and ramps you need the amount of slope. Small angles add up: an error of 0.5° along a 4-foot shelf lifts one end by 0.42 in.
| Job | Slope | Angle | Percent |
|---|---|---|---|
| Shelves, counters, washing machine | Level | 0.0° | 0% |
| Patio or deck drainage | 1/8 in per ft | 0.60° | 1.04% |
| Drain pipe up to 2½ in, ADA max cross slope | 1/4 in per ft (1:48) | 1.19° | 2.08% |
| Sidewalk running slope limit (ADA) | 1:20 | 2.86° | 5% |
| ADA maximum ramp slope | 1:12 | 4.76° | 8.33% |
How accurate is a digital bubble level vs a spirit level?
Your phone measures gravity with a tiny motion sensor (an accelerometer etched in silicon) and blends it with the gyroscope. After a zero or a flip test, readings within about 0.2° are realistic on a recent phone held still. Movement, a hand pressing on the phone or a case that rocks will make the number wander, and the gyroscope slowly drifts if the phone is moving the whole time.
A good builder’s spirit level is graded to about 0.5 mm per meter (0.03°) and has a long, machined edge. For a shelf, a picture or an appliance, the phone is plenty. For a long deck ledger or a foundation form, lay the phone on a straight board or use a real level.
Check if a surface is level without a level tool
Your phone is always in your pocket, but if the battery is dead or the surface is too small for the phone, older tricks still work:
- A water level: a clear hose filled with water. Both ends settle at exactly the same height, even around corners or across a room.
- A marble or a round pencil on the surface: it rolls toward the low side.
- A glass filled almost to the brim: compare the water line with the rim all the way around.
- A plumb line (a string with a weight) for checking vertical.
- A laser level when you need a level line across a whole wall.