>
Count total pages and inspect paper dimensions in any PDF document online for free with our PDF Page Counter. Calculate page width and height in points, inches, and millimeters, auto-detect standard paper sizes (A4, US Letter, US Legal), and check page orientation directly inside client browser RAM.
Upload any PDF file to instantly inspect document page counts.
View page count metrics, orientation ratios (portrait/landscape), and page dimensions.
Copy page statistics or export detailed document page summary reports.
Parses internal PDF catalog page dictionaries (/Pages /Count) for instant page total calculations.
Calculates MediaBox bounding metrics in PostScript points, inches, millimeters, and auto-detects paper standards.
All page counting and dimension conversions execute inside client browser memory. Zero files leave your device.
PDF document pages are structured in a balanced tree hierarchy under the root catalog's /Pages dictionary node. The total page count is stored in the /Count integer attribute.
Page physical dimensions are specified by the /MediaBox array [llx lly urx ury] in 72 DPI PostScript point units. Width in inches equals $ ext{Points} / 72$, while width in millimeters equals $ ext{Points} imes 0.352778$.
Matching MediaBox dimensions against standard paper profiles (US Letter, A4, US Legal) and evaluating aspect ratios ($W > H$) allows determining page orientation (Portrait vs Landscape) in browser RAM.