Field codes: NumChars field

Applies To
Word for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac

The NumChars field inserts the number of characters in the document, using information from the Statistics tab in the Properties dialog box. To view the Properties dialog box, go to the File tab, select Info > Properties (on the right side), and then select Advanced Properties.

Syntax

When you view the NumChars field in your document, the syntax looks like this:

{ NUMCHARS }

Note

A field code tells the field what to display. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Example

The = (Formula) field ⁠{⁠ = ⁠{⁠ NUMCHARS ⁠}⁠ / ⁠{⁠ NUMWORDS ⁠} }⁠ calculates average word length by dividing the number of characters by the number of words.