After installing a shelf, desk, appliance, or other piece of furniture, you may wonder whether it is actually level.

A dedicated spirit level solves that quickly, but buying or carrying one for a small adjustment is not always convenient. In those situations, a smartphone can act as a simple level.

Phones contain sensors that detect device orientation and tilt, and supported browsers can expose those readings to a web page.

Browser Kitty Pocket Level works without installing an app and can show level, plumb, tilt angle, slope percentage, and two-axis front/back and left/right tilt. It also provides zeroing, value hold, a two-second average, and 180-degree two-point calibration.

How a phone can measure level in the browser

Smartphones contain sensors that detect device orientation and motion. Supported browsers can read orientation information from those sensors.

Pocket Level uses those readings to calculate the phone's tilt and display angles and a bubble-style level. It does not photograph the object and estimate the angle from an image; it measures the phone's own orientation.

That means the phone must be placed on the surface or pressed against the edge you want to check.

1. Open Pocket Level on the phone

Open Pocket Level on the phone you want to use for the measurement.

The page itself can open on a PC, but measurement requires a device with orientation sensors, so the main targets are phones and tablets.

No installation is required; open the tool in the browser when you need it.

2. Tap Start measurement

After opening Pocket Level, tap Start measurement.

Depending on the device and browser, you may be asked for permission to use motion or orientation sensors. Review the prompt and allow access if you want to measure.

The app does not keep showing 0.0° as if it were a real reading when no sensor data has arrived. If measurement is unavailable, it can distinguish causes such as missing Device Orientation APIs, denied permission, a requirement for HTTPS, or the absence of sensor events.

  • Device Orientation-style APIs are unavailable
  • Sensor permission has not been granted
  • A Secure Context such as HTTPS is required
  • The API exists but no valid sensor events are arriving

3. Use Plane mode for desks, shelves, and other flat surfaces

Use Plane mode for desks, shelves, floors, appliance tops, and other flat surfaces.

Place the phone flat on the surface to see two directions of tilt at the same time. For example, a surface may be level left-to-right while still sloping slightly toward you.

This mode is useful when you want to understand the direction of tilt across the whole surface rather than on only one axis.

Watch for camera bumps and cases

When measuring a flat surface, the physical shape of the phone matters. Modern phones often have raised camera modules, and cases can add thickness or uneven contact points.

Even with a perfectly functioning sensor, a phone that is physically resting at an angle will report that angle. If a reading looks wrong, first confirm that the device is making stable contact with the surface.

4. Use Edge/Plumb mode for shelf edges, walls, and posts

Use Edge/Plumb mode when checking a shelf edge, wall, post, or similar surface. This mode focuses on a single axis.

It is suitable for checking whether a shelf edge is level, a post is plumb, or the side of a piece of furniture is leaning.

Because the phone's edge contacts the object directly, make sure side buttons or the case are not preventing a straight contact.

  • Whether a shelf edge is level
  • Whether a wall or post is plumb
  • Whether the side of furniture is leaning

5. Check slope percentage as well as degrees

Pocket Level can show slope percentage in addition to angle.

This is useful when you want to think in terms of vertical change relative to horizontal distance rather than degrees. For gentle slopes, percentage can be easier to interpret.

It is still a convenience measurement from a phone. Use dedicated measuring equipment when a construction standard or another task requires strict numerical accuracy.

Features that make measurement easier

The basic angle display is enough for many checks, but Pocket Level also includes helpers for more awkward measurements.

Changing the reference, holding the reading, averaging for a short period, and watching stability can make measurements easier when the device is hard to position or the values fluctuate.

Use Zero to make the current angle your reference

You do not always need absolute level relative to the ground. If you want to compare another surface with the current one, use Zero.

Zeroing treats the current orientation as 0° so that later readings show the difference from that reference. This can help when matching two parts that should share the same slope.

Zeroing does not prove that the reference surface itself is truly level. It only defines the current angle as the new reference.

Use Hold when you need to move the phone before reading the value

The screen can be hard to see while the phone is pressed against an object. If you lift the phone to read it, the angle changes.

Hold freezes the current reading so you can remove the phone from the surface and then check the value.

It is particularly useful in tight spaces or positions where the screen cannot be viewed directly.

Use the two-second average when readings fluctuate

