You want to show slide numbers in a “Page X of Y” format in PowerPoint. This format displays the current slide number and the total number of slides, like “Page 3 of 12”. The built-in slide number option only shows a single number. You must use the Slide Master, a text box, and a simple field code to create this effect.
This article explains how to set up “Page X of Y” numbering on every slide. It covers the Slide Master method, field code insertion, and formatting. You will also learn how to exclude the title slide and fix common display issues.
Key Takeaways: Setting Up “Page X of Y” in PowerPoint
- View > Slide Master: Edit the master slide layout to add a text box with field codes for automatic numbering.
- Ctrl+F9 to insert field brackets: Use this keyboard shortcut to manually type the Page and TotalPage field codes.
- Insert > Slide Number > Don’t show on title slide: Check this option to hide the numbering on the first slide.
Why the Built-In Slide Number Option Does Not Show “Page X of Y”
PowerPoint’s standard slide number feature inserts only the current slide number. It does not include a total slide count. The “Page X of Y” format requires two dynamic values: the current page number and the total number of pages. PowerPoint does not offer a direct setting for this format. You must create it manually using field codes inside a text box on the Slide Master.
The Slide Master controls the default layout for all slides. Any element you place on the master appears on every slide. By inserting a text box with field codes, you can display both numbers. The field codes update automatically when you add or remove slides.
Steps to Insert “Page X of Y” on All Slides via Slide Master
Follow these steps exactly. Work on the Slide Master, not on individual slides.
- Open the Slide Master view
Go to the ribbon and click View > Slide Master. This opens the master layout editing mode. The left pane shows the master slide at the top and all layout variants below. - Select the topmost master slide
Click the first thumbnail in the left pane. This is the master slide. Any element placed here will appear on all slide layouts. - Insert a text box
On the ribbon, click Insert > Text Box. Click and drag on the master slide where you want the page numbering to appear. The bottom-right corner is the standard location. - Type the static text
Inside the new text box, type Page (including a space after the word). Do not type the number yet. - Insert the current page number field code
Press Ctrl+F9 on your keyboard. This inserts a pair of gray curly braces{ }. Inside the braces, type Page. The field code should look like{ Page }. Press F9 to update the field. A number will appear. - Type the separator
After the field code, type a space, of, and another space. The text now reads “Page 1 of ” with the number from the field. - Insert the total page count field code
Press Ctrl+F9 again. Inside the new braces, type TotalPage. The field code should look like{ TotalPage }. Press F9 to update. The text now shows something like “Page 1 of 10”. - Format the text box
Select the text box. Use the Home tab to change font, size, and color. Center-align the text if desired. Adjust the text box size and position. - Close the Slide Master view
On the ribbon, click Slide Master > Close Master View. The page numbering now appears on all slides.
How to Exclude the Title Slide From “Page X of Y” Numbering
Most presentations should not show page numbering on the title slide. You can suppress the numbering on any slide that uses the Title Layout.
- Open the Insert tab
Go to Insert > Header & Footer. A dialog box opens. - Check the Slide number box
In the dialog, check Slide number. Then check Don’t show on title slide. - Apply to all slides
Click Apply to All. The title slide will now hide the page numbering while all other slides still show it.
Common Mistakes and Display Issues
Field codes show as { Page } instead of numbers
If you see the field code text instead of numbers, the fields are not updated. Select the text box and press F9 on your keyboard. This updates all fields in the selected object. Alternatively, press Ctrl+A to select everything on the slide, then press F9.
Numbering appears on the title slide even after checking the option
The “Don’t show on title slide” option only works if the title slide uses the built-in Title Layout. If you created a custom layout, the setting may not apply. Go to View > Slide Master, find the custom layout, and remove or hide the text box manually.
Total page count does not update when slides are added
The { TotalPage } field updates automatically when you add or delete slides. If it does not, save the presentation and close it. Reopen the file. PowerPoint recalculates all fields on open. You can also press Ctrl+A then F9 to force an update.
| Item | Built-In Slide Number | Manual “Page X of Y” Field Code |
|---|---|---|
| Display format | Single number only | “Page 1 of 10” or custom text |
| Setup location | Insert > Slide Number | View > Slide Master > text box with field codes |
| Updates automatically | Yes | Yes, after pressing F9 or reopening file |
| Exclude title slide | Built-in checkbox | Manual hide on master or per-slide |
| Custom formatting | Limited to font and position | Any text, font, color, or alignment |
You can now add “Page X of Y” numbering to any PowerPoint presentation. Use the Slide Master method to keep the formatting consistent across all slides. Remember to press F9 after adding or removing slides to refresh the field codes. For presentations with many slides, consider adding a second text box with the date or file name using Insert > Header & Footer for a professional finish.