Back to blog

PDF Page Sizes, Orientation and Margins Explained

By PDF.Capital Team · 7/28/2026

Most PDF frustrations that look like a printing problem are really a page geometry problem. Understanding four ideas — page size, orientation, rotation and the difference between page boxes — resolves nearly all of them.

Page size is stored per page, not per document

A PDF does not have "a" page size. Every page carries its own dimensions, measured in points, where one point is 1/72 of an inch. A4 is 595 × 842 points. US Letter is 612 × 792 points — wider and shorter. A3 is 842 × 1191.

This is why merging works the way it does. When you combine an A4 report with a Letter-size invoice using Merge PDF, you get one document containing both sizes, because each page keeps its own geometry. Nothing is scaled, which is the correct behaviour: silently stretching an invoice to match a report would change every measurement printed on it.

The visible symptom appears at the printer. Feed a mixed-size document to a tray of A4 and the Letter pages print slightly reduced with an uneven margin, or the printer asks you to confirm a paper mismatch. If a uniform document matters, standardise the sources before merging rather than fixing it afterwards.

A4 versus Letter, briefly

A4 is used almost everywhere except the United States and Canada. It is 8.27 × 11.69 inches; Letter is 8.5 × 11. A4 is narrower and taller. The difference is small enough that a document usually still prints, and large enough that a line of text can reflow or a footer can be clipped.

If you are producing something that will be printed on both continents, keep at least 15mm of margin on all sides. That is enough tolerance to absorb the difference in either direction.

Orientation is just which number is bigger

There is no orientation flag in a PDF page. A landscape page is simply one whose width exceeds its height. This is why a document can mix portrait and landscape freely — a report with a wide table in the middle is entirely normal, and readers handle it without complaint.

Rotation is a separate thing entirely

Each page also carries a rotation value: 0, 90, 180 or 270 degrees. It tells the viewer how to turn the page when displaying it, without changing the underlying dimensions.

This is the source of a genuinely confusing situation. A scanned page can be stored as portrait with a 90-degree rotation applied — so it displays as landscape, reports itself as portrait, and behaves inconsistently in software that ignores the rotation flag. Old or badly written viewers do exactly that, which is why a document that looks fine on your screen can print sideways somewhere else.

Rotate PDF works by changing this value rather than redrawing the page, which is why it is instant and does not degrade quality. The rotation is additive: a page already at 90 degrees rotated another 90 lands at 180.

Why there is a white border you did not ask for

A PDF page can define several boxes. MediaBox is the physical sheet. CropBox is the area a viewer displays. There are also boxes for bleed and trim used in commercial printing. Most everyday documents only use MediaBox and CropBox, and usually they are identical.

Separately, almost every physical printer has an unprintable margin of a few millimetres at each edge where the mechanism grips the paper. A design that runs colour to the very edge of the page will come out with a thin white border regardless of the PDF — that is the hardware, not the file. Commercial print handles it with bleed; office printing simply lives with it.

If your print comes out slightly smaller than expected with an even white frame, look at the print dialog rather than the document: "Fit to printable area" or "Shrink oversized pages" is switched on, and setting the scale to 100% or "Actual size" usually fixes it.

Practical rules

Standardise page size at the source, before assembling. Keep 15mm margins if the document will cross between A4 and Letter regions. Fix rotation before adding page numbers or watermarks with Add Page Numbers, so they land the right way up. And when a printed result surprises you, check the print dialog's scaling setting first — it is wrong far more often than the file is.