MediaBox (required) — The MediaBox defines the total physical extent of the page — the page "canvas" in PDF terms. It is the only mandatory page box. All other boxes must be smaller than or equal to the MediaBox. For a standard A4 document intended for screen display only, the MediaBox is the only box needed. Units are in
PDF points (1 point = 1/72 inch): A4 MediaBox = [0 0 595.28 841.89].
CropBox — The CropBox defines the region visible when the page is displayed or printed in normal viewing mode. If no CropBox is specified, it defaults to the MediaBox. The CropBox can be smaller than the MediaBox — content in the MediaBox outside the CropBox exists in the file but is clipped from view. This is used for: hiding printer marks and colour bars from end-user view while keeping them in the print file; creating "virtual" crop regions for display while retaining full bleed content.
TrimBox — The TrimBox defines the intended finished dimensions of the page after trimming — the actual size of the final document after the press sheets are cut. For an A4 document printed with bleed, the TrimBox is [0 0 595.28 841.89] (the A4 dimensions), while the MediaBox is larger (to accommodate bleed and printer marks). Imposition software and cutting machines use the TrimBox to define where cuts should be made.
BleedBox — The BleedBox defines the region to which content extends beyond the TrimBox for bleed. Professional print work requires artwork that extends to the edge of the page to include a bleed margin (typically 3mm) — so that after trimming, there are no white gaps at the edges even with slight misregistration. The BleedBox = TrimBox + bleed on all sides. For A4 with 3mm bleed: BleedBox = [−8.5 −8.5 603.78 850.39] (converting 3mm = 8.5pt).
ArtBox — A fifth box, less commonly used. Defines the extent of meaningful content, useful for publisher workflows that place pages in a larger container.