Online Ruler at Actual SizeCalibrate with a card or coin, then measure angles in photos

Match the ruler to real inches or centimeters with a credit card, dollar bill, or coin. Load a photo to measure angles, roof pitch, and slope. Works on phones and computers.

Drag and drop or paste (Ctrl+V / Cmd+V) an image to load it

01234566.00 in

Ruler length and direction

You can also drag the blue handle at the end of the ruler to change its length.

Ruler length

6.00 in

6 in · 576 px

Measured angle

Hidden

Measuring line

Hidden

ACCURACY NOTE

The ruler is using the default 96 DPI conversion, so lengths may not match a real ruler. Use “Calibrate to actual size” with a card, dollar bill, coin, or your screen size to get closer.

Online ruler actual size: inches, centimeters, and a photo protractor

This ruler shows inches, centimeters, millimeters, or pixels at real size once you calibrate it. Hold a credit card, dollar bill, or coin against the green box, adjust the slider until it fits, and the scale is set. Without calibration the ruler uses the web standard of 96 pixels per inch, which usually does not match your screen.

The protractor measures an angle on your screen or in a photo. Drag the two arm tips onto the edges you want to compare and read the angle, its supplementary angle, and its reflex angle. Load a photo with “Upload image” or “Take photo”, or drag and drop or paste one with Ctrl+V (Cmd+V on a Mac).

The measuring line reads length, tilt, slope, and roof pitch. Lay it along a roof edge, ramp, or stair line in a photo to get the tilt from horizontal, the slope in percent, and the pitch as rise per 12 units of run, such as 6.0/12. Set one known length in the photo as a reference to read other lengths in inches, feet, centimeters, or meters.

Measure with your phone or laptop when no ruler or protractor is nearby

You need a small size and have no ruler

Calibrate once with a credit card, then hold a small item such as a screw, button, or bead next to the ruler and read its size in inches or millimeters. The calibration stays in your browser for next time.

You need the angle of a cut, corner, or shape in a photo

Upload a photo of a miter joint, a shelf bracket, or a worksheet diagram. Put the protractor arms on the two edges and read the angle. Turn off “Snap to 5° steps” for 0.1° readings.

You want the pitch of a roof or the slope of a ramp

Lay the measuring line along the roof edge in a photo. The result card shows the tilt from horizontal, the slope in percent, and the pitch, such as 6.0/12. Take the photo straight on and level.

You want the size of something in a photo

Place the measuring line across an object of known size, such as the 11 in edge of a Letter sheet, enter 11, and click “Set line as reference”. Then move the line onto the object you want to measure.

How to use the screen ruler and photo protractor, step by step

  1. Turn on “Ruler”, “Protractor”, or “Measuring line” above the measuring area, and pick a unit: in, cm, mm, or px.
  2. For real-size lengths, click “Calibrate to actual size”, choose a reference such as “Card, long side” or “Quarter”, hold the real item against the green box, and move the slider until they match. Then click “Apply this width”.
  3. To measure a photo, click “Upload image” or “Take photo”, or drag and drop or paste an image into the measuring area.
  4. Drag the ruler to move it and the blue handle at its end to resize it. Drag the round arm tips of the protractor, or the two end points of the measuring line, onto the edges you want to measure. Read the values in the cards below the controls.
  5. Click “Copy measurements” to copy the readings as text.

Note: Everything runs in your browser. Images and photos are not uploaded.

Accuracy limits: browser zoom, screen scaling, and camera angle

  • Treat readings as estimates. For cutting, sewing, or fitting parts, check with a physical ruler or tape measure.
  • Browser zoom (Ctrl or Cmd and + / −), display scaling, and a different monitor all change the size on screen. Calibrate again after changing any of them.
  • A photo taken at an angle distorts both angles and lengths. Shoot straight on, with the camera parallel to the surface.
  • The image is scaled to fit the measuring area, and a reference length applies to the current display size. Set the reference again after you resize the window or switch to full screen.
  • Lengths in a photo are reliable only for objects in the same plane and at the same distance from the camera as the reference.
  • Your calibration is stored in this browser’s local storage. Clearing site data removes it.

Which tool and unit to use for each measuring job

