Page size is the width and height of the pages in a document, such as a PDF or a Word DOCX file. In a metadata report, the Page Size field shows this size. The field often also names the matching paper size, such as A4 or Letter.
Page size is not the same as file size. Page size measures the paper. File size counts the bytes in the file.
Which files carry it
A PDF file stores a size for every page. The media box sets the size of the paper that the page is made for. The crop box marks the visible part of the page, and content outside it is cut off for display and print.
Both boxes are measured in PDF units. One unit is 1/72 of an inch, which equals one point.
A Word DOCX file keeps the page size in an element called w:pgSz, counted in twentieths of a point. Each section of a document has its own w:pgSz, so one document can have several page sizes.
The ISO/IEC 29500 standard gives A4 as a width of 11907 and a height of 16839 in its example. Real files can differ slightly.
Some files also carry the XMP field MaxPageSize. It records the width, the height, and the unit of the largest page in the document.
What the value looks like
The pdfinfo program from the Poppler project reads PDF files. It shows the width, an x, and the height, followed by pts for points. When the size matches a known paper size, pdfinfo adds the paper name in brackets.
The value 595.32 x 841.92 pts with the name A4 means the following:
- The page is 595.32 points wide, which is about 210 mm or 8.27 inches.
- The page is 841.92 points high, which is about 297 mm or 11.69 inches.
- These numbers match A4 paper, which is 210 by 297 mm.
pdfinfo knows only Letter and the ISO 216 sizes A0 to A6, in portrait or landscape position. It accepts a small difference, so 595.32 by 841.92 points still counts as A4.
Typical values
These are common paper sizes in points:
- A4: 210 by 297 mm, about 595 by 842 points
- A3: 297 by 420 mm, about 842 by 1191 points
- Letter: 8.5 by 11 inches, which is 612 by 792 points
- Legal: 8.5 by 14 inches, which is 612 by 1008 points
A4 and A3 belong to the ISO 216 A series. Letter and Legal are North American paper sizes.
Why it matters
Page size tells you which paper a document was made for. Letter paper is about 6 mm wider and 18 mm shorter than A4. So a page made for one of these sizes does not fit the other exactly.
The pages of one PDF file can have different sizes. By default, pdfinfo checks only the first page, so one Page Size value describes page 1. The Pages field tells you how many pages the file has.
A PDF page can also carry a Page Rotation value, a multiple of 90 degrees. The page turns clockwise by that amount when it is shown or printed.
pdfinfo reports the crop box before any rotation. So a page with a rotation of 90 or 270 can look like a landscape page while Page Size shows a portrait size.
Page size in computer memory
In computer memory, page size means something else. It is the size of one memory page, a fixed block that the processor and the operating system handle as a unit. x86 processors normally support pages of 4 KB and 2 MB, and some also support 1 GB.