How to Add 'Page X of Y' Numbers to a PDF in Adobe Acrobat
Question details
The user needs to add sequential page numbers and a total page count in a "Page X of Y" format to a PDF document.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Preparing legal exhibits, court documents, or formal reports that strictly require page numbers indicating both the current page and the total page count.
- Observed behavior
- The PDF currently lacks sequential page numbering, or the existing page numbers do not display the total page count required for formal submission.
Ensure your PDF document is fully finalized and no additional pages need to be inserted, as adding or deleting pages later will require you to update the total page count manually.
Use Acrobat's Header & Footer Tool
The most straightforward way to add a 'Page X of Y' format is by using the built-in Header and Footer configuration in Acrobat.
This method allows you to precisely position the page numbers and customize the font size, style, and margins to fit your document's layout.
Open your PDF in Adobe Acrobat, navigate to the 'Edit PDF' tool on the right pane, select 'Header & Footer' from the top toolbar, and click 'Add'.
In the Add Header and Footer dialog box, click inside the text box where you want the page numbers to appear (for example, the 'Center Footer Text' box).
Click the 'Insert Page Number' button to add the current page, manually type the word ' of ' (with spaces), and then click the 'Insert Number of Pages' button.
Adjust the font, size, and margins as needed in the preview window. Once satisfied, click 'OK' to apply the formatting to your PDF.

Apply Bates Numbering for Legal Documents
For court documents and legal exhibits, Bates numbering provides a standardized way to stamp sequential numbers across multiple files.
Add Custom Page Numbers to PDFs Easily with WPS Office
WPS Office provides a highly intuitive PDF editor that lets you easily insert headers, footers, and custom page number formats like 'Page X of Y' without the high cost of premium PDF software.
- 1. Open PDF in WPS Office: Launch WPS Office and open your PDF document using the WPS PDF Editor.
- 2. Access Header & Footer: Navigate to the 'Insert' tab on the top ribbon, click on 'Header and Footer', and select 'Add Header and Footer'.
- 3. Configure Page Numbers: In the dialog box, select your preferred page number format (such as '1 of n') from the Page Number format dropdown, or manually insert the page macros.
- 4. Apply and Save: Check the preview, click 'OK' to apply the numbers to all pages, and save your updated PDF document.

Frequently Asked Questions
Can I format page numbers as Roman numerals in a PDF?
Yes, in both Acrobat and WPS PDF, you can access the Page Labels or Page Number formatting options to change the styling from standard Arabic numerals (1, 2, 3) to Roman numerals (i, ii, iii).
Why is my total page count ('Y') incorrect when numbering multiple files?
If you merge files after numbering or apply a single header/footer action to a large batch, the total count may calculate the sum of all pages combined. To fix this, apply page numbers individually to each separate document.
How do I remove existing page numbers from a PDF?
Go to the 'Header & Footer' tool in your PDF editor and select the 'Remove' option. This will clear out the previously inserted page numbers and headers so you can start fresh.
Is it possible to start page numbering from page 3?
Yes. When setting up your Header & Footer, look for the 'Page Range Options' link. You can specify which pages the numbering should apply to, allowing you to exclude cover pages or a table of contents.




