Measure the visible pages of a mixed-size PDF
Admin ·
Find out how much of each page shows in a PDF reader. Compare the physical medium and its crop with the visible area before using the measurements in a print or layout workflow.
Compare the two postcard pages in points
Select Load example, choose Check page sizes and keep Display units on Points. Page 1 has a 240 × 168 pt MediaBox and a 216 × 144 pt CropBox. The visible area is 216 × 144 pt because the crop sits within the media.
Page 2 uses its MediaBox as its CropBox. The normalized rectangle in PDF user units extends from 35, 45 to 143, 117. A UserUnit of 2 doubles its width and height to 216 × 144 pt, then a 90° rotation makes the visible dimensions 144 × 216 pt.
| Page | Displayed MediaBox (pt) | Visible size (pt) | Rotation | UserUnit |
|---|---|---|---|---|
| 1 | 240 × 168 | 216 × 144 | 0° | 1 |
| 2 | 144 × 216 | 144 × 216 | 90° | 2 |
Download the two-page Harbor Postcard PDFAdobe Acrobat SDK page bounds and user unitsAdobe PDF reference for page rectangles, rotation and default user space
Read the same geometry in millimetres or inches
Change Display units to Millimetres. Page 1 shows a visible size of 76.2 × 50.8 mm and page 2 shows 50.8 × 76.2 mm. In inches, those dimensions are 3 × 2 in and 2 × 3 in.
The units control changes how the table displays length. The PDF and the points values in the report remain the same.
Download the two-page Harbor Postcard PDFAdobe PDF reference for page rectangles, rotation and default user space
Check the coordinates and unavailable findings
Download pdf-page-sizes.json. In its second page entry, check that cropBox.source says MediaBox fallback and visibleBox.displayPoints gives width 144 and height 216. Box coordinates are listed before rotation as left, bottom, right and top.
When a page has an invalid box or rotation, check its Findings column before sending dimensions to a printer. Request a corrected export if the PDF has no measurable visible area. Page boxes describe boundaries, while the printer's paper choice and print scale determine the physical output.
Adobe Acrobat SDK page bounds and user unitsAdobe PDF reference for page rectangles, rotation and default user space
Common questions
Can a page have a MediaBox but no visible area in the report?
Yes. A CropBox with no overlap gives no visible rectangle. The MediaBox can still have its own dimensions.
Why do the raw coordinates sometimes start at a negative number?
Page rectangles can extend left or below the PDF coordinate origin. The size uses the distance between opposite edges, so a negative origin does not imply a negative dimension.
Sources
Put it into practice.
Related guides
- Set PDF Bleed and Check the Artwork
- Make Named PDF Chapters from Page Starts
- How to Add a Cover PDF and Keep Main Page Order
- How to Scale Content Inside a PDF Page
- How to Align Mixed-Size PDF Pages
- Cut a Rotated PDF into Top and Bottom
- Count Unique Pages in a PDF Range
- Replace a PDF Page with a Rotated Donor
- Lay Out PDF Pages with Custom Gutters
- Collate Selected PDF Pages in Order
- Make Uniform PNG Tiles from PDF Pages