b2KIT

Digital Protractor & Ruler

On-screen protractor for measuring angles and ruler for measuring distances in images or on screen.

Tested tool guide Tested browser tools Checked August 16, 2026

What Digital Protractor & Ruler does, with a checked example

You can measure a paper drawing with a physical protractor; this tool measures whatever is on your screen instead. It overlays a protractor and a ruler on the page so you can read angles and distances straight from displayed content: the corner of a scanned plan, the slant of a text line, the width of a UI element in a screenshot. The thing most people get wrong is expecting real-world units. The readings stay in screen coordinates - degrees as drawn, distances in pixels - until you supply a known reference for scale.

Worked example

A concrete input and expected output from the current implementation.

Input

Align the protractor's vertex on the corner where the bottom edge of a square in a screenshot meets its diagonal, one arm along the horizontal bottom edge and the other along the diagonal.

Expected output

45 degrees

A square's diagonal cuts the corner in half, so the angle between the horizontal bottom edge and the diagonal is 45 degrees, and the tool reports the angle between the two aligned lines as drawn in the image. Any line rising 1 unit for every 1 unit it runs makes the same angle.

How the result is produced

1

Angle measurement

The protractor is an overlay with a vertex and two arms. You place the vertex on the corner or intersection you care about, then align each arm with one of the two edges, and the tool reports the angle between the arms in degrees. The reading is the angle as it appears in the image plane, which is what makes it useful for checking alignment, skew, and draftsmanship.

2

Distance measurement

The ruler is an overlay with two endpoints. You set one endpoint at the start of the span and the other at its end, and the tool reports the distance between them. On screen that distance is in pixels, so the number depends on the image resolution and the page zoom level. Converting it to inches or millimeters requires a known-length object in the same image to scale against.

Good uses

  • Verify that the corners in a design mockup, scanned drawing, or product photo are actually square before trusting measurements taken from it.
  • Measure the angle of a slope, roof pitch, or stair run in a photo you cannot visit, to compare against a reference or spec.
  • Check how many pixels wide or tall an element in a screenshot is, to confirm proportions before sizing assets to match it.

Limits and checks

  • Perspective confuses angles: a real 90-degree corner photographed at an angle reads as something else, because the tool measures the projection, not the object. Only head-on views give true angles.
  • Units are pixels, not inches: on-screen distances depend on image resolution and browser zoom, so the same object measured at different zoom levels or in different image sizes gives different numbers.
  • Edge placement sets the reading: with anti-aliased or low-resolution edges, a pixel or two of placement error shifts the angle noticeably, especially on short lines. Zoom in before aligning and treat the last digit as approximate.

Common questions

Can this tool tell me the real-world size of an object in a photo, in centimeters?

Not from the photo alone. The ruler measures what is on screen in pixels, so a real-world size only comes out if you can calibrate: photograph a known-size object in the same frame and scale by its pixel width. A credit card is 85.60 x 53.98 mm, so a card photographed 1200 pixels wide gives about 0.071 mm per pixel to scale other measurements by.

Does the protractor correct for the way the photo was taken, like perspective or lens distortion?

No. The tool reads the angle between the two lines you align, exactly as they are drawn on screen. If the camera faced the surface at an angle, real straight lines can appear tilted in the image, and the reading reflects that tilt, not the true angle. Photograph the surface head-on, or use readings only to compare angles within the same image.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools