In short
The MediaBox is the canvas the content of a PDF page sits on. A PDF cannot do without it: it is the only required box, and effectively nothing exists outside it.
Why it exists
A PDF page has to end up somewhere: a sheet of paper, a plate, film. That medium has a size, and the PDF has to state it, otherwise a RIP does not know how large an image to build.
That is why the MediaBox is the only required box. The other four are optional and fall back on a default value. The MediaBox has no default, because there is nothing left to fall back on.
The specification adds something you notice in practice: content falling outside this boundary may safely be discarded without affecting the meaning of the file. Whatever lies outside the MediaBox effectively does not exist.
So think of the MediaBox not as one of five boxes but as the canvas the other four are drawn on. That canvas need not be a single page: it can just as well be a press sheet carrying a whole imposition, with the TrimBoxes of the individual pages sitting inside it.
Where you meet it
In every PDF, because every page has one. When somebody says "it is an A4", they usually mean the MediaBox, or the CropBox that Acrobat displays.
When building a press sheet. The MediaBox has to be large enough for the bleed and for the printing marks beyond it: cut marks, registration marks, colour bar, and often a line of text with the job details.
On large formats such as banners and signage. There you run into the upper size limit, and the unit the MediaBox is expressed in suddenly matters.
How it works
The MediaBox lives in the page dictionary and is inheritable: if it is not on the page itself, the value from a higher node in the page tree applies. One line at the top of the document can therefore set the size of every page.
The four numbers are in default user space units of 1/72 inch. An A4 of 210 × 297 mm works out at roughly 595 × 842 units, and those are the numbers you find in most PDFs.
Since PDF 1.6 the unit itself can be enlarged with UserUnit. That is the route to exceeding the maximum page size, because that limit is expressed in units and not in millimetres.
Technical
The MediaBox lives in the page dictionary as /MediaBox [llx lly urx ury]. It is required and inheritable. The crop, bleed, trim and art boxes should not extend beyond it; if they do, a processor treats the box as its intersection with the MediaBox.
The recommended limits are in the implementation limits of the specification: a minimum of 3 × 3 units and a maximum of 14,400 × 14,400 units. At the fixed unit of 1/72 inch that works out at roughly 0.04 × 0.04 inch up to 200 × 200 inch, or a little over five metres square.
| Property | Value | Status |
|---|---|---|
| Key in the PDF | /MediaBox | verified |
| Type | rectangle, four numbers in default user space units | verified |
| Required | yes, and inheritable through the page tree | verified |
| Default value | none; there is nothing to fall back on | verified |
| Recommended minimum | 3 × 3 units | verified |
| Recommended maximum | 14,400 × 14,400 units, that is 200 × 200 inch | verified |
| Content outside it | may be discarded without affecting the meaning | verified |
In PDF/X
The MediaBox is required for every PDF file, and PDF/X changes nothing there. What PDF/X adds concerns the other boxes: every page carries an ArtBox or a TrimBox, but not both, and a BleedBox is optional.
In practice that means the MediaBox is your working area. Everything PDF/X wants outside the TrimBox or BleedBox, such as a control strip, still has to fit inside the MediaBox.
In our tools
In PitStop's press layout the MediaBox is the outer box, with the BleedBox inside it or equal to it. Under that layout there should be no crop box, or it should equal the MediaBox.
Enlarging the MediaBox does not move the content along with it: the origin stays where it was. So work out where the page ends up, or use an action that centres the box around the existing content.
Related terms
- TrimBox: the finished size inside this box.
- BleedBox: the bleed, which also has to fit inside the MediaBox.
- CropBox: what Acrobat displays; equal to the MediaBox by default.
- Press sheet: the physical sheet the MediaBox is the digital counterpart of.
Sources
- ISO 32000-1:2008 (PDF 1.7), 7.7.3.3 "Page Objects" tabel 30 en 14.11.2 "Page Boundaries". Consulted 2026-09-19. verified
- ISO 32000-2:2020 (PDF 2.0), tabel 31 en 14.11.2 "Page boundaries". Same definitions, slightly different wording. Consulted 2026-09-19. verified
- CGATS, Application Notes for PDF/X Standards, version 4, September 2006 (external link), 2.10. Consulted 2026-09-19. verified
- Ghent Workgroup, GWG2015 PDF/X-4 Workflow (Nederlandstalige uitgave v1.0.1) (external link). Consulted 2026-09-19. verified
- Enfocus, Page box layout en Press layout, PitStop Preflight Checks (external link). Consulted 2026-09-19. verified
Last updated · checked by GrafiStore
Back to the glossary