Word total page count is wrong: how to exclude the cover and table of contents

When the footer's "total pages" count includes the cover and table of contents, use a field formula to subtract the uncounted pages from the total, or restart page numbering by putting the body text in its own section. This article explains the steps for both methods and how to check the results.

Key Points of This Article

  • The footer "Page X of Y" count defaults to all pages in the whole document, so the cover and table of contents are included too, which is a common reason the total is too large.
  • Subtracting a fixed number of pages suits documents whose cover and table-of-contents page counts no longer change; you can simply add or subtract a number in the NUMPAGES field.
  • After splitting the body text into its own section, use SECTIONPAGES to count the pages within the section, so the counting range matches the starting page number.
  • After editing field codes, press F9 to update them, and check against the total page count in the status bar to avoid still showing the old number.

When writing a thesis, a bid document, or an annual report, many people put "Page X of Y" in the footer. The first page of the body shows "Page 1", but the ending says "of 14", even though the body is only 12 pages; the two extra pages are the cover and the table of contents. Readers who see numbers like this may feel the document is not properly formatted, and sometimes they are asked to renumber it based on the body page count.

This article is for people who need the total page count to exclude the cover and table of contents, especially when page numbering starts from the first page of the main text. After reading it, you will be able to use two methods: one is to use a field formula to subtract a fixed number of pages from the total page count; the other is to split the main text into a separate section so that Word counts only the main text. Both methods calculate automatically, so you do not need to manually change the numbers after content is added or removed.

How do I make "total pages" exclude the cover and table of contents? One-sentence answer

First decide whether the page counts of the cover and the table of contents are fixed. If they are fixed, subtract the corresponding page count in the formula. If the body text needs independent numbering and the table of contents may grow or shrink, split the document into sections and use SECTIONPAGES to count the pages. Manually entering the body page count is not advisable, because it will go wrong as soon as the content changes.

Your situationRecommended PracticesCause
The cover page and table of contents each occupy a fixed number of pages, and both are located at the beginning of the document.Subtract a fixed page count from the NUMPAGES fieldFew steps, no need for sections; suitable for most short documents.
Page numbers in the main body should start from 1, while the cover and table of contents are not numbered.Insert section breaks between the cover and table of contents and the body text, and count pages for the body section.Page number starting point and counting range are independent at the same time, with a clear structure.
Table of contents page numbers often changeAfter sectioning, use SECTIONPAGES; do not hard-code the subtraction.When the table of contents is added or removed, the total page count of the body text automatically updates accordingly.
I only want the body page count to show in the footer, not "Page X"Insert only the SECTIONPAGES fieldNo need to handle the starting page number; fewer steps are involved.
The document needs to be edited by multiple people and will be revised repeatedly.Finalize the pagination first, then insert the fields and verify.After pagination changes, the field domain is recalculated, but the subtrahend may need to be modified.

Before You Begin: Confirm These Points

Understand the document structure before you start, otherwise the page numbers the formula subtracts won't match, and the result will still be wrong.

  • Confirm how many pages the cover and table of contents each occupy. Open Page View and check each page in turn. Watch for a cover that spills onto a second page, and for a table of contents that overflows onto the next page because it has many entries. The subtraction must match the actual page count.
  • Check whether there is a page break or section break between the cover and the body. A page break only moves to a new page, while a section break allows page numbers and page counts to be calculated separately. Turn on Word's paragraph mark display to see where the separators are.
  • Confirm which page the body starts numbering from, and what the starting number is. If page numbering for the body starts at 1 on its first page, then "Page X" will differ from the physical page sequence number. This affects how you determine "total pages," as the steps below explain.
  • Check whether the number of table of contents pages may change. A fixed number of TOC pages can be subtracted directly. If the TOC may grow or shrink with headings, insert a section break and avoid hard-coding the number.
  • Handle page numbering after the content is finalized. Adding or deleting content mid-way changes the pagination. If you set up the formula first and then edit the body, you will need to recheck it.

Steps to Exclude the Cover Page and Table of Contents from Page Numbering Using Fields in Word

The method below uses "cover page 1 page, table of contents 1 page, 2 pages total not counted" as an example. If your cover or table of contents has a different number of pages, simply change the 2 in the formula to the actual number of pages.

  1. Insert page numbers in the footer. Use Word's page number feature to select the plain number style at the bottom of the page, so that every page of the body text displays a page number.
  2. In the footer, type "共" and "页" (meaning "total" and "pages"), and place the cursor between the two characters. This position is used to insert the total page count field; the footer layout is usually "第 X 页 共 Y 页" (Page X of Y).
  3. Press Ctrl+F9, and Word will insert a pair of curly braces, which mark the boundaries of the field. Do not type the braces directly; they only take effect when inserted with the shortcut key, otherwise they will not work.
  4. In the braces, type "= " (equals sign followed by a space), then press Ctrl+F9 again and type "NUMPAGES" in the new braces. This forms a nested field: the outer field performs the subtraction, and the inner field retrieves the total number of pages.
  5. In the outer field, add the subtraction term to form a structure similar to { = { NUMPAGES } - 2 }. Here, 2 is the number of pages for the cover and table of contents, with spaces kept on both sides of the minus sign.
  6. Select the entire document and press F9 to update fields. The page numbers in the footer will change to reflect the body page count after excluding the front matter. If they do not change immediately, switch to Print Layout view and press F9 again.
  7. Press Alt+F9 to display the field codes and check the formula, then press Alt+F9 again to restore the displayed results. Check whether the braces and the subtrahend are correct, and proceed to the next step only after confirming there are no errors.

