Phone tool

Bubble level

Your phone as a level: lay it flat on a shelf, or stand it on an edge against a board, a frame or a pipe. Degrees, inches per foot and percent.

Open this page on your phone, tap Start and lay the phone flat on the surface: the bubble drifts to the high side and turns green within 0.1° of level. Stand the phone on its long edge to check a shelf or a board is level, or hold that edge against a post to check it is plumb. A drain pipe 2½ in or smaller needs ¼ in of fall per foot, 1.19° on the level (International Plumbing Code).

Updated · Drain slopes from the International Plumbing Code (Table 704.1) and UPC 708.1 · Patio slope from Quikrete and ENERGY STAR · Readings stay on your phone

Degrees to inches per foot

The slope of an angle: 12 × tan(angle) inches per foot, 100 × tan(angle) percent. To the nearest ¹⁄₁₆ in.

Degrees, inches per foot, percent and the drop over 4 ft and 10 ft
AnglePer footPercentOver 4 ftOver 10 ft
0.25°1/16 in0.4%3/16 in1/2 in
0.50°1/8 in0.9%7/16 in1 1/16 in
0.30°1/16 in0.5%1/4 in5/8 in
0.60°1/8 in1.0%1/2 in1 1/4 in
1.00°3/16 in1.7%13/16 in2 1/8 in
1.19°1/4 in2.1%1 in2 1/2 in
2.00°7/16 in3.5%1 11/16 in4 3/16 in
2.39°1/2 in4.2%2 in5 in
5.00°1 1/16 in8.7%4 3/16 in10 1/2 in
4.76°1 in8.3%4 in10 in
10.00°2 1/8 in17.6%8 7/16 in21 3/16 in

How to use it

  1. Flat: lay the phone on the surface, screen up. The bubble drifts to the high side, like a bull's-eye level, and turns green when it's level each way.
  2. On an edge: stand the phone on its long edge on a shelf or a board to check it's level, or hold its long edge against a post to check it's plumb. The tube runs along the edge that's down.
  3. Calibrate it once: phones' sensors read a little off. Put the phone on any steady spot, tap the first step, turn the phone end for end on the same spot, tap the second: the error is the average of the two readings, because the surface's tilt flips and the sensor's error doesn't. Do it flat and on each edge you use.
  4. A slope: pick a drain pipe or a patio and the level says whether there's enough fall. The phone sits on the pipe or on a straight board laid along it.
inches per foot = 12 × tan(angle)
percent         = 100 × tan(angle)
drop over a run = run (ft) × inches per foot

The numbers we use

Drain pipe 2½ in and smaller
¼ in per foot (1.19°)
Drain pipe 3 to 6 in
⅛ in per foot (0.60°) under the IPC; the UPC wants ¼ unless the inspector agrees
Drain pipe 8 in and larger
¹⁄₁₆ in per foot (0.30°)
A patio, away from the house
⅛ in per foot (Quikrete); ENERGY STAR asks ¼ in for the first 10 ft
A gutter, toward the downspout
¼ in per 10 ft: too little for a phone, use a string line

Drain slopes from the International Plumbing Code (ICC's IPC Essentials, Table 5-2) and UPC 708.1; patio slopes from Quikrete's concrete patio guide and the DOE's Building America Solution Center (citing ENERGY STAR); the gutter slope from a gutter installation guide on Home Depot's site. A phone is handy for a quick check; for a long run or framing, trust a good spirit level.

Questions people ask

How do I use my phone as a level?

Open this page, tap Start and allow motion access. Lay the phone flat for a bull's-eye level, or stand it on an edge for a spirit level along that edge. The reading turns green when it's within 0.1° of level.

How accurate is a phone level?

Phone sensors read a little off out of the box, so calibrate it once: two readings on the same spot, the phone turned end for end between them. For framing or a long run, check with a spirit level.

How much slope does a drain pipe need?

¼ in per foot for pipe 2½ in and smaller, ⅛ in per foot for 3 to 6 in and ¹⁄₁₆ in per foot for 8 in and larger, under the International Plumbing Code. The Uniform Plumbing Code asks ¼ in per foot and allows ⅛ in for 4 in and larger only where the inspector approves.

How many degrees is ¼ inch per foot?

1.19°, or a 2.1% slope. ⅛ in per foot is 0.60° (1.0%), and 1 in per foot is 4.76° (8.3%).

Why doesn't the level move on my computer?

Computers have no motion sensor. Open spetz.ai/apps/bubble-level/ on your phone.

More tools