Units

Actual size, in inches and cm

Online Ruler

This online ruler shows inches and centimeters at their real size on your phone, tablet or computer, with a protractor, a caliper and a measuring tape beside it. Set it to your screen once, hold something against the glass and read its length.

  • Free
  • No sign-up
  • No app
  • Works on photos
How to calibrate

0

How to calibrate the ruler to your screen

A browser can't tell how big your screen's pixels are, so before you calibrate, the ruler uses an estimate for your type of device. Calibrating once makes every mark true. It takes about ten seconds, is saved in this browser, and covers every tool on MeasureHere. Press Calibrate at the top of the page and choose one of these ways.

With a bank card: the most exact way

  1. Choose Card or coin and leave the choice on Bank card. Credit cards, debit cards and most ID cards are all the same size: 85.60 × 53.98 mm (3.370 × 2.125 in) under ISO/IEC 7810.
  2. Hold the card flat against the screen inside the blue outline, one corner in the outline's corner.
  3. Press Bigger or Smaller, or drag the slider, until the outline's edges meet the card's edges. Each press moves the edge by one pixel.
  4. Press Save.

No card to hand? The same list has US, Canadian, euro and UK coins, US dollar bills, euro notes, and the short edge of a sheet of A4 or Letter paper.

With your screen size

  1. Choose Screen size.
  2. Type the size of your screen in inches, measured corner to corner, the way the maker lists it: 6.1 for many phones, 13.3, 14 or 15.6 for laptops, 24 or 27 for monitors. Or open Find your phone, tablet or computer and pick it from the list.
  3. Press Save.

The ruler then works out the pixel size itself. Your browser reports the screen's size in pixels; the diagonal in pixels divided by the diagonal in inches is the number of pixels in an inch. A 14-inch laptop that reports 1536 × 960 pixels has a diagonal of 1811 pixels, so one inch is 1811 ÷ 14 = 129.4 pixels. The size printed on a box is often rounded, so a card is a little more exact.

Two more ways

  • Real ruler: hold a ruler or tape measure against the screen and stretch the blue line until it ends at 10 cm (or 4 inches).
  • Pixels per inch: type the pixel density from your screen's specifications, such as 460 for an iPhone 16. The ruler allows for your display scaling.

Check it, and keep the zoom

Under every method a black bar shows 1 inch or 1 cm at the new setting, so you can hold a real ruler to it before you save. Afterwards, measure the card you used with the ruler or caliper: it should read 85.6 mm. Keep the page at the zoom level you calibrated at. On a computer, Chrome, Edge and Firefox allow for zoom automatically; pinch-zooming on a phone makes everything too big until you pinch back. A calibration belongs to one screen, so a phone, a laptop and an external monitor each need their own.

Four measuring tools on one screen

Choose a tool from the bar at the bottom of the screen. Each one measures at true size once the screen is calibrated, and every handle also moves with the arrow keys.

  • Ruler

    Length

    Start the object at the 0 and drag the end handle to its far end. The reading snaps to 1/16 inch or 1 millimeter, like a printed ruler. Turn it with the round handle, or press Upright.

  • Protractor

    Angles

    Put the centre on the corner, turn the base onto one side and swing the blue arm onto the other. Read degrees from 0 to 180, or switch to 360°.

  • Caliper

    Thickness and width

    Close the jaws on a coin, a screw or a pencil lying on the screen. The display reads to a tenth of a millimeter or a thousandth of an inch, with the nearest 1/64.

  • Tape

    Paths and shapes

    Tap points along an edge to measure each stretch and the total. Close the shape to get the distance around it and the area inside.

Along the edges of the screen, rulers in the unit you chose start at the top-left corner, and the graph paper behind the tools has 1 cm or 1/4-inch squares. Both can be turned off in the menu. Lock stops the tools moving while something lies on the glass, Copy puts the reading on your clipboard, and Save downloads a picture of the measurement.

Measure a photo

A photo of something next to an object of known size can be measured on screen. The photo never leaves your device: it's opened by the browser, not uploaded.

  1. Press Photo and choose the picture, or drag it onto the screen.
  2. Press Set scale. Drag the two ends of the blue line onto something in the photo whose length you know, such as the long side of a bank card, and type that length.
  3. Press Apply. The photo is resized so that thing shows at its true size, and the ruler, caliper and tape measure the rest of the photo in real units.

Keep the reference in the same plane as what you measure, and take the photo straight on: anything nearer the camera looks bigger.

How accurate is an on-screen ruler?

An on-screen ruler is accurate once it knows how many pixels make a real inch on your screen, and browsers don't report that. The web's own unit, the CSS inch, is defined as 96 pixels (W3C, CSS Values), but screens pack their pixels differently, so 96 pixels can be a long or a short inch.

