Online ruler in cm

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

Centimetres 0.00 cm 0.0 mm
Inches 0.000 in 0 in

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.

    How the centimetre ruler works

    The centimetre ruler draws centimetre and millimetre marks at real size from your screen calibration.

    1. Calibrate the screen with a credit card (ID-1 format, 85.6 mm wide).
    2. Choose cm as the unit.
    3. Place the object with one end at the 0 mark.
    4. Drag the reading line to the far end.
    5. Read centimetres to 2 decimal places, with millimetres and inches beside them.
    012345 cm reading
    Centimetre numbers with 10 millimetre marks between them; the reading line marks the far end.

    Centimetre ruler formula

    Centimetres equal millimetres divided by 10, and inches equal millimetres divided by 25.4. Both factors are exact. The nearest 1/16 inch is the decimal inch rounded to the nearest multiple of 0.0625 in (1.5875 mm).

    cm = mm ÷ 10 in = mm ÷ 25.4
    mm
    the length in millimetres

    Worked example, live

    150.0 mm ÷ 10 = 15.00 cm. 150.0 mm ÷ 25.4 = 5.906 in, nearest 1/16 in: 5 7/8 in.

    Centimetre ruler conversion chart

    Each centimetre is 0.3937 in, so 30 cm is 11.81 in, about 11 13/16 in. The table lists 1 to 30 cm in millimetres, decimal inches and the nearest 1/16 inch.

    1 to 30 centimetres in millimetres, decimal inches and the nearest 1/16 inch
    cmmmDecimal inNearest 1/16 in
    1 cm100.3943/8 in
    2 cm200.78713/16 in
    3 cm301.1811 3/16 in
    4 cm401.5751 9/16 in
    5 cm501.9691 15/16 in
    6 cm602.3622 3/8 in
    7 cm702.7562 3/4 in
    8 cm803.1503 1/8 in
    9 cm903.5433 9/16 in
    10 cm1003.9373 15/16 in
    11 cm1104.3314 5/16 in
    12 cm1204.7244 3/4 in
    13 cm1305.1185 1/8 in
    14 cm1405.5125 1/2 in
    15 cm1505.9065 7/8 in
    16 cm1606.2996 5/16 in
    17 cm1706.6936 11/16 in
    18 cm1807.0877 1/16 in
    19 cm1907.4807 1/2 in
    20 cm2007.8747 7/8 in
    21 cm2108.2688 1/4 in
    22 cm2208.6618 11/16 in
    23 cm2309.0559 1/16 in
    24 cm2409.4499 7/16 in
    25 cm2509.8439 13/16 in
    26 cm26010.23610 1/4 in
    27 cm27010.63010 5/8 in
    28 cm28011.02411 in
    29 cm29011.41711 7/16 in
    30 cm30011.81111 13/16 in

    Centimetre ruler FAQ

    How do you measure centimetres on a laptop screen?

    Calibrate the laptop screen once, then hold the object against the on-screen centimetre scale. A laptop screen 30 cm (11.8 in) wide fits a ruler of nearly 30 cm in one reading. Put the end of the object at 0, drag the reading line to the other end and read centimetres, millimetres and inches together.

    Is the on-screen centimetre ruler accurate to 1 mm?

    No, not over long lengths: at the 1.5% limit of the verify step, the error is 1.5 mm (0.06 in) over 10 cm (3.9 in). On objects of 2 to 3 cm (0.8 to 1.2 in) the same percentage is under 0.5 mm. The verify step shows the actual error on your screen. Use a physical ruler or calipers for tolerances under 1 mm, or for engineering, medical or legal measurements.

    Can I use the centimetre ruler on a phone?

    Yes, the centimetre ruler works in phone browsers such as Safari and Chrome. Calibrate on the phone itself, because the setting is stored for each screen. Turn the phone sideways to get the longest scale, or use chain mode to add 2 segments together for an object longer than the screen, such as a 20 cm (7.9 in) pencil.

    How do you convert centimetres to inches?

    Divide centimetres by 2.54 to get inches: 10 cm is 3.937 in. The factor is exact, because 1 inch is defined as 2.54 cm (25.4 mm). The centimetre ruler shows the inch value and the nearest 1/16 inch beside every reading, so 10 cm also reads as 3 15/16 in.

    Why are there 10 small marks between centimetre numbers?

    Each small mark is 1 millimetre, and 10 mm make 1 cm (0.394 in). The middle mark at 5 mm (0.197 in) is longer than the others, so you can count from it in both directions. A reading of 4 numbered centimetres plus 7 small marks is 4.7 cm, or 47 mm (1.85 in).

    Can the centimetre ruler measure the distance between two guide lines?

    Yes: drag 2 guides out of the ruler and the gap between them shows in centimetres. Each guide shows its own position, for example 3.50 cm, and the label between 2 guides shows the distance, for example 4.20 cm (1.65 in). Drag a guide to move it, or drag it back onto the ruler to remove it. With rulers on all 4 edges, you get guides in both directions.

    Single lengths on the centimetre ruler

    Each page below draws one length at true size and compares it with coins, cards and paper. Calibrate once on this page and the same scale applies there.

    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.