Add page number X of Y to your document

Check one checkbox to include the total number of pages with the page number in your document’s header or footer in Word for the web.

Image of the check box to select to include the page count with <a href=the page numbers in a doc (page X of Y)." />

  1. If you’re not already in Editing view, click Edit Document >Edit in Word for the web.
  2. Click Insert >Page Numbers. You’ll see a gallery of page number layout options.
  3. Check the Include Page Count box just above the gallery.

More about page numbers