PDF Editing Issues

How to Add 'Page X of Y' Numbers to a PDF in Adobe Acrobat

Bushra ParveenBushra Parveen Nov 5, 2026 869 views

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.

How to Add 'Page X of Y' Numbers 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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Header & Footer tool

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'.

2
Position your cursor

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).

3
Insert page number macros

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.

4
Format and apply

Adjust the font, size, and margins as needed in the preview window. Once satisfied, click 'OK' to apply the formatting to your PDF.

Use Acrobat's Header & Footer Tool
Exhibit Separation: If you are numbering multiple court exhibits, apply the numbering to each PDF exhibit separately so the 'Y' (total pages) correctly reflects the length of that specific exhibit.
Efficient PDF Editor

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. 1. Open PDF in WPS Office: Launch WPS Office and open your PDF document using the WPS PDF Editor.
  2. 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. 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. 4. Apply and Save: Check the preview, click 'OK' to apply the numbers to all pages, and save your updated PDF document.
Easily insert and customize headers, footers, and page numbers.Fully compatible with standard PDF formats and Adobe Acrobat files.Lightweight, fast-loading, and cost-effective alternative to heavy PDF editors.Cross-platform support for Windows, Mac, and mobile devices.
microsoft office alternative - wps office

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.