Who needs a dedicated level tool when you have an iPhone? Here’s how to measure out a flat surface via the Compass tool and apps like iHandy Level and Bubble Level.

Need to check for a level surface when hanging a painting, putting in a shelf, or doing construction around the house? A regular level tool would certainly come in handy, but maybe you don’t have one.

In that case, your iPhone can come to your rescue. A level feature is built right into the iOS Compass app through which you can gauge the angle of a surface.

If you want your phone to do more, you can grab any number of apps from the App Store, like iHandy Level and Bubble Level for iPhone. Let’s check out how to measure a surface using the Compass app and some helpful third-party apps.