Online Inch Ruler
Updated: November 2026
This online inch ruler shows real inches on your screen, so you can measure small objects without hunting for a tape. Calibrate it once with a credit card, then drag the two red lines around anything you need to check. The readout gives decimal inches, the nearest fraction, millimetres and centimetres at the same time.
On-screen measurements depend on calibration.
Also as fractions: 3 (nearest 1/32) · 3 (nearest 1/64). Line A is at 0.00 in, line B is at 3.00 in.
Scale: 3.78 px per mm · default estimate, not calibrated yet. Calibrate below for actual size.
Calibrate the ruler to your screen
Pick whichever method is easiest. Changes save automatically on this device and carry over to every ruler on this site.
Lay the object on the screen with its left edge on the dark line, then drag the red line to its right edge.
Or enter your screen details
Not sure of your PPI? Work it out with the PPI calculator.
Quick answer: 1 inch = 25.4 mm exactly · 1 inch is also 2.54 cm, and 1 cm is 10 mm.
What is an online inch ruler?
An online inch ruler is a measuring scale drawn on your screen at real size. Once it is calibrated to your screen, the marks line up with real inches, so a line that reads 3 inches is 3 inches on a real object laid against the screen. It is the same idea as a plastic ruler, except the scale is drawn by your browser and the lines move with your mouse or finger.
How to use this ruler
- 1
Calibrate once
Open the calibration card below the ruler, pick the credit card option, and drag the red line to the edge of your real card. It saves automatically.
- 2
Set the two lines
Drag line A to one end of the object and line B to the other. On a keyboard, tab to a line and use the arrow keys.
- 3
Read the result
Read the length in decimal inches and as the nearest fraction. The same measurement also appears in millimetres and centimetres.
Inch fraction chart: fractions to decimal inches and mm
Every fraction below is an exact mark on the ruler above. The mm column uses the exact rate of 25.4 mm to the inch, so the values are exact to two decimal places.
| Fraction (in) | Decimal (in) | Millimetres (mm) |
|---|---|---|
| 1/16 | 0.0625 | 1.59 |
| 1/8 | 0.125 | 3.18 |
| 1/4 | 0.25 | 6.35 |
| 3/8 | 0.375 | 9.53 |
| 1/2 | 0.5 | 12.7 |
| 5/8 | 0.625 | 15.88 |
| 3/4 | 0.75 | 19.05 |
| 7/8 | 0.875 | 22.23 |
| 1 | 1.0 | 25.4 |
Formulas: converting between inches and mm
Two formulas cover every conversion on this page.
inches = mm ÷ 25.4
mm = inches × 25.4
Example 1. A bolt is 50 mm long. Inches = 50 ÷ 25.4 = 1.97 inches. On the ruler, that sits just short of the 2 inch line.
Example 2. A board is 3.5 inches wide. Mm = 3.5 × 25.4 = 88.9 mm. That is the size to give a supplier who works in metric.
Example 3. A drill bit is 12.7 mm across. Inches = 12.7 ÷ 25.4 = 0.5 inch exactly, the half inch mark, because 12.7 is exactly half of 25.4.
Keep 25.4 exact in every step and round only the final answer: two decimal places for inches, one for millimetres.
How to read an inch ruler: the online inch ruler line guide
This is the section most people skip, and it is the one that makes the tool useful. Fractions stop being a puzzle once you know that line length is the code.
The lines on an inch ruler are not all the same, and their length is the code. The tallest line inside an inch is the half: it splits the inch into two equal parts. Quarter lines are the next tallest, then eighths, then the short sixteenths. To read a mark, find the tallest line at or before your point, then count the smaller steps after it.
Which line is 3/8 inch? Count three of the medium eighth lines from zero, or find the quarter line at 2/8 and add one eighth. In the diagram above it is highlighted in red. Carpenters read these marks all day when they set a saw blade or mark a board. Sewers use the same marks for seam allowances, most often 1/4 and 5/8 inch. At a workbench, 3/8 is also a common drill bit and bolt size, so it is worth learning to spot fast.
Real-world examples: inches on objects you own
Real objects make the fractions stick. A standard credit card is 3.37 inches long (85.6 mm), which is why it works for calibration. A US banknote is 6.14 inches long. Most phone screens sit between 6.1 and 6.7 inches, measured corner to corner. A number 8 wood screw is about 5/32 inch across the shank. Quilting cotton is usually sewn with a 1/4 inch seam allowance, and dress patterns most often use 5/8 inch. A standard photo print is 6 by 4 inches. Next time you measure one of these on screen, compare the fraction in the readout with the object in your hand. The match is what tells you the calibration is right.
- Screw check: a screw that reads 1/4 inch across (6.35 mm) is a quarter inch screw, whatever the packet says.
- Phone check: lay the phone along the ruler in vertical mode and read the width; most are close to 2.8 inches.
- Fabric check: measure a cut strip before sewing; a strip meant to finish at 2 inches starts at 2.5 inches with 1/4 inch seams both sides.
Accuracy tips and common mistakes
Accuracy tips
- Calibrate on the same screen and browser zoom you will measure with. Zoom changes every pixel count.
- Use the long side of the credit card, 85.6 mm. A longer reference gives a smaller error.
- Keep browser zoom at 100% while you calibrate and measure.
- For objects longer than the screen, measure in two steps and add the parts.
- Read fractions to the nearest 1/16 for home jobs; switch to 1/32 or 1/64 only when the part demands it.
Common mistakes
- Skipping calibration and trusting the default. The default 3.78 px per mm is a standard average, not your screen.
- Counting spaces instead of lines. The value is the line the end of the object touches.
- Reading from the 1 inch line instead of zero. That adds a whole inch to every result.
- Mixing up 5/8 and 3/4. 5/8 is 0.625 inch; 3/4 is 0.75 inch, a full 1/8 apart.
- Using 25 mm instead of 25.4 mm in conversions. The 0.4 mm gap grows with every inch.
Wondering which physical ruler to buy? Compare the types of rulers and what each one is for.
Inch marks at a glance
The longest mark inside an inch is 1/2, then 1/4, then 1/8, and the shortest is 1/16. Our guide to inch fractions has a full cheat sheet. For a fixed length use the 12 inch ruler or the 6 inch ruler on a phone, and turn decimals into fractions with inches to fraction.
Frequently asked questions
How do I read an inch ruler?
Start at the nearest whole inch, then count the smaller lines past it. The longest small line is 1/2 inch, the next longest are the quarter lines at 1/4 and 3/4, then the eighth lines, and the shortest are the sixteenth lines. Add the fraction to the whole inch: three small lines past 2 inches is 2 3/16 inches.
How many 1/16 are in an inch?
Sixteen. Each inch is split into 16 equal parts, and each part is 1/16 inch, or 0.0625 inch, or about 1.59 mm. The marks get shorter as the fractions get smaller: 1/2 is the longest, then 1/4, then 1/8, then 1/16.
What is 5/8 inch in mm?
5/8 inch is 15.88 mm. Work it out in two steps: 5 divided by 8 gives 0.625 inch, and 0.625 multiplied by 25.4 gives 15.875 mm, which rounds to 15.88 mm. On the ruler above, 5/8 inch is the mark just past the half inch line.
Is 1/4 inch bigger than 3/16 inch?
Yes. 1/4 inch equals 4/16 inch, and 4/16 is one step more than 3/16, so 1/4 inch is bigger by exactly 1/16 inch. In millimetres the gap is about 1.59 mm: 1/4 inch is 6.35 mm, while 3/16 inch is 4.76 mm. Comparing both in sixteenths makes it obvious.
How do I measure inches on screen?
Calibrate first: hold a credit card against the calibration bar and adjust until both match, then save. Place the object beside the ruler, drag line A to one end and line B to the other, and read the result in decimal inches and fractions. Recalibrate whenever you change screens or zoom.
What is the smallest mark on an inch ruler?
On this ruler the smallest mark is 1/16 inch, about 1.59 mm. Many workshop rulers stop at 1/16, while engineering scales go finer, to 1/32 or 1/64 inch. The readout here reports the nearest 1/16, 1/32 and 1/64, so you can pick the precision your job actually needs.
More Free Measuring Tools
New to fractions? The centimetre ruler with mm and inch readouts is an easier first step, and the printable millimetre ruler for A4 and Letter paper works when no screen is handy.
Measurements on a screen are approximate. Do not use this tool for medical, safety or engineering decisions.
