Module 8: Headers, footers, and page fields · Lesson 1 of 4 · 8 min
Page numbers with PAGE and NUMPAGES fields
You will learn to: Insert page numbers that update on every page.
A field is an instruction that Word works out, displaying the result. PAGE shows the number of the page it is on; NUMPAGES shows the total number of pages. Put a PAGE field in the footer and every page shows its own number, because the footer repeats and the field is worked out separately on each page.
A typed “1” in the footer is just text, so every page says 1. A total typed as “of 3” is wrong as soon as a page is added. A page number typed as the last line of the body appears once, at the end, and moves whenever the text does.
“Page X of Y” is simply text and two fields: “Page ”, a PAGE field, “ of ”, and a NUMPAGES field. Readers can tell at once whether a page is missing.
Worked example
- Before
- Footer: “Page 1” typed by hand, so all four pages say Page 1.
- After
- Footer: “Page ”, a PAGE field, “ of ”, a NUMPAGES field — the pages read Page 1 of 4, Page 2 of 4 and so on.
- Why it matters
- Each field is worked out on each page, so the numbers are always right.
How to do it
In Microsoft Word (Microsoft 365, Windows and Mac)
- Double-click in the footer area (or choose Insert › Footer › Edit Footer) and delete any typed page number.
- Type “Page ”, then choose Header & Footer › Page Number › Current Position › Plain Number (or Insert › Quick Parts › Field… › Page on Windows; Insert › Field… from the menu bar on Mac).
- For the total, type “ of ” and insert the NumPages field the same way, or choose the ready-made Page X of Y design under Page Number › Current Position.
- Choose Header & Footer › Close Header and Footer, then scroll to check that each page shows its own number.
In the Word Exercises browser editor
- Click in the Footer (editable) area at the bottom of the page and delete any typed number.
- Type “Page ”, then choose Insert field › Page number (PAGE).
- For the total, type “ of ” and choose Insert field › Number of pages (NUMPAGES).
- Fields appear shaded grey; hold the pointer over one to see its code. Then choose Check my work.
Menu names follow the Microsoft 365 ribbon as of 2026; older versions may label commands differently.
Common mistakes
- Typing the page number or the total number of pages.
- Putting the page number at the end of the body instead of in the footer.
- Leaving out the spaces in “Page ” and “ of ”, so the footer reads “Page1of4”.
Practise
- Replace a typed page number with a PAGE field — guided · 5 min · Free
- Build a “Page X of Y” footer — independent · 6 min · Free
- Move a page number from the body to the footer — independent · 6 min · Pro
Guides on this topic
Last reviewed 2026-11-04. Word Exercises is independent and not affiliated with Microsoft.