Online ruler

Free online ruler in inches, cm and mm at actual size. Calibrate once with a credit card.

Not calibrated
Drag from a ruler to add a guide.
0 in Estimate, calibrate for real size 

Reading details

Settings

px means CSS pixels, the browser's layout unit (1/96 in before calibration), not your screen's device pixels. A phone with a device pixel ratio of 3 has 3 × 3 device pixels in each CSS pixel.

History

Loading history

    All keyboard shortcuts

    Shortcuts work while the ruler is on screen. They are off while you type in a field, and Ctrl, Cmd and Alt combinations are left to the browser.

    ?
    Show or hide this list
    I C M
    Inches, centimetres, millimetres
    P
    CSS pixels as the reading unit
    Shift + P
    Show CSS pixels next to the length unit (cm + px)
    1 2 3 4
    Ruler, Calipers, Chain, Box
    ← → ↑ ↓
    Move the reading line 1 px
    Shift + arrow
    Move the reading line 1 mm
    G
    Add a guide at the reading line
    Shift + G
    Clear guides
    X
    Crosshair on or off
    E
    Next ruler edge (top, right, bottom, left, all four)
    O
    Horizontal or vertical ruler
    F
    Full screen on or off
    T
    Next colour theme (system, light, dark)
    S
    Save the reading to History
    H
    Open History
    Esc
    Clear guides and the box, or close a panel

    On a focused handle, arrow keys move it 1 px, Shift 10 px and Alt 0.1 mm. On a focused guide, arrow keys move it and Delete removes it.

    Calibration

    Not calibrated

    Not calibrated, readings can be off by several percent

    What the Calibrated Ruler is

    Calibrated Ruler is an online ruler that shows inches, centimetres (cm) and millimetres (mm) at real size on your screen. It runs in your browser on a phone, tablet or computer, with no app to install and no account. A browser does not know how large its pixels are, so you calibrate once with a real card. After that, the ruler matches a physical ruler held against the screen. Measure objects up to the length of your screen, or longer ones in segments.

    How to use the online ruler

    Calibrate once with a card, then choose a unit, place the object and read the value. The ruler at the top of this page shows actual size in inches, centimetres and millimetres once you match it to a real object.

    1. Open the page

      Open this page in your browser with the zoom at 100%. The ruler sits at the top and needs no install.

    2. Calibrate with a card

      Press Calibrate and hold a credit card (ID-1 format) against the screen. Drag the handle until the outline matches the card's long edge, 85.60 mm (3.370 in).

    3. Verify

      Match the outline to a second object, such as a coin or the card's short edge, and press Check accuracy. The tool shows the error in percent and marks the calibration Verified at 1.5% or less.

    4. Choose the unit

      Press in, cm or mm above the ruler. Every reading also lists the other units.

    5. Place the object

      Put one end of the object on the 0 mark and hold it flat against the screen. Use Calipers for circles and rectangles, and Chain for long objects.

    6. Read the value

      Drag the reading line to the far end and read the value, such as 2 15/16 in (74.6 mm). Copy puts it on the clipboard.

    Guides, box and crosshair

    Drag from any ruler edge into the measuring area to place a guide, or choose Box and drag to read width, height, diagonal and area. Everything reads in the unit you picked, from the calibrated scale.

    • Guides: each one shows its position, and the label between two neighbouring guides gives the distance between them. Drag a guide to move it, drag it back onto a ruler to remove it, or press Clear guides.
    • All four edges: in Settings, set Ruler edge to All four edges to get rulers on every side and guides in both directions.
    • Box: a 30 × 40 mm box reads a 50 mm diagonal and 12 cm² (1.86 in²). Save it to History, then copy one reading, copy them all or download a CSV file.
    • Crosshair: shows the pointer's X and Y position from the top-left corner, to 1 decimal place.
    • Compare: draws a credit card, a US quarter, an A4 or US Letter sheet, an iPhone 16 or an AA battery at actual size.
    • CSS pixels (px): the browser's layout unit, not your screen's device pixels. Choose px to read pixels only, or + px to see both, such as 5.00 cm · 189 px.

    For a fit that matters, such as a machined part or a ring, check the result with a physical ruler or calipers.

    Keyboard shortcuts

    Press ? while the ruler is on screen to open the list of shortcuts. Click the measuring area first, then the arrow keys move the reading line by 1 pixel, or by 1 millimetre (0.04 in) with Shift.

    Single letters switch the unit, the mode, the guides, the crosshair, the theme and full screen, and Esc clears guides and the box. Shortcuts are off while you type in a field, and Ctrl, Cmd and Alt combinations stay with your browser.

    Put this ruler on your website

    Copy one iframe code to show this calibrated ruler on your own site, free. Your visitors calibrate it once per device, and the widget loads no ads, analytics or third-party scripts.

    Get the embed code with a size, unit and theme of your choice.

    Why calibration matters

    A web page cannot measure your screen, so without a reference it can only estimate how long a millimetre is.

    Screens fit different numbers of pixels into each millimetre. A 24 inch (61 cm) monitor at 1920 × 1080 has about 3.6 pixels per mm. An iPhone 16 has about 18.1 pixels per mm (460 pixels per inch). The browser does not tell the page which screen it is on or how large that screen is.

    Without calibration the ruler uses the CSS standard of 96 CSS pixels per inch, which is 3.78 CSS pixels per mm. On screens, CSS ties that inch to a reference pixel, not to a measured length. So an uncalibrated reading is an estimate, and every page labels it as one.

    Calibration supplies the missing number. When you match an outline to an ID-1 card 85.60 mm (3.370 in) wide, the page works out CSS pixels per mm for your screen and every tool uses that value.

    Calibration methods

    There are 4 main calibration methods: credit card, coin, paper and screen diagonal. A fifth option is direct entry of pixels per inch (PPI). Start with the credit card. Every credit card (ID-1 format) measures 85.60 × 53.98 mm (3.370 × 2.125 in), and the card fits on phone and laptop screens.

    The coin list has 19 round coins from 4 countries, with diameters from the issuing mints. A longer reference gives a smaller error in percent, so a paper edge beats a coin on a large monitor. Screen calibration with any method ends with the same check: match a second object and read the error.

    Calibration methods compared
    MethodReference sizeWhat limits itUse it for
    Credit card85.60 × 53.98 mm (3.370 × 2.125 in)How exactly the outline matches the 85.60 mm edgePhones, tablets and laptops
    Coin19 coins, e.g. US quarter 24.26 mm (0.955 in)A short reference: 0.25 mm of mismatch is about 1% of a quarterScreens when no card is at hand
    Paper edgeA4 210 × 297 mm; US Letter 215.9 × 279.4 mm (8.5 × 11 in)A long reference: 0.5 mm of mismatch is 0.24% of 210 mmMonitors wider than the sheet
    Screen diagonalDiagonal in inches and native resolutionDepends on the published specs; a rounded diagonal or scaled display adds errorMonitors with a known model
    PPI entryPixels per inch from the spec sheetOnly as accurate as the PPI valueDisplays with a published PPI
    Credit card (ID-1): 85.6 × 53.98 mm (true size, not calibrated)

    Pixels per inch (PPI) formula

    PPI is the diagonal resolution in pixels divided by the diagonal size in inches. Pixels per inch (PPI) tells you how many screen pixels fit in 1 inch (25.4 mm, 2.54 cm).

    PPI = √(width_px² + height_px²) ÷ diagonal_in
    width_px
    native horizontal resolution, in pixels
    height_px
    native vertical resolution, in pixels
    diagonal_in
    visible screen diagonal, in inches

    Worked example: a 24 inch (61 cm) monitor at 1920 × 1080 has √(1920² + 1080²) = 2202.9 pixels on the diagonal. 2202.9 ÷ 24 = 91.8 PPI, which is 3.61 pixels per mm.

    The ruler stores its scale as CSS pixels per millimetre: PPI ÷ device pixel ratio ÷ 25.4. A browser assumes 96 CSS pixels per inch, so on this monitor an uncalibrated 1 inch line is 1.046 in (26.6 mm) long.

    PPI calculator

    PPI
    91.8
    Pixels per mm
    3.61
    Uncalibrated 1 in
    1.046 in

    Assumes a device pixel ratio of 1 for the last value.

    Actual-size and unit reference

    1 inch is exactly 25.4 mm (2.54 cm), and 1 cm is 10 mm (0.3937 in). The international yard and pound agreement of 1959 fixed the inch at 25.4 mm. To convert, multiply inches by 25.4 to get millimetres, or divide millimetres by 25.4 to get inches.

    Units and common inch fractions
    Lengthmmcmin
    1 in25.42.541
    1 ft (12 in)304.830.4812
    1 cm1010.3937
    1 mm10.10.03937
    1/16 in1.590.1590.0625
    1/8 in3.170.3180.125
    1/4 in6.350.6350.25
    3/8 in9.520.9530.375
    1/2 in12.701.2700.5
    5/8 in15.881.5870.625
    3/4 in19.051.9050.75
    Inch and millimetre marks (not calibrated)

    The objects below have a size fixed by a standard or a mint, so you can check a reading against something in your wallet or printer. Coins can be a few hundredths of a millimetre smaller when worn.

    Reference objects and their sizes
    ObjectmminSource
    Credit card (ID-1)85.60 × 53.983.370 × 2.125ISO/IEC 7810
    US quarter24.26 diameter0.955 diameterUnited States Mint
    US nickel21.21 diameter0.835 diameterUnited States Mint
    US penny19.05 diameter0.750 diameterUnited States Mint
    US dime17.91 diameter0.705 diameterUnited States Mint
    A4 paper210 × 2978.27 × 11.69ISO 216
    US Letter paper215.9 × 279.48.5 × 11ANSI/ASME Y14.1, size A
    • A4, 210 × 297 mm
    • US Letter, 8.5 × 11 in
    • Credit card, 85.60 × 53.98 mm
    • US quarter, 24.26 mm
    Drawn to one scale (not calibrated)
    Full chart: inches to millimetres and centimetres, 1/16 in to 12 in
    Inches to millimetres and centimetres, 1/16 in to 12 in
    InchesDecimal inMillimetresCentimetres
    1/16 in0.06251.58750.15875
    1/8 in0.1253.1750.3175
    3/16 in0.18754.76250.47625
    1/4 in0.256.350.635
    5/16 in0.31257.93750.79375
    3/8 in0.3759.5250.9525
    1/2 in0.512.71.27
    5/8 in0.62515.8751.5875
    3/4 in0.7519.051.905
    7/8 in0.87522.2252.2225
    1 in125.42.54
    2 in250.85.08
    3 in376.27.62
    4 in4101.610.16
    5 in512712.7
    6 in6152.415.24
    7 in7177.817.78
    8 in8203.220.32
    9 in9228.622.86
    10 in1025425.4
    11 in11279.427.94
    12 in12304.830.48

    What you can measure with it

    Besides the main ruler, the site has 28 tools for lengths, sizes, screens and printing. They share one calibration, so after you calibrate on this screen, every tool below uses the same scale.

    Length

    Size and fit

    Screen and print

    Conversion

    Common sizes at actual size

    Each size page draws one length at true size and gives it in millimetres, centimetres and inches. It also compares the length with coins, cards and paper, and lists the sizes just above and below it.

    Accuracy and limits

    How close a reading comes to the real size depends on your calibration and your screen, so the site does not promise a fixed figure. The verify step shows the error you actually have.

    What affects accuracy

    • Calibration quality. The outline must match the card edge exactly. A 0.5 mm (0.02 in) mismatch on the 85.60 mm card edge is a 0.58% scale error, and it carries into every reading.
    • Screen scaling and zoom. Browser zoom and the system's display scaling change the size of a CSS pixel. The page rescales and warns you when it detects a change.
    • Viewing angle. The screen glass sits between the pixels and the object, so a reading taken from the side shifts.

    Check every new calibration with the verify step: match a second object, such as a US quarter, and calibrate again if the difference is above 1.5%.

    Checklist for accurate readings

    • Keep the browser zoom at 100%, the level you calibrated at.
    • Look straight at the screen, not from an angle.
    • Keep the object flat against the glass.
    • Recalibrate, if you move to a new monitor.

    When to use a physical ruler

    Calibrated Ruler is not a certified measuring instrument. Use a physical ruler, a tape measure or calipers when a part must fit, when you need a tolerance under 1 mm (0.04 in), or for engineering, medical, legal or trade use. Read what Calibrated Ruler does and how it works.

    Measuring on a phone vs a laptop

    A phone shows about 12 to 15 cm (4.7 to 5.9 in) of ruler, and a laptop shows about 28 to 35 cm (11.0 to 13.8 in). The span is the length of the browser window along the ruler, so the browser's toolbars reduce it.

    Phone12–15 cm4.7–5.9 in, along the long edge

    Laptop28–35 cm11.0–13.8 in, along the width

    Calibrate to see the ruler span of this screen.
    • Phone: the virtual ruler runs along the left edge, and the reading sits in a bar at the bottom. Hold the phone flat on a table.
    • Laptop: the ruler runs along the top edge. Full screen mode adds the space of the browser toolbars.

    Calibrate each device on its own screen. The ruler stores 1 calibration per screen size, device pixel ratio and zoom level.

    Common mistakes

    There are 6 common mistakes, including changing the zoom and trusting device presets. Each card shows an example reading with the mistake and after the fix.

    • Changing the zoom

      A card calibrated at 100% zoom and measured at 125% zoom reads 68.48 mm instead of 85.60 mm (3.370 in). Reset the zoom to 100%, or recalibrate. The ruler rescales by itself, if the browser reports the zoom change.

      With the mistake
      68.48 mm
      After the fix
      85.60 mm
    • Viewing at an angle

      The screen glass puts a gap between the object and the pixels. If you look straight at the 0 end but at 45° to the far end, each 1 mm (0.04 in) of gap shifts the far edge by 1 mm. A 50.0 mm (1.97 in) object then reads 51.0 mm. Look straight down at each edge.

      With the mistake
      51.0 mm
      After the fix
      50.0 mm
    • Skipping verification

      A calibration with a hidden +3.0% error reads a 100.0 mm (3.94 in) object as 103.0 mm. Check with a second object. Average both calibrations or recalibrate, if the error is above 1.5%.

      With the mistake
      103.0 mm
      After the fix
      100.0 mm
    • Measuring curved objects

      The ruler measures straight lines. A 10.0 cm (3.94 in) arc in the shape of a half circle reads 6.37 cm (2.51 in) from end to end. Measure curves with a flexible tape measure.

      With the mistake
      6.37 cm
      After the fix
      10.0 cm
    • Measuring beyond the screen length

      A phone with 13.0 cm (5.12 in) of ruler reads a 20.0 cm (7.87 in) object as 13.0 cm at the screen edge. Use Chain mode: measure 13.0 cm, move the object, then add the remaining 7.0 cm.

      With the mistake
      13.0 cm
      After the fix
      20.0 cm
    • Trusting presets

      A device preset assumes a published diagonal and resolution. A preset for a 14 in model on a 15.6 in laptop with the same 1920 × 1080 panel reads a credit card as 76.8 mm instead of 85.6 mm (3.37 in). Calibrate with a card after any preset.

      With the mistake
      76.8 mm
      After the fix
      85.6 mm

    Printable ruler

    The printable ruler is a 1:1 ruler sheet for A4 or US Letter paper that you print and cut out. It has a centimetre scale with millimetre marks, an inch scale in 1/16 in steps, a 100 mm (10 cm, 3.94 in) check bar and a credit card outline.

    1. Open the printable ruler for A4 and US Letter and choose your paper size.
    2. In the print dialog, set Scale to 100% (some browsers call it Actual size) and turn off Fit to page.
    3. After printing, lay a physical ruler along the check bar. It must measure exactly 100 mm (3.94 in).
    4. If it does not, the printer scaled the page. Print again with scaling off.

    Frequently asked questions

    What is Calibrated Ruler?

    Calibrated Ruler is a free actual size ruler: an online ruler that shows inches and centimetres at their real physical size on your screen, after calibration. Once calibrated, 1 cm (0.394 in) on screen equals 1 cm on a physical ruler. The actual-size page also draws a credit card, a US quarter and an A4 sheet at true size.

    Is the online ruler free?

    Yes, every tool is free, with no account, sign-up or payment. The ruler, the calibration, the size pages and the printable ruler for A4 and US Letter (8.5 × 11 in) paper all work without registering. Calibrate once and every tool uses the same scale on that screen.

    Is this online ruler accurate?

    Yes, once you calibrate it with a real card, it matches physical size as closely as your calibration does. Before calibration, readings are estimates. After calibrating, check a second object, such as a US quarter (24.26 mm, 0.955 in), in the verify step; above a 1.5% mismatch it asks you to recalibrate.

    Can I use a credit card to calibrate?

    Yes, any bank card and most ID cards and driving licences work, because they use the ID-1 format. ID-1 cards measure 85.60 × 53.98 mm (3.370 × 2.125 in). Press Calibrate, hold the card to the screen and drag the handle until the outline matches the long edge.

    Why is my ruler not the right size?

    It is not calibrated for your screen yet, or the zoom or display scaling changed after you calibrated. Without calibration the ruler assumes 96 CSS pixels per inch (25.4 mm), which few screens match. Calibrate with a card at 100% browser zoom, and again after you change the zoom or the monitor.

    How do I measure in inches or cm?

    Press in, cm or mm above the ruler, then read the scale at the end of the object. Inches show fractions down to 1/64 in; centimetres and millimetres show 1 mm marks. Each reading lists the other units too, for example 2 in = 50.8 mm = 5.08 cm.

    Does it work on a phone?

    Yes, it runs in the browser on phones and tablets, with no app to install. On a phone the ruler runs down the left edge, showing about 12 to 15 cm (4.7 to 5.9 in). Calibrate on the phone itself, because a calibration belongs to one screen.

    How do I measure something longer than my screen?

    Use Chain mode to measure the object in segments that the ruler adds up. Measure the first part, mark where it ends and press Add segment, then slide the object back and measure the rest: 13.0 cm + 7.0 cm = 20.0 cm (7.87 in).

    Can I measure an object in a photo or with the camera?

    Yes, the photo ruler measures an object in a photo you choose, and the camera ruler measures one in a frozen camera frame. Both set the scale from a reference of known size beside the object, such as a credit card 85.60 mm (3.370 in) long, so no screen calibration is needed. The photo stays on your device. Shoot straight down, because tilt and distance differences add error.

    Does it work offline?

    Yes, after your first visit with a connection. On that visit the browser saves 11 pages, including this ruler, the inch, cm and mm rulers and the ring sizer. Any other page works offline after you open it once, and your calibration is stored on the device.

    Do you store my data?

    No, your measurements and calibration stay in your browser and are not sent to the site. Local storage holds the calibration, your settings and the last 20 saved readings; clear your browser site data to remove them. The site only receives contact form messages and cookie-free visit counts from Vercel Web Analytics.

    Read the details of the measurement model in How accuracy works.

    Calibrate

    Not calibrated
    1. Most reliable method. Hold any bank card or driving licence flat on the screen (85.6 × 53.98 mm), top-left corner in the outline's corner.
    2. Drag the orange handle until the right edges line up. Arrow keys: 1 px, Shift 10 px.