When you open a PDF document in a reader, send it to a commercial printer, or import it into a design suite, how does the software know where the page starts and ends?
In physical reality, a sheet of paper has just one physical edge. But inside a digital PDF, a page is defined by a mathematical coordinate space governed by up to five distinct nested boundary boxes.
What are these page boxes, how do they interact under ISO 32000, and why does confusing MediaBox with TrimBox cause documents to be sliced incorrectly at the printing press?
The 5 PDF Page Boxes Defined
The ISO 32000 specification defines five rectangular bounding boxes for every page. Each box is expressed as a 4-element array of numbers defining [lower-left-x, lower-left-y, upper-right-x, upper-right-y] measured in PDF points (where 72 points = 1 physical inch):
+───────────────────────────────────────────────────────────+
│ MediaBox (Physical sheet / paper feeding size) │
│ +─────────────────────────────────────────────────────+ │
│ │ BleedBox (Artwork bleed margin + registration marks)│ │
│ │ +───────────────────────────────────────────────+ │ │
│ │ │ TrimBox (The final cut page boundary) │ │ │
│ │ │ +─────────────────────────────────────────+ │ │ │
│ │ │ │ ArtBox (Meaningful content / margins) │ │ │ │
│ │ │ +─────────────────────────────────────────+ │ │ │
│ │ +───────────────────────────────────────────────+ │ │
│ +─────────────────────────────────────────────────────+ │
+───────────────────────────────────────────────────────────+
1. The MediaBox (Mandatory)
The MediaBox defines the maximum physical boundaries of the medium upon which the page is to be displayed or printed.
- It is the only mandatory box in the PDF specification; all other boxes default to the dimensions of the MediaBox if omitted.
- In commercial printing, the MediaBox is larger than the final book or magazine page because it contains the blank outer margins holding registration color bars, printer marks, and job info.
2. The CropBox (Viewing Window)
The CropBox defines the region to which the contents of the page are clipped when displayed or printed in consumer viewing software (such as Acrobat Reader or web browsers).
- If an author wants to hide printer color bars from everyday office viewers without deleting the underlying prepress data, they set a smaller CropBox.
- Most desktop PDF viewers display the area defined by the CropBox by default.
3. The BleedBox (Prepress Bleed Boundary)
When artwork (such as a full-bleed photograph or background color block) is intended to print all the way to the paper’s edge, physical printing presses cannot cut with sub-atomic perfection. The ink must extend beyond the cut line.
- The BleedBox defines the region to which page contents are clipped when output in a production environment with bleeds.
- It is typically 3mm to 5mm (or 0.125 inches) larger than the TrimBox on all four sides.
4. The TrimBox (The Finished Cut Dimensions)
The TrimBox defines the intended physical dimensions of the finished page after all cutting, folding, and trimming operations have taken place.
- For a standard US Letter page, the TrimBox is 612 x 792 points (8.5 x 11 inches).
- For an A4 page, the TrimBox is 595.28 x 841.89 points (210 x 297 mm).
- Commercial guillotine cutters line up their lasers with the TrimBox coordinates.
5. The ArtBox (Content Area)
The ArtBox defines the extent of the page’s meaningful content (the text block and illustrations, excluding white margins).
- It is commonly used when embedding an advertisement into a publication or placing a vector PDF logo into an InDesign layout.
The Mathematical Hierarchy Rules
ISO 32000 establishes a strict hierarchical nesting constraint:
MediaBox >= BleedBox >= TrimBox
MediaBox >= CropBox
- A subordinate box can never be larger than the MediaBox. If a CropBox or TrimBox defines coordinates that fall outside the MediaBox, viewers clip it back to the MediaBox boundaries.
- If CropBox is not specified: It defaults to the MediaBox.
- If BleedBox or TrimBox is not specified: They default to the CropBox.
- If ArtBox is not specified: It defaults to the CropBox.
Summary Table of the 5 Page Boxes
| Box Name | Is It Mandatory? | What It Represents | Who Uses It? |
|---|---|---|---|
| MediaBox | Yes (Required) | Maximum physical sheet boundary. | PDF rasterizers, printers. |
| CropBox | Optional (defaults to MediaBox) | The visual viewing area shown on screen. | Desktop readers (Acrobat, Chrome). |
| BleedBox | Optional (defaults to CropBox) | The area where ink extends beyond cuts. | Prepress RIPs, digital presses. |
| TrimBox | Optional (defaults to CropBox) | The exact final physical cut dimension. | Commercial binders, cutting guillotines. |
| ArtBox | Optional (defaults to CropBox) | The boundary of the meaningful text/artwork. | Ad placement, imposition software. |
How to Inspect and Edit Page Boxes
In Adobe Acrobat Pro:
- Open
Tools > Print Production > Set Page Boxes(or pressCtrl + Shift + T). - The dialog displays the exact numeric point dimensions of the MediaBox, CropBox, BleedBox, and TrimBox, along with a visual preview.
- Adjust margins or remove unwanted whitespace with millimeter precision.