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)

11

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. ...

MORE FROM ALLEN

Rotating Fractions in a Text Box

Rotating graphics in Word is not always straight-forward, but it can be done. The tools on the Drawing toolbar allow you ...

Discover More

Reversing Type

Most text appears black on white, not white on black. If you want to change this so that your type is reversed, here's a ...

Discover More

Selecting the Entire Document with the Mouse

Want a quick way to select your entire document without taking your hand off of the mouse? Try clicking away using the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Understanding Default DATE Field Formatting

The DATE field is one of the most commonly used fields for placing dynamic information in your document. It is helpful to ...

Discover More

Inserting the Document Creation Date

One of the pieces of information tracked by Word is when a document was first created. Here's how you can access that ...

Discover More

Jumping Between Fields

Need to step through the fields in a document? It's easy using the shortcuts detailed in this tip.

Discover More
Subscribe

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

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. Maximum image size is 6Mpixels. 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 8 + 3?

2017-03-30 19:34:04

DonnaH

QUESTION: Your explanation is great for just the page number which I have no problem with. But...how do you change the Y of Page X of Y?

I have inserted Page X of Y and have a cover and TOC before page numbering is to begin. I get how to set up the page number (x) and start it at one on the correct page. My question is how do I get the total number of pages (y) to only include the total number of pages of the document, not to include the cover and TOC.

Thanks...


2017-01-08 01:10:25

maldoror

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


2015-12-28 22:42:13

Gramps

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


2015-12-28 22:35:52

Gramps

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

mo

hi
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

thanks...


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

Damear

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 http://word.mvps.org/mac/fieldsinmacword.html 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

Damear

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!


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

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.