Home › Device & Internet Tests › Bubble Level

Bubble Level

Lay your phone on a surface to check it is flat, or hold it against an edge to check it is level. The bubble, angle and slope update live, and you can zero the level on a known flat surface.

Last updated:

–Not started
Left / right–
Front / back–
Slope–
Advertisement
Advertisement

How to use the Bubble Level

  1. Open the page on your phone and press Start level. On iPhone, tap Allow when asked about motion and orientation.
  2. Choose Surface and lay the phone flat to check a table or shelf, or choose Bar and hold the phone's long edge against the object.
  3. Calibrate once: put the phone on a surface you know is level and press Calibrate.
  4. Adjust until it says Level: the bubble centers and the angle shows 0.0°.
  5. Press Hold to freeze the reading when the screen is hard to see.

Degrees, percent and inches per foot

The slope of a surface is percent = tan(angle) × 100 and rise per foot = tan(angle) × 12 in. Small angles are easy to underestimate: a 1° tilt drops a 4-foot shelf by more than three quarters of an inch.

AngleSlopeRise per footRise per meterDrop over 4 ft
0.25°0.44%0.05 in4.4 mm0.21 in
0.5°0.87%0.10 in8.7 mm0.42 in
1°1.75%0.21 in17.5 mm0.84 in
1.19°2.08%¼ in20.8 mm1.00 in
2°3.49%0.42 in34.9 mm1.68 in
4.76°8.33%1 in83.3 mm4.00 in

A slope of ¼ inch per foot (about 2%) is the common minimum for drainage on patios and showers, and 1:12 (8.33%, 4.76°) is the maximum slope for a wheelchair ramp under the ADA standards.

How the level reads your phone's tilt

The browser's DeviceOrientation API reports two tilt angles: beta, the front-to-back tilt, and gamma, the left-to-right tilt. In surface mode the total tilt is

tilt = arccos(cos β × cos γ)

and the bubble moves toward the higher side, just like the air bubble in a real vial. In bar mode the tool works out which way gravity points within the plane of the screen, angle = atan2(sin γ × cos β, sin β), and shows how far that is from the nearest horizontal or vertical, so it works with the phone standing on its long or short edge.

Tips for accurate results

  • Calibrate on a known flat surface, ideally with the phone out of a bulky case. Then turn the phone 180° on the same spot: if the reading is still near 0°, the calibration is good.
  • Calibrate each mode separately: surface mode and bar mode keep their own zero point.
  • Use the flat back in surface mode. A protruding camera bump tilts the phone; calibration corrects for it as long as the phone lies the same way.
  • For long shelves, put a straight board or ruler on the shelf and the phone on top, so small bumps don't affect the reading.
  • Turn on smoothing for a calm bubble, or turn it off for the fastest response.

Frequently asked questions

How accurate is a phone bubble level?

After calibration most phones are accurate to about 0.1° to 0.5°, which is fine for hanging pictures, shelves and furniture. Professional levels are more precise, so use a real spirit level for construction work.

Why do I need to calibrate?

Phone sensors have a small offset, and cases or camera bumps tilt the phone slightly. Place the phone on a surface you trust and press Calibrate to remember that position as zero. For the best result, calibrate, turn the phone 180° and check the reading is still close to zero.

Why doesn't the level work on my laptop?

Laptops and desktops usually have no accelerometer exposed to the browser, so there is no tilt to show. Open the page on a phone or tablet.

How do I use it on iPhone?

Press Start level and allow access to motion and orientation. If you denied it, close the tab and open the page again. The page must be served over https.

What is the difference between degrees and percent slope?

Degrees measure the angle itself. Percent slope is the rise divided by the run times 100, so 1° is about 1.75% or roughly 3/16 inch per foot.

Is any sensor data uploaded?

