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 level
Note: Tap Start, then lay the phone flat on the surface, or stand it on an edge against what you are levelling. iPhone and iPad ask for motion access first.
Level
Options
The length of what you are levelling: the rise to fix is worked out over it
Not startedPhone sensors read to about ±0.1–0.5°: calibrate first, and use a real spirit level for structural work. Readings stay on this device.
Reading
Tap Start on a phone or tablet: the tilt on both axes, the slope in percent and mm per m or inches per foot, how much to raise the low end, and the angle appear here.

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.

  1. 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.
  2. 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. Level on Auto switches by itself (to the bar past 50° from flat, back below 40°); pick Flat or On edge to keep one.
  3. 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 level plays a tone while it is level, and phones that can vibrate buzz once as it gets there.
  4. Read To make it level for how much to raise the low end over the Span you set (the length of the shelf, frame or slab), in millimetres or inches by Slope units.
  5. For better accuracy, use Calibrate once: This surface is level on a surface you trust, or Two readings, turned 180° on any near-level spot. Hold freezes the reading, Set zero measures the angle from the current position, and Copy reading copies every figure.

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.

Input
Lying on a table: beta 0.6, gamma -1.2
On its long edge: beta 1.0, gamma -88, angle 90
Output
Lying 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)

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.