How to Show the Number of Pages in Each Word Chapter
Question details
The user wants to display the total page count for individual chapters within a document, rather than the total page count for the entire document.

- Product
- Word Processing
- Device & OS
- not provided
- Scenario
- Formatting a multi-chapter document where the page count or footer needs to indicate the total number of pages specifically contained within the current chapter.
- Observed behavior
- The goal is to isolate page counts chapter by chapter using sections and field codes so the count updates accurately for each specific part.
Ensure your document is properly divided into chapters using clear headings, and verify where you want the chapter page counts to appear (such as in the footer or directly under the chapter title).
Use Section Breaks and the SECTIONPAGES Field
By separating your document into sections and using the SECTIONPAGES field code, you can easily calculate and display the number of pages per chapter.
To count pages for a specific chapter independently from the rest of the document, the chapter must be placed in its own 'Section'. Once isolated, a specific field code can be used to count only the pages within that section.
Place your cursor at the end of your first chapter. Navigate to the 'Page Layout' or 'Layout' tab, click on 'Breaks', and select 'Next Page' under the Section Breaks menu. Repeat this process at the end of every chapter.
Double-click the header or footer area of the chapter where you want the page count to be displayed.
Press 'Ctrl + F9' on your keyboard. This will insert a pair of field code brackets { } into the header or footer.
Inside the brackets, type the text 'SECTIONPAGES' so that it looks exactly like this: { SECTIONPAGES }.
Right-click on the { SECTIONPAGES } code and select 'Update Field', or simply press 'F9'. The field will now convert into a number representing the total pages in that specific chapter.

Easily Manage Chapter Page Counts with WPS Writer
WPS Writer provides intuitive tools for handling complex multi-chapter documents, allowing you to insert section breaks and field codes effortlessly.
- 1. Insert a Section Break: Open your document in WPS Writer. Go to the 'Page Layout' tab, click 'Breaks', and choose 'Next Page Break' to separate your chapters.
- 2. Open Field Settings: Double-click the footer. Go to the 'Insert' tab and click on 'Field'.
- 3. Select SectionPages: In the Field dialog box, select 'Numbering' from the categories, choose 'SectionPages', and click 'OK' to automatically display the chapter's page count.

Frequently Asked Questions
Why does my page count show the total document pages instead of chapter pages?
You likely inserted the standard NUMPAGES field instead of the SECTIONPAGES field. Ensure you use SECTIONPAGES and that your chapters are divided by 'Section Breaks' rather than standard 'Page Breaks'.
Can I include the chapter page count in my Table of Contents?
Yes. If you insert the { SECTIONPAGES } field code directly into the chapter heading text within the document, it will be pulled into the Table of Contents when you generate or update it.
How do I restart the page numbering at 1 for each new chapter?
Double-click the header or footer, highlight the page number, and go to 'Format Page Numbers'. Select 'Start at' and enter '1'. Make sure to do this for each section.