If there is a section break between the cover and the table of contents, and the body text needs to start from a new page number, do not use the subtraction method above. Instead, use SECTIONPAGES: insert the SECTIONPAGES field in the footer of the body section. It counts only the pages of the current section, so the formula does not need to be changed when the table of contents gains or loses pages.

Verify item by item after completion

After updating the footer numbers, check each item one by one to confirm that the total page count and page numbers in the body text meet expectations.

Inspection itemHow do you see it?What should I do if I have a problem?
Is the total number of pages on the last page correct?Turn to the last page of the main text and check whether the footer's "total pages" figure equals the number of body pages.The numbers are too large. Check whether the subtracted count missed the cover or table-of-contents pages.
Status bar total pagesCheck the page number information in the status bar, and compare the total page count with the footer number.The difference between the two is the number of pages that were not deducted; check whether there are blank pages.
Blank pages and extra page breaksIn Print Layout view, check whether there is a blank page containing only a paragraph mark before and after each page break.Delete the blank page, or change the page break to paragraph formatting, then press F9 to update the fields.
Has the domain been updated?After modifying the content, select the entire text and press F9.When the number stays the same, check whether plain text was mistakenly used in place of a field.
Does the page number starting point match the displayed page number?Compare the page number of the first page of the main text with that page's physical position.After changing the starting page number, it is normal for the displayed "Page X" to be out of sync with the total page count; the calculation based on NUMPAGES or SECTIONPAGES should be taken as the standard.
Exported versionAfter exporting to PDF or opening print preview, check the page numbers page by page.When the exported result does not match what is shown on screen, update all fields again and then export.

📊 Core Comparison

There are three common counting methods in practice, and they differ in the scope of what is counted and the cost of making changes.

Counting methodSuitable situationsMain costs
Manually enter the total number of pagesShort documents for temporary viewing or one-time useAfter adding or deleting content, manual revisions are required, which can easily lead to missed edits, so it is not recommended for use in formal documents.
NUMPAGES minus a fixed number of pagesShort document with unchanged cover and table of contents page countNo need to split sections, but when changing the page count, you must manually adjust the subtraction value.
SECTIONPAGES after sectionsLong documents, page numbers in the table of contents will change, documents that need multiple revisionsThe section break needs several setup steps, but the counting range matches the body text, and adding or removing table-of-contents entries does not affect the result.

❓ Frequently Asked Questions (FAQ)

1. Why is the total page count still one page too many even though I changed the starting page number?

The starting page number only affects the number displayed for each page; it does not affect the physical page count tallied by NUMPAGES. If the body text is numbered from page 1, but the total is still calculated for the entire document, you will get "page 1" appearing on the third sheet of paper. Using SECTIONPAGES or subtracting the corresponding number of pages can keep the two consistent.

2. Is it okay to manually type the page number in the footer directly?

It's fine to use this temporarily, but I don't recommend it as a formal approach. If you add or remove a page from the body, manually typed numbers won't change, whereas fields update automatically with the content. If the document will be revised multiple times, you should use fields.

3. The number of directory pages keeps changing—what about the subtraction?

When the number of table-of-contents pages is not fixed, do not hard-code a subtraction. Insert a section break between the table of contents and the body text, then use the SECTIONPAGES field in the body section. This way, when the table of contents grows or shrinks, the total page count of the body will be recalculated automatically.

4. Are blank pages counted in the total page count?

Word counts all pages that actually exist, including blank pages that contain only a paragraph mark. When checking the total page count, if the number is one page more than expected, first check for blank pages, delete them, and then press F9 to update.

5. Are the page numbers still correct after exporting to PDF?

Before exporting, press Ctrl+A to select all, then press F9 to update all fields, and then check whether the numbers in the footer and the status bar are consistent. If the exported version is still incorrect, it's most likely that the fields were not updated; just repeat the operation.

📝 Summary

The "Total pages" in the footer counts the cover and table of contents by default. If the number of pages is fixed, subtract the corresponding page count from NUMPAGES. If the table of contents will change or needs separate numbering, split the body into its own section and use SECTIONPAGES to count its pages. After finishing, press F9 to update the fields and check against the total page count in the status bar, so that the total page count in Word's page numbering matches the body.

Open OmniDoc, edit and export documents online

Updated 2026-11-29