Phone sensor readings can fluctuate slightly even when the device appears still, and hand-held measurements add more motion.

The two-second average collects sensor values for two seconds and shows both the average and the amount of variation.

It is useful when a reading moves between values such as 0.2° and 0.3° and you want something steadier than a single instant.

Check stability together with the angle

Pocket Level also reports stability based on how much recent sensor readings are moving.

Use it as a clue for whether the current angle is settled enough to read, rather than looking at the angle alone.

For small differences, place the phone, wait briefly for the reading to settle, and then read the value.

Change the tolerance used to decide when the phone is level

The acceptable range for calling something level depends on the task. Pocket Level lets you choose ±0.1°, ±0.3°, ±0.5°, or ±1.0°.

Choose a smaller tolerance for a stricter check or a larger one when a rough level indication is enough.

A ±0.1° tolerance does not mean the phone itself is accurate to ±0.1°. It only changes the threshold used for the level indication; sensor accuracy is a separate issue.

  • ±0.1°
  • ±0.3°
  • ±0.5°
  • ±1.0°

Use 180-degree two-point calibration when device bias is a concern

Phone sensors can contain a small consistent bias. Pocket Level provides a two-point calibration that measures the same surface twice with the phone rotated 180 degrees.

Measuring the same surface in opposite orientations helps separate the surface tilt from a consistent offset in the device.

  • Place the phone on the same surface
  • Record the first measurement
  • Rotate the phone 180 degrees while keeping it on the same surface
  • Record the second measurement
  • Estimate a consistent device-side bias from the two readings

Two-point calibration cannot remove every kind of error

Two-point calibration cannot eliminate every source of error. Physical differences in how the phone touches the surface are especially important.

A camera bump, case edge, rounded side, or protruding button can change the contact geometry after the phone is rotated 180 degrees.

That is a placement error rather than an internal sensor bias, so two-point calibration cannot correct it by itself.

Use sound or vibration when the screen is hard to watch

On supported devices, Pocket Level can use sound or vibration when the reading enters the selected level tolerance.

When you are adjusting a shelf gradually, watching the screen continuously can be difficult. Audio or haptic feedback gives another way to know when the reading is within range.

Availability depends on the device, browser support, and user settings.

If the screen turns off during measurement

On supported browsers, Pocket Level can use Screen Wake Lock to reduce the chance that the display turns off while measuring.

Wake Lock is not available on every device or browser. If it is unavailable, the core level measurement still works.

If sensors do not work on an iPhone

On iPhone and some other environments, a web page cannot simply access motion sensors as soon as it loads.

Permission must be requested from a user-initiated action such as pressing a button, so seeing no measurement immediately after opening the page does not necessarily indicate a problem.

Tap Start measurement first, review any permission prompt, and allow access if appropriate. If measurement still fails, check browser and operating-system settings.

Sensors may not work when the HTML is opened with file://

Pocket Level can be saved as a standalone HTML file, but some mobile browsers do not expose orientation sensors to pages opened directly with file://.

This does not mean Pocket Level needs a remote server for the measurement. The browser may require a secure context before it exposes motion sensors.

If sensor readings are unavailable from the local HTML file, use the Browser Kitty version served over HTTPS.

Measured sensor values are not sent to an external server

Pocket Level performs sensor reading, angle calculation, calibration, two-second averaging, stability checks, and rendering in the browser.

It does not use the camera, microphone, GPS, an account, or cloud storage for measurement. Calibration values and some settings can be stored in localStorage when available.

The hosted version naturally makes a request to load the page itself, but measured tilt values are not sent to Browser Kitty.

  • Sensor reading
  • Angle calculation
  • Calibration
  • Two-second averaging
  • Stability checks
  • On-screen display

How accurate is a phone used as a spirit level?

Accuracy is the most important limitation when using a phone as a level. A display with 0.1-degree increments does not mean the measurement is guaranteed to be accurate to 0.1 degrees.

Results can be affected by sensor quality, sensor calibration, the browser, the case, camera bumps, how the phone contacts the surface, and vibration during measurement.

Pocket Level is therefore best suited to everyday checks such as noticing a large shelf tilt, adjusting a desk or piece of furniture, or matching the slope of two surfaces.