Pick the tools that match what you are measuring, and calibrate first if you need real-size lengths.

JobTool and unitTip
Check a small item at real sizeRuler in mm or in, after calibrationCalibrate with a credit card or coin first.
Read inches in fractionsRuler in inMarks are every 1/16 in, and the “Ruler length” card shows the nearest 1/16 in.
Measure an angle in a photoProtractor with “Upload image”Line up the dotted extension lines with the edges. Turn off snap for 0.1° readings.
Get roof pitch or ramp slopeMeasuring line with “Upload image”The result card shows tilt, slope in percent, and pitch such as 6.0/12.
Find a length in a photoMeasuring line with a reference lengthSet a known length first, and keep both objects in the same plane.
Check alignment on a photo or layoutGridA grid square is 0.5 in with in, 1 cm with cm or mm, and 50 px with px.

Calibration, inch fractions, and photo angles explained

How the ruler is calibrated, how to read it, and how to get a clean angle or pitch from a photo.

Why an inch on your screen is not a real inch

Browsers define 1 inch as 96 CSS pixels, but real screens pack different numbers of pixels into an inch, so a phone and a monitor can show the same CSS inch at different physical sizes.
This ruler starts at that 96-pixel default. Its inch and cm marks are a standard conversion, not a measurement of your screen, until you calibrate.

How to calibrate with a credit card, dollar bill, or coin

Click “Calibrate to actual size” and pick a reference: credit card or driver’s license, 3.370 × 2.125 in; dollar bill, 6.14 × 2.61 in; quarter, 0.955 in; nickel, 0.835 in; penny, 0.750 in; dime, 0.705 in.
Hold it against the green box, adjust the slider until the edges match, and click “Apply this width”. A larger reference such as the card or bill gives a more precise scale than a coin, because a one-pixel miss is a smaller share of the length.
With no reference at hand, enter the screen’s diagonal size in inches and click “Calculate and apply”.

Reading an inch ruler in sixteenths

With “in” selected, the ruler has a mark every 1/16 in. Whole inches are the longest and numbered, then come halves, quarters, eighths, and sixteenths, each a little shorter.
The “Ruler length” card shows decimal inches and, below it, the length rounded to the nearest 1/16 in, such as 3 1/4 in.

Measuring an angle in a photo with a protractor

Load the photo, turn on “Protractor”, and drag the protractor so its center sits on the corner. Drag the tip of Arm A (blue) and Arm B (purple) onto the two edges. The dotted extension lines make short edges easier to line up.
The “Measured angle” card shows the angle between the arms with its supplementary and reflex angles. Shoot the photo straight on so perspective does not skew the angle.

Roof pitch, slope percent, and degrees

US roof pitch is the rise in inches per 12 in of run. A 6/12 roof rises 6 in over 12 in, which is a 50% slope and about 26.6°.
4/12 ≈ 18.4° (33%) · 6/12 ≈ 26.6° (50%) · 8/12 ≈ 33.7° (67%) · 12/12 = 45° (100%). A 1:12 ramp is an 8.3% slope, about 4.8°, and reads as pitch 1.0/12.
The measuring line works out all three from the tilt of the line. If the photo itself is tilted, put Arm A of the protractor on a horizontal edge and Arm B on the roof edge instead.

Getting real lengths from a photo with a reference object

A photo has no built-in scale. Put the measuring line on an object whose length you know, enter that length, and click “Set line as reference”.
Every length you read afterward uses that scale. It holds only for objects at the same distance from the camera and in the same plane, because perspective makes nearer objects look larger.

Ruler too small or too big? Angle looks wrong? Common problems

The ruler is smaller or larger than a real ruler

The default scale assumes 96 pixels per inch, so inches and centimeters rarely match your actual screen.

💡 See the solution▼
Click “Calibrate to actual size”, match a credit card, dollar bill, or coin to the green box, and click “Apply this width”.

The calibration box is wider than the screen on a phone

The long side of a card can be wider than the measuring area on a phone.

💡 See the solution▼
Choose “Card, short side” and hold the card upright, or pick “Quarter”, “Penny”, “Nickel”, or “Dime”.

Measurements drifted after zooming the browser