No. Orientation readings stay in your browser and are not stored or sent anywhere. Only your calibration offset is saved on this device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Touch Screen TestCheck multi-touch points, draw trails and find dead zones on any touchscreen.Vibration TestTest your phone's vibration motor with short, long, SOS, heartbeat and custom patterns.What Is My Screen ResolutionSee your screen resolution, viewport, pixel ratio, colour depth and display features.Refresh Rate TestCheck your monitor's refresh rate in Hz and spot dropped frames.Online ProtractorMeasure any angle on screen or in a photo with a draggable 360° protractor.Online RulerAn actual-size on-screen ruler in cm, mm and inches, calibrated with a credit card.Straighten ImageFix a tilted photo: rotate by any angle with a grid, auto-crop the corners or level the horizon.Internet Speed TestMeasure download, upload, ping and jitter.What Is My IPSee your public IP address and location.Battery Status CheckerCheck your battery level, charging state and time to full or empty.What Are My GPS CoordinatesSee your latitude and longitude in decimal and DMS, with accuracy and maps.Online CompassUse your phone as a compass with heading in degrees and cardinal points.Browser Feature CheckerTest which Web APIs, CSS features and JavaScript syntax your browser supports.Local Storage InspectorView, edit and clear the cookies, localStorage and other data this site stores in your browser.FPS TestMeasure your browser's live frame rate, 1% lows and frame times, and compare 15-240 FPS.GPU TestSee your graphics card, WebGL and WebGPU support and limits, and run a quick GPU benchmark.CPU BenchmarkTest your processor's single-thread and multi-thread speed in the browser and compare scores.Ping TestCheck your latency, jitter and packet loss to Cloudflare, Google and other servers live.Accelerometer TestCheck your phone's accelerometer and gyroscope with live values, graphs and a tilt ball.Browser Fingerprint TestSee how unique your browser is: canvas, WebGL, audio, font and screen fingerprints, run locally.WebRTC Leak TestCheck if WebRTC exposes your real public or local IP address, even behind a VPN.IPv6 TestTest whether your connection supports IPv6, see your IPv4 and IPv6 addresses and check any site.Sequence Memory TestWatch squares flash in a 3x3 grid and repeat the growing sequence. Track your best level.Visual Memory TestRemember which squares light up as the grid grows. Three lives, levels and score history.Ad Blocker TestCheck if your ad blocker works: bait ad elements and ad/tracker requests, with every result listed.Browser Notification TestCheck notification permission, request it and send test notifications with custom options.Browser Storage TestSee your browser's storage quota and usage, and test localStorage, IndexedDB and cookie limits.Device Info CheckerSee your device's OS, CPU cores, memory, GPU, screen, network, battery and sensors in one report.Gyroscope TestCheck your phone's gyroscope with live rotation readings, a 3D phone model and graphs.WebGPU TestCheck if your browser supports WebGPU, see adapter info, limits and features, and run a GPU benchmark.4K Video Playback TestPlay generated 1080p, 4K or 8K test clips and see decode speed, dropped frames and smoothness.Browser BenchmarkTest your browser's speed: JavaScript, DOM, Canvas, WebGL, JSON and regex scores in one run.Bufferbloat TestMeasure lag under load: idle vs loaded latency, graded A+ to F with a latency chart.Cloud Ping TestPing AWS cloud regions worldwide from your browser and find the lowest-latency data center.Fake Flash Drive CheckerFill a USB drive or SD card with test data and read it back to expose fake capacity and bad memory.GPS SpeedometerLive GPS speed in mph, km/h or knots with max, average, trip distance and HUD mode.Am I Connected to the InternetCheck if your internet really works: tests several servers, latency and captive Wi-Fi portals.USB Drive Speed TestMeasure USB flash drive and SD card write and read speed in MB/s, right in your browser.Is JavaScript Enabled TestCheck instantly if JavaScript is enabled, see your JS engine and get how-to-enable steps.Online PedometerCount steps with your phone's motion sensor: distance, calories, cadence and saved sessions.Qibla Direction FinderFind the Qibla from your location: exact bearing to the Kaaba, live phone compass and map path.Reading Speed TestTime how fast you read a passage, answer comprehension questions and compare with adult averages.Online Serial PlotterPlot live numbers from Arduino, ESP32 or any USB serial device as a multi-line chart.Bluetooth Device ScannerFind nearby Bluetooth LE devices and read their services, characteristics and battery level.Video Codec Support CheckerCheck H.264, HEVC, VP9 and AV1 support at 1080p, 4K, 8K and HDR, with hardware decode hints.What Is My ElevationSee your current elevation above sea level in feet and meters from GPS and terrain data.What Is My Time ZoneSee your time zone, UTC offset, abbreviation and daylight saving status instantly.Are Cookies Enabled TestCheck if cookies, localStorage and sessionStorage work in your browser, with fix steps.Dual N-Back TestWorking memory training: match squares and spoken letters from N steps back, with auto-levels.GPS Route TrackerRecord a walk, run or ride on a map: distance, time, pace, elevation, GPX and KML export.
See all 46 Network, Browser & System Tests →