How long a 96-pixel "inch" really is
ScreenPixels per real inch96 pixels measure
24-inch monitor, 1920 × 1080, 100% scaling91.81.05 in
14-inch laptop, 1920 × 1200, 125% scaling129.40.74 in
iPhone 16 (460 pixels per inch, 3× screen)153.30.63 in
Android phone (160 CSS pixels per inch by design)1600.6 in

Pixel densities from the makers' published figures: Apple iPhone 16 technical specifications and Android's density-independent pixel (Android Developers). Monitor and laptop figures are worked out from their resolution and diagonal.

That's why the ruler asks you to calibrate once. Until you do, the Calibrate button at the top shows an amber dot; afterwards it turns green and says Calibrated. After matching a card the ruler is good to about one pixel, roughly a quarter of a millimeter on most screens.

What the marks mean

The inch scale splits every inch into 16 parts, and the length of each line tells you which part it is. The centimeter scale splits every centimeter into 10 millimeters.

Lines on the inch scale, longest to shortest
LineMarksIn millimeters
Longest, numberedWhole inches25.4 mm apart
Second longest1/2 inch12.7 mm
Middle1/4 and 3/4 inch6.35 and 19.05 mm
Short1/8, 3/8, 5/8, 7/8 inchevery 3.175 mm
ShortestEvery 1/16 inchevery 1.5875 mm

The reading does the counting for you, so 3 3/8 appears as 3 3/8, not as "three inches and six sixteenths". To practise finding marks yourself, the guide to reading a ruler has a ruler you can tap.

Use your phone as a ruler

On a phone held upright the ruler stands upright too, which gives the longest scale. Calibrate on the phone itself, since a calibration belongs to the screen it was made on; the list under Screen size has recent iPhones, Galaxy and Pixel phones.

Lay small, flat things such as a screw, a coin, a photo or a seed packet straight onto the glass, then press Lock so a touch can't move the ruler. Hold bigger things against the edge of the screen and look straight down at the line, not at an angle, so the mark you read is the one under the object's end.

Keyboard and screen readers

Every handle is a button: press Tab to reach it and the arrow keys to move it, with Shift for steps ten times bigger. The reading is announced when it settles. On a computer, 1 to 4 choose the tools, U changes the unit, T lets you type a length or angle and L locks the tools; the menu lists every shortcut and can turn single-key shortcuts off.

When another tool works better

  • Longer than your screen: measure in two parts, or use a tape measure. The tape measure guide explains its marks.
  • A ring or a finger: the ring sizer fits a circle to a ring you already own.
  • Round or soft things: wrap a strip of paper around them, mark it, and lay the strip on the ruler.
  • A ruler on paper: print the printable ruler at actual size.
  • Sizes in a plan or a listing: the length converter gives the nearest tape-measure fraction and draws the length at actual size.

More measuring tools

Questions people ask

Can I get a ruler on my screen?

Yes. This page draws a ruler at real size on any phone, tablet or computer screen. Set it once with a bank card or your screen size so its marks line up with real inches and centimeters, then hold the object against the screen and stretch the ruler to its far end.

How do I use my phone as a ruler?

Open this page on the phone and tap Calibrate. Match the outline to any bank card, or pick your phone from the list of screen sizes. The ruler stands upright on a phone held upright, for the longest scale. Lay the object on the glass with one end at 0, press Lock so a touch can't move anything, and read the length.

How can I show 5 inches on my screen?

Calibrate the screen, choose the Ruler, press Type length and enter 5. The ruler is then exactly 5 inches long from its 0 to the blue line at its end. Most phones are narrower than 5 inches, so on a phone turn it upright with the Upright button.

How do I measure an angle online?

Choose the Protractor. Drag it so its centre sits on the corner of the angle, turn the base with the round handle beyond the 0, then drag the blue arm onto the other side. The angle shows in degrees; 360° mode measures angles over 180°.

Can I measure something in a photo?

Yes. Press Photo and choose a picture that also shows something of known size, such as a bank card or a ruler. Press Set scale, drag the line over that object and type its length: the photo is resized to true size, and every tool then measures the photo in real units. The photo stays on your device.

Is an online ruler accurate?

It is as accurate as its calibration. Before you set it, the size is an estimate from your type of device. After matching a card, the ruler is good to about a pixel, roughly a quarter of a millimeter on most screens. Keep the browser at the zoom level you calibrated at.

Display

Colors
Edge ruler size
Keyboard shortcuts
1 to 4Ruler, protractor, caliper, tape
UNext unit: in, cm, mm, px
CCalibrate the screen
TType a length or angle
LLock or unlock the tools
RPut the tool back in the middle
G / EGrid paper / edge rulers on or off
PChoose a photo to measure
HHide or show the tool bar
FFull screen
Arrow keysMove the selected part (Shift: 10 times as far)
Ctrl + SSave a picture
Ctrl + CCopy the reading
This screen

Set the ruler to your screen

How to set it

Hold the card flat against the screen inside the blue outline. Press Bigger or Smaller until the outline matches the card's edges.

Card goes here

This bar should be exactly 1 inch long.