Browser zoom changes the size of everything on the page, including the ruler.

💡 See the solution▼
Return to 100% (Ctrl+0, or Cmd+0 on a Mac), or calibrate again at the zoom level you plan to use.

The angle in the photo does not match the real angle

A photo taken from above or from the side distorts angles through perspective, so a right angle can look sharper or wider.

💡 See the solution▼
Retake the photo straight on, with the camera parallel to the surface. On most phones, “Take photo” opens the camera.

Only one protractor arm was moved

If Arm B stays at its starting position, the angle shown is between your edge and that default direction.

💡 See the solution▼
Drag the tips of both arms onto the two edges before reading the angle. Keep “Show arm extension lines” checked to make alignment easier.

A length in a photo is wrong after resizing the window

The reference stores a length in on-screen pixels. When the image display size changes, the stored scale no longer matches.

💡 See the solution▼
Finish resizing or switch to full screen first, click “Clear reference”, and set the reference again.

FAQ: calibration, inch marks, photo angles, and privacy

Q.How do I get an on-screen ruler to show real size?

Q.

A. Click “Calibrate to actual size”, pick a reference such as “Card, long side” or “Quarter”, and hold the real item against the green box at the top left of the measuring area. Move the slider (or the − and + buttons) until the box matches the item, then click “Apply this width”. The setting is saved in your browser, so the ruler keeps that scale next time.

Q.How accurate is an online ruler?

Q.

A. Before calibration it uses 96 pixels per inch, so lengths usually differ from a real ruler. After you calibrate with a credit card or dollar bill, readings are close to real size, but any misalignment of the reference carries into every reading, and changing browser zoom or monitors shifts the scale. Use it for estimates, and use a physical ruler or tape measure for cutting or fitting parts.

Q.What size is a credit card in inches, and can I use a driver’s license?

Q.

A. A credit card is 3.370 × 2.125 in (85.6 × 53.98 mm). Driver’s licenses and most other ID cards use the same ID-1 size, so any of them works. Pick “Card, long side” to match the long edge, or “Card, short side” on a phone and hold the card upright.

Q.How do I read inches and fractions on the ruler?

Q.

A. Select “in” above the measuring area. The ruler has a mark every 1/16 in: whole inches are the longest marks and are numbered, followed by halves, quarters, eighths, and sixteenths. The “Ruler length” card shows the length in decimal inches, and below it as a fraction rounded to the nearest 1/16 in, for example 3 1/4 in.

Q.How do I measure an angle in a photo online?

Q.

A. Click “Upload image” (or drag, drop, or paste the photo), then turn on “Protractor”. Drag the tip of each arm onto one of the two edges and read the angle in the “Measured angle” card, which also lists the supplementary and reflex angles. “Snap to 5° steps” is on by default. Turn it off for readings to 0.1°, or type values into the Arm A and Arm B boxes.

Q.How do I find roof pitch from a photo?

Q.

A. Upload a photo taken straight at the gable end, turn on “Measuring line”, and drag its two end points along the roof edge. The result card shows the tilt from horizontal, the slope in percent, and the pitch as rise per 12 in of run, such as 6.0/12. If the photo is not level, use “Protractor” instead: put Arm A on a horizontal edge and Arm B on the roof edge.

Q.How do I measure the length of an object in a photo?

Q.

A. Turn on “Measuring line” and place it along something in the photo whose real length you know, such as the 11 in edge of a Letter sheet. Enter 11, choose in, and click “Set line as reference”. Then move the line onto the object you want to measure, and its length appears in the same unit. The result is reliable only when both objects are in the same plane and at the same distance from the camera.

Q.Is my photo uploaded anywhere?

Q.

A. No. The image is opened in your browser and stays on your device. It is discarded when you clear it or close the page. The only thing saved is your calibration value, in your browser’s local storage.

Q.Does it work on a phone with touch?

Q.

A. Yes. Drag the ruler, the protractor, the arm tips, and the measuring line end points with your finger. “Take photo” opens the camera on most phones, and “Card, short side” or a coin fits a phone-size measuring area.

User Feedback & Request

Your feedback
makes this tool better.

Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.

Send feedback