Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Inserting the Total Number of Pages in Your Document.

Inserting the Total Number of Pages in Your Document

by Allen Wyatt
(last updated September 19, 2015)


It is not unusual to put a page number in your headers or footers, and the different ways of accomplishing that task are covered in other issues of WordTips. You can also, however, insert a field that indicates the total number of pages in a document. This can be used in a header or footer or directly within the text of your document. To insert the total number of pages in your document, follow these steps:

  1. Position the insertion point where you want the total number of pages to appear.
  2. Make sure the Insert tab of the ribbon is selected.
  3. In the Text group, click Quick Parts. You'll see a drop-down menu.
  4. Choose Field. Word displays the Field dialog box.
  5. In the Categories drop-down list, choose Document Information. (See Figure 1.)
  6. Figure 1. The Field dialog box.

  7. In the Field Names list choose NumPages.
  8. Click on OK to close the dialog box and insert your field.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (980) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Inserting the Total Number of Pages in Your Document.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...


Moving Drawing Objects

When you need to move a drawing object around your document, you use the mouse after you select the object. This tip shows ...

Discover More

Deleting a Table of Contents

For longer documents, a table of contents can be a handy feature. At some point, though, you may decide to get rid of a TOC ...

Discover More

Listing Documents with Passwords

Do you need a list of documents that require a password or that require a particular password to open? Word doesn't provide a ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!


Exactly Positioning Text

If you need to control exactly where text will appear on the page or relative to other text, you need to know about the ...

Discover More

Inserting a Document's Location

Once you save a document on disk, it is stored in a particular folder (or location) on that disk. You may want that location ...

Discover More

Using the INFO Field

The INFO field allows you to include all sorts of information in your document. Here's a quick overview of the field and what ...

Discover More

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 7?

2017-01-08 01:10:25


Word 15 for Mac does not have a NumPages field, so total page number can't be displayed.

2015-12-28 22:42:13


I tried Damear's suggestion (Ctrl - F9) and it worked. Easier than shuffling the document through Word 2003.

2015-12-28 22:35:52


I have recently installed Word 2016. I struggled with how to insert the total number of pages. The selection for X of Y just inserted "pg. X", just the page number, not including the number of pages.

I finally resorted to saving the document, opening it in Word 2003 and using that handy header and footer toolbar for inserting the page number and total pages. Upon reopening the document in Word 2016, it is just as I wanted it. Now I have "Page X of Y" in my footer.

Cludgey, but it worked.

2015-10-23 19:43:15


do you know hwo ot make the page number automatically update instntly

so if i have 5 pages and i then go to page 6 - i want the quick part to update straight away (i.e it always reflects the current total number of pages) - doing it when you save will not help as it has to be instant for prining documents.

2015-10-04 00:56:29

tanim tanvir


2015-09-21 02:34:36

Richard Price

Damear has perfectly illustrated what I feel about the ribbon: Microsoft has produced something so clunky to use that we all end up learning keyboard shortcuts instead, which must be the very definition of failure in GUI design.

2015-09-20 10:19:39


Jim, sorry, I don't have a Mac to check on, but according to a quick Google search you can use Cmd+F9 instead of Ctrl+F9 to insert a field, then F9 to update it (or rather all fields in the document).

Unfortunately, F9 key may be reserved for Exposé in MacOS, and you will have to set this function to another key in the system, or modify the respective functions in Word to use another key. See for detail.

2015-09-19 13:12:33

Jim Bartlett

Damear -- This tip doesn't work on Word for Mac (Ver. 15). Do you have a Mac equivalent?

2015-09-19 11:51:41

Henry Noble

Damear is right. In an effort to make it easy, Microsoft has made the process tediously complex.

Remember, in Word 2003, the header and footer control dialog offered the most commonly used parts as buttons.

In Word 2010, when header/footer is active, the ribbon includes a Page Number button. From that, you can choose an option, then modify the format as desired.

2015-09-19 09:07:06


That's one hell of a scenic route to get a simple job done. What I do is 1) Position the insertion point where needed; 2) Press Ctrl+F9; 3) Type "NumPages" (without the quotes); 4) Press F9. PROFIT!

Newest Tips

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing