How to Measure Distance Between Two Points on a PDF (and Read X/Y)
Need the exact position of a logo, a hole, a fold line or a text block on a PDF? Instead of hovering and guessing, you can drop a point and keep it on screen while you zoom, scroll and compare.
Even before you click, dotted guide lines follow your cursor to the rulers and show its distance from them, so you can measure any spot without placing a point.

Snap to edges
With Snap on (the default; it is the magnet button in the toolbar and stays highlighted while on), the crosshair locks onto nearby edges of text, lines, shapes, images and the page border, and a small ring shows when it has snapped. Points you place and guides you drag snap the same way. Hold Alt to place something freely, and zoom in for finer snapping.
How to place a point
- Open your PDF in PdfRuler and choose a unit (mm, cm, inches, points or pixels).
- Click anywhere on the page. A marker appears at that spot.
- Faint dashed guide lines run from the point to the rulers, and its X and Y values are printed next to the lines and highlighted on the rulers.
- Move the cursor and a dotted preview line follows it from your first point, showing the live distance before you commit.
- Hold Shift while moving to lock the line perfectly horizontal or vertical to your first point.
- Click a second spot to add another point. A line joins the two and shows the distance between them.
- Keep clicking to add more pairs: the third and fourth points form a second measurement, the fifth and sixth a third, and so on.
- Pick a pastel color from the color circle in the toolbar to color-code your points; each new point uses the color selected when you place it.
- To move, drag a point (its line follows) or drag a line to move both of its points. The distance updates live.
- To delete, hover a point or a line (it highlights) and click it, then confirm in the info card, or right-click it to delete it straight away. Deleting a line removes only the line; deleting a point removes that point and its line, while the other point of the pair stays. Press Backspace to remove the last point, Ctrl+Z to undo any change, or turn on the eraser icon in the toolbar (or press E) and click any point, line, guide, text or arrow to delete it.
Measure the distance between two points
Place two points and PdfRuler draws a line between them labelled with the straight-line distance, for example 52.4 mm. It works in mm, cm, inches, points or pixels and stays exact at any zoom.
Reading distances
By default X is the distance from the left edge of the page and Y is the distance from the top edge. Use the Origin menu to count from any corner (top left, top right, bottom left or bottom right). The rulers, guide lines, X/Y labels and status bar all follow it, so you can read the distance from whichever edge you care about, which is handy for checking margins and bleed.
Stays accurate when you zoom
The point is stored in PDF points, not screen pixels, so it stays glued to the same spot on the page and reports the same values at any zoom. Combine it with Ctrl + scroll zoom to place a point precisely on a small detail.
Frequently asked questions
How do I get the coordinates of a point on a PDF?
Open the PDF in PdfRuler and click the spot. Its exact X and Y position appears in your chosen unit, with guide lines to the rulers.
Can I snap measurements to the edges of a PDF?
Yes. Snap is on by default in PdfRuler: the crosshair, points and guides lock onto nearby edges of text, lines, shapes, images and the page border. Hold Alt to place freely.
How do I measure a perfectly horizontal or vertical distance?
Place the first point, then hold Shift while moving to the second. The line locks to the horizontal or vertical axis of the first point.
How do I measure the distance between two points on a PDF?
Click the first point and then the second in PdfRuler. A line joins them and is labelled with the distance in your chosen unit. Add more pairs by clicking a third and fourth point, and so on.
Can I color-code points on a PDF?
Yes. Pick a pastel color from the color circle in the toolbar. Each new point takes the color selected when it was placed.
How do I remove the points?
Hover a point or line and click it, then confirm the deletion (deleting a line removes only the line; deleting a point removes that point and its line, and the other point stays). Backspace undoes the last point, and the eraser icon in the toolbar deletes whatever you click while it is on. Changing page or closing the PDF also clears them.
Free, private, in your browser. No upload. Or check the paper size reference.