Bubble level

Lay your phone flat for a round bubble or stand it on its edge for a tube level. The angle shows in degrees, as a roof pitch and as a grade: 26.6° is a 6/12 pitch, a 50% grade.

FREE · NO ADS · NO SIGN-UP · FEET, INCHES & FRACTIONS

0.0°

Tap Start level, then lay your phone flat

Phone or tablet with a motion sensor

ANGLE ↔ PITCH CONVERTER

°
/12
Grade
50%
Open in the free app
level: bubble between the marksangle = tilt of the surface

How it's calculated

The phone's motion sensor gives the direction of gravity. Flat on a surface, the tilt is the angle between gravity and the screen's normal; on an edge, it is the rotation around the screen. Pitch = tan(angle) × 12, grade = tan(angle) × 100. Back from pitch: angle = arctan(pitch ÷ 12).

Worked example. A deck board reads 2.0°: tan(2°) × 12 = 0.42, so it falls about 0.035 in per inch, or 0.42 in over a foot (3.5% grade). For drainage on a patio, 1/4" per foot is about 1.19°.

Angle, roof pitch and grade
AnglePitchGradeRise per foot
0.5°0.1/120.9%0.1"
1°0.21/121.7%0.21"
1.19°0.25/122.1%0.25"
2°0.42/123.5%0.42"
5°1.05/128.7%1.05"
10°2.12/1217.6%2.12"
14.04°3/1225%3"
18.43°4/1233.3%4"
22.62°5/1241.7%5"
26.57°6/1250%6"
30°6.93/1257.7%6.93"
33.69°8/1266.7%8"
36.87°9/1275%9"
45°12/12100%12"
Source: Computed with pitch = tan(angle) × 12. Checked 2026-11-23.

Angle finder and inclinometer

The same reading works as an angle finder: stand the phone's edge on a rafter, a stair stringer or a handrail to read its angle, then read the pitch beside it. That is what an inclinometer does; a phone is accurate to a few tenths of a degree once zeroed on a known flat surface.

Set your zero

Phones are not perfectly flat: camera bumps and cases tilt them. Put the phone on a surface you know is level (or the surface you want to match), set zero there, and every reading after that is relative to it. In the Stud app the zero is kept for flat and edge use separately.

Spirit level vs phone level

A good 4 ft spirit level averages over its length and reads to about 0.5 mm per meter. A phone spans only a few inches, so it shows the local tilt. For long runs, set the phone on a straight board and read the board.

Questions

How do I use my phone as a level?

Open this page or the Stud app, lay the phone on the surface for the round bubble, or stand it on its long edge for a tube level. Centered and green means level.

Why does iPhone ask for permission?

Safari on iPhone asks before a web page can read the motion sensor. Tap Start level and allow it. Nothing is sent anywhere: the reading stays in your browser.

How accurate is a phone level?

Usually within a few tenths of a degree after you set zero on a known flat surface. Cases and camera bumps add error if you don't.

How do I convert degrees to roof pitch?

Pitch = tan(angle) × 12. 18.4° is a 4/12 pitch, 26.6° a 6/12, 45° a 12/12.

What angle is 1/4 inch per foot?

About 1.19°, a 2.08% grade: the common slope for patios and drains.

Related calculators

Formulas tested on the same cases as the Stud app. Professional review pending. How we check the math. Embed this calculator on your site: /embed/bubble-level/. Last checked 2026-11-23.

Same math in your pocket. Works with zero bars.

DOWNLOAD FREE iPhone · No trial, no ads, no account