For construction inspection, surveying, safety-critical measurements, or work with strict tolerances, use calibrated dedicated measuring equipment.

  • Phone sensor accuracy
  • Sensor calibration state
  • Browser behavior
  • Cases and camera bumps
  • How the phone contacts the surface
  • Vibration during measurement

Quick workflow for leveling a shelf

For a straightforward shelf-level check, use the following sequence.

If the phone cannot be placed on top of the shelf, use Edge/Plumb mode and place the phone against the shelf edge instead.

  • Open Pocket Level on the phone
  • Tap Start measurement
  • Grant sensor permission if required
  • Choose Plane mode
  • Place the phone on the shelf
  • Check front/back and left/right tilt
  • Adjust the shelf
  • Wait for the reading to settle and check again

Quick workflow for checking a wall or post for plumb

Use Edge/Plumb mode when checking whether a wall or post is vertical.

If the phone has protruding side buttons or a thick case, verify that it is making straight, even contact with the surface.

  • Open Pocket Level
  • Tap Start measurement
  • Choose Edge/Plumb
  • Place the phone edge against the wall or post
  • Check the angle
  • Use Hold if you need to preserve the reading

Check level only when you need it, without installing an app

For a quick check of a shelf or piece of furniture, you do not necessarily need to install a dedicated level app.

Open Pocket Level in the browser, tap Start measurement, and choose Plane or Edge/Plumb based on the surface.

Start with the live angle. If the reading is too jumpy, use the two-second average. If a consistent device bias is a concern, try 180-degree two-point calibration. Use only the helpers that the situation needs.

A phone is useful for everyday level and plumb checks; use dedicated calibrated equipment for work that requires guaranteed accuracy.

Basic steps for using a phone as a spirit level

  1. Open Pocket Level on the phone and tap Start measurement.
  2. Grant motion/orientation sensor permission if the browser asks.
  3. Choose Plane for a desk or shelf top, or Edge/Plumb for a shelf edge, wall, or post.
  4. Make sure the phone contacts the surface evenly and is not tilted by a case or camera bump.
  5. Adjust the object while watching angle, slope percentage, bubble, and stability.
  6. Use zeroing, Hold, the two-second average, or 180-degree two-point calibration when needed.
  7. When guaranteed accuracy is required, do not rely on the phone alone; use calibrated dedicated equipment.
Try it in Browser Kitty

Pocket Level

Turn a phone into a browser-based level and inclinometer using its orientation sensor.

Open toolView tool details

Tips and limitations

  • If the reading looks wrong, check the phone's contact with the surface and any case or camera bump before assuming the sensor is faulty.
  • For small angles, wait for the stability indication to settle instead of reading immediately after placing the phone.
  • Zeroing defines the current surface as the reference; it does not prove that the reference is truly level.
  • If sensors are unavailable from file://, use a version served over HTTPS such as Browser Kitty.
  • The tolerance setting controls the level threshold; it does not specify the actual accuracy of the phone.

Frequently asked questions

Can I use only my phone as a spirit level?

With suitable orientation sensors and a compatible browser, a phone can be used for convenient level, plumb, and tilt checks. Use calibrated dedicated equipment for construction or surveying work that requires guaranteed accuracy.

Why do I see no reading on an iPhone?

Some environments do not expose motion sensors immediately on page load. Tap Start measurement and respond to the permission prompt. Sensor access can also be disabled by browser or OS settings.

What should I do if zero degrees seems wrong?

Use Zero when you simply want the current surface as a reference. If the phone has a consistent sensor bias, use the 180-degree two-point calibration. Physical contact errors from a case or camera bump cannot be corrected by sensor calibration.

Does a ±0.1° tolerance make the measurement accurate to 0.1°?

No. The tolerance only controls the threshold used to decide when the reading counts as level. Actual accuracy depends on the sensor, device contact, case, browser, and other factors.

Are sensor readings sent to Browser Kitty?

No. Sensor reading, angle calculation, averaging, calibration, stability checks, and display run in the browser. The hosted page must be downloaded, but the measured tilt values are not sent to Browser Kitty.

Can I use the saved standalone HTML through file://?

The page itself can open locally, but some mobile browsers do not expose motion sensors to file:// pages. If sensor readings are unavailable, use the Browser Kitty version served over HTTPS.