Check Before Submit

Which PDF box sets the page size: MediaBox, CropBox or TrimBox?

By Check Before Submit · Updated 13 October 2026.

A PDF page can carry five boxes. The MediaBox is the whole sheet, the CropBox is the visible region that viewers show, the TrimBox is the finished size after cutting, the BleedBox is the area to clip to in production, and the ArtBox marks the meaningful content. For print, the TrimBox usually defines the finished size.

Key points

  • Each box is a rectangle on the page. They are separate settings, so a file can carry several different sizes at once.
  • Your viewer shows the CropBox. A printer's workflow can look at the TrimBox and BleedBox instead, which is how the same file ends up with two sizes.
  • If a PDF has no TrimBox, nobody can read the finished size from it. A checker can only take the page size or ask you to type the finished size.
  • A page that includes bleed is bigger than the finished size by design, so a larger MediaBox is not automatically a mistake.
  • Rotation and mixed page sizes change what you see, so check them before blaming the boxes.

What the five boxes are

The definitions below follow Apple's Core Graphics documentation, which describes each box in the same terms as the PDF format.

BoxWhat it definesHow our reports show it when it is missing
MediaBoxThe boundaries of the physical medium the page is intended to be displayed or printed onAlways present
CropBoxThe visible region of the page. When the page is displayed or printed, its contents are clipped to this rectangle"not set (= MediaBox)"
BleedBoxThe region the contents should be clipped to when output in a production environment"not set"
TrimBoxThe intended dimensions of the finished page after trimming"not set"
ArtBoxThe extent of the page's meaningful content, including any white space, as the creator intended"not set"

Adobe describes the purpose of the bleed area in the same spirit: it holds objects that extend past the page edge, so there are no white gaps after trimming. If you want the numbers to use, see How much bleed do you need for printing?. Acrobat Pro includes a tool for defining the crop, trim, bleed, art and media boxes on a page, so the boxes in a file are settings that can be set or changed, not facts about the artwork.

Why the sizes disagree

  • The CropBox is smaller than the page. The viewer shows only the CropBox, but the file contains a larger page.
  • There is no TrimBox. The finished size has to be guessed from the page size.
  • The page includes bleed. A 216 × 303 mm page is an A4 page with 3 mm bleed on every side. It looks wrong next to a 210 × 297 mm requirement until you know that.
  • Pages have different sizes. A cover spread or a placed page from another file is a common cause.
  • A page is rotated. The stored size and the displayed size are different by 90 degrees.
  • UserUnit is not 1. UserUnit is an optional setting that scales a page. Our table shows it, and 1 means no scaling.

What we tested

We generated six small PDFs and ran them through the PDF Page Size Checker. Nothing in them is customer content.

Test fileWhat the checker reported
A4 with 3 mm bleed, TrimBox and BleedBox setPage size 210.0 × 297.0 mm (A4), read from the TrimBox. The table showed a MediaBox of 216.0 × 303.0 mm and a TrimBox inset of 3.0 mm on each side.
Plain A4, no boxes setReview: No TrimBox set. The finished size is taken from the page size, which is fine if the page is exactly the finished size.
216 × 303 mm page, no TrimBox, finished size entered as A4Passed: page size matches your finished size, 210.0 × 297.0 mm. Review: No TrimBox set. A page equal to the finished size plus bleed is recognised.
A4 with a CropBox inset by 5 mmPage size 200.0 × 287.0 mm. Review: the CropBox is smaller than the page. Viewers show only the CropBox, but the file contains a larger 210.0 × 297.0 mm page, and printers may use the MediaBox or TrimBox instead.
Pages 1 and 3 A4, page 2 A5Review: 2 different page sizes. 210.0 × 297.0 mm (A4) on pages 1 and 3, 148.0 × 210.0 mm (A5) on page 2.
A4 with a 90 degree rotationPage size 297.0 × 210.0 mm (A4) as displayed. Review: pages with a /Rotate setting. The table showed the stored boxes at 210.0 × 297.0 mm and a rotation of 90 degrees.

Notice that the third file passes with no TrimBox at all. It passes only because we told the checker the finished size. Without that, it would have had no way to know that the extra 3 mm is bleed and not a wrong page size.

How to find out which size is right

  1. Ask your printer for the finished size and whether they want bleed included in the PDF.
  2. Open the page boxes of your file rather than reading the size from a viewer. Our table lists the MediaBox, CropBox, TrimBox, BleedBox, ArtBox, rotation and UserUnit for every page.
  3. Enter your finished size and compare. If the page equals finished size plus bleed, that is expected.
  4. If the CropBox is smaller than the page, or the sizes are mixed, re-export from the source file with one page size and the boxes you intend.

Limits

The checker reports the boxes that are stored in the file. It cannot tell you which box your printer's software will use, and it does not look at your artwork, so it cannot tell whether the design reaches into the bleed. It also does not fix the file. Our test files are generated documents with simple page content.

What to do next

Ask the printer which size they expect, then compare it with the boxes in your PDF. If the PDF also contains images, read What DPI do you need for printing?. For how these checks work and what they leave out, see how Check Before Submit works.

Sources

Figures taken from these sources are quoted as written on the date shown. Your printer's own specification always comes first.

What does a KDP paperback interior PDF need?

Trim size, bleed on three edges, margins by page count, 300 DPI images and embedded fonts. KDP's published numbers, and what a check can and cannot verify.

What are Adobe Stock's technical requirements for photos?

JPEG, sRGB, 4 to 100 megapixels, 45 MB at most. Adobe's published photo requirements in one table, which of them a file check can verify, and what happens at the edges.

Why does Adobe Stock refuse photos for quality?

Adobe asks for a sharp main subject, minimal noise and artifacts, and balanced light. What each means, and what software could and could not catch on 96 real photos.