Word guide · Windows and Mac

How to number equations in Word

To number an equation in Word, put the equation on its own line, type #(1) at the end of it and press Enter: Word keeps the equation centred and sets (1) at the right margin. For numbers that renumber themselves when you add or move an equation, insert a caption number from References › Insert Caption on the line below and paste it between the brackets, because Word won't insert a caption inside an equation.

By André Antão Published 14 min read
The short answer
  1. Click on an empty line and press Alt+= (or choose Insert › Equation) to start an equation.
  2. Type the equation, then type #(1) at the very end, with nothing after it.
  3. Press Enter. The equation stays centred and (1) moves to the right margin.
  4. For automatic numbers, replace the 1 with a caption field (section 02) and cross-reference it through a bookmark (section 03), or use a three-cell table (section 04).

01Number an equation with #

The # method is Word's built-in way to put an equation number at the right margin. You type the equation, then #, then the number in brackets, and press Enter. Murray Sargent of Microsoft describes it for Word 2016 and later on his archived Office maths blog (Microsoft Learn, Equation Numbering in Office 2016): Word turns the line into an equation array, a maths structure that can hold several aligned parts, and pushes whatever follows the # to the right margin. The equation stays in display style, centred, at full size.

A display equation is an equation on a line of its own, set at full size and centred. An inline equation sits inside a sentence and Word shrinks fractions and limits to fit the line. Only a display equation should carry a number.

Write the equation in MS Word first

  1. Press Enter to start an empty paragraph for the equation.
  2. Choose Insert › Equation. On Windows the shortcut is Alt+= (Microsoft Support, Write an equation or formula). A box appears with "Type equation here", and the Equation tab opens on the ribbon.
  3. Type the equation, or build it from the Structures group (fractions, scripts, radicals). Microsoft calls the finished, built-up view Professional and the one-line source view Linear (Microsoft Support, Linear format equations using UnicodeMath and LaTeX in Word).

Add the number

  1. Click at the very end of the equation, inside the equation box.
  2. Type #(1). In a thesis with chapter numbers, type the full number, for example #(3.1).
  3. Press Enter. The number jumps to the right margin and Word starts a new paragraph below.

In the sample thesis "Brand trust and customer loyalty in subscription services", section 3.2 has two regression models. Typed as LOY=β_0+β_1 BT+β_2 SAT+β_3 PV+ε#(3.1), the first one becomes the line shown in the "Typed with #" page of Figure 1.

Figure 1Two regression models from section 3.2 of the sample thesis. Typed with spaces: each number lands in a different place, and neither equation is centred. Typed with #: Word centres each equation and puts (3.1) and (3.2) at the right margin.

The typed number is plain text. If you add an equation before (3.1), every number after it is now wrong and has to be retyped, and so does every "Equation (3.1)" in your text. For a short paper with five equations that is fine. For a thesis with forty, use the automatic numbers in the next section.

On a Mac

MacStart the equation with Insert › Equation. Microsoft's post describes the # method for Word 2016 and later without separate Mac steps. I tested it in Word for Microsoft 365 on Windows and had no Mac to test on, so check the result on screen after pressing Enter.

02Equation numbers that update themselves

Automatic equation numbers in Word come from a caption field. References › Insert Caption with the label Equation inserts a SEQ field, a code that counts every item with the same label and shows the next number (Microsoft Support, Field codes: SEQ field). Put that field between the brackets after # and the number changes by itself when equations are added, deleted or moved, once you update fields.

There is one catch, and I found it by testing: Word won't run Insert Caption while the cursor is inside an equation. It reports that the command is not available inside a math object argument. So the caption goes on an empty line first and its number is moved into the equation. Sargent's post describes the same idea: once one number is in place, copy and paste it to number the other equations (Microsoft Learn, Equation Numbering in Office 2016).

  1. Write the equation with a placeholder number, for example #(1), and press Enter, as in section 01.
  2. Click on the empty line below the equation, outside the equation box.
  3. Choose References › Insert Caption. Under Label, choose Equation. If your Word has no Equation label, click New Label, type Equation and click OK.
  4. Tick Exclude label from caption, so the caption is just the number, not "Equation 1". Click OK.
  5. Select only the number Word inserted (it turns grey when selected, because it is a field) and cut it with Ctrl+X. Delete the empty line that is left.
  6. In the equation, select the placeholder 1 between the brackets and paste with Ctrl+V.
  7. For the next equation, copy that number field, including its brackets if you like, and paste it after the next #. Word counts each pasted copy as the next equation.

Pasted copies show the number they were copied with until fields are updated. Select the whole document and press F9: WindowsCtrl+A, then F9 (Microsoft Support, Add, format, or delete captions in Word). MacCmd+A, then F9; Microsoft notes that you may need to change a macOS keyboard setting for F9 to reach Word (Microsoft Support, Keyboard shortcuts in Word). Word then numbers them 1, 2, 3 in document order.

Chapter numbers: (3.1) instead of (1)

Chapter-based equation numbers in Word, such as (3.1) for the first equation in Chapter 3, come from the caption's numbering options. Microsoft's instructions require a unique heading style for chapter titles, numbered with a multilevel list (Microsoft Support, Add chapter numbers to captions in Word). Set that up before you insert the first caption.

  1. Number the chapter titles: click in a chapter title that uses Heading 1, choose Home › Multilevel List and pick a list that includes Heading 1 or "Chapter 1". My guide to numbered chapter headings in Word covers this step in full.
  2. In Insert Caption, click Numbering.
  3. Tick Include chapter number. Under Chapter starts with style, choose Heading 1.
  4. Under Use separator, choose the full stop (period) for 3.1. Microsoft's example uses the hyphen, which gives 3-1. Click OK twice.
Figure 2The Caption Numbering dialog, opened from References › Insert Caption › Numbering in Word for Windows. Include chapter number, Heading 1 as the chapter style and the full stop as separator give equation numbers like 3.1, 3.2 and 4.1.

In my test, the number restarts at 1 in each chapter by itself. The caption is built from two fields, the chapter number and the equation count, and the count resets at each Heading 1. Changing these numbering options later also renumbers the Equation captions already in the document.

Forty equations still numbered by hand?I can convert them to automatic numbers for you

03Refer to an equation in the text

A cross-reference links to another part of the same document, and Word inserts it as a field (Microsoft Support, Create a cross-reference), so its number changes when you update fields. For an equation numbered with # and a pasted caption field, the cross-reference has to point at a bookmark. When I chose the equation itself as the target, Word inserted the whole equation into the sentence, not the number, because the number shares its paragraph with the equation.

Bookmark the number

  1. In the equation, select the number field, with or without its brackets.
  2. Choose Insert › Bookmark. On the simplified ribbon, click the three dots first.
  3. Type a name such as eq_loyalty and click Add. Bookmark names start with a letter and can't contain spaces; use an underscore between words (Microsoft Support, Add or delete bookmarks).

Insert the cross-reference

  1. In your text, type the words before the number, for example "as Equation (" or "in (".
  2. Choose Insert › Cross-reference. MacUse the Insert menu, then Cross-reference, in Print Layout view.
  3. Set Reference type to Bookmark and Insert reference to to Bookmark text.
  4. Pick the bookmark, keep Insert as hyperlink ticked if readers of the PDF should be able to click it, and click Insert. Type the closing bracket.
Figure 3The Cross-reference dialog in Word for Windows, set to insert the text of a bookmark. Each equation number has its own bookmark, here eq_loyalty and eq_wom, so the reference shows only the number, such as 3.1, and follows it when equations are renumbered.

In my test the sentence read "As shown in (1)" straight after inserting, and the reference changed to the new number after Ctrl+A, F9. On a Mac, Microsoft's instructions update all cross-references by selecting the whole document, Control-clicking it and choosing Update Field (Microsoft Support, Create or update a cross-reference).

Cross-references to figures, tables and headings work the same way; the dedicated guide to cross-references in Word that update themselves covers the other reference types.

Bookmarking every equation in a 200-page thesis?I can set them up for you

04The table method for a thesis

The table method puts each numbered equation in a borderless table of one row and three cells: a narrow empty cell, a wide middle cell with the equation, and a narrow right cell with the caption number. Sargent described this layout in 2014, before Word 2016 added the # method, as the one he preferred, because it keeps display-size maths and lets long equations wrap (Microsoft Learn, More on Equation Numbering). It still works in current Word. Its advantage over # is that the number sits in its own paragraph, so a normal cross-reference to the Equation caption shows just the number, with no bookmarks.

Figure 4An equation in a three-cell table, shown with table gridlines turned on (Layout › View Gridlines; they don't print). The middle cell centres the equation, the right cell holds the caption number 3.1 aligned right, and the sentence below refers to it with a cross-reference.
  1. Click on an empty line and choose Insert › Table, then a grid of 3 × 1 (three columns, one row).
  2. Make the left and right columns narrow and equal, for example 1.5 cm each, by dragging the column borders or in Layout › Cell Size (the table's Layout tab).
  3. Choose Layout › AutoFit › AutoFit Window so the table spans the text width and the number stays at the right margin if the margins change (Microsoft Support, Resize a table, column, or row).
  4. Click in the middle cell, insert the equation with Alt+= and centre the cell. An equation alone in its cell stays in display style; I checked this in Word.
  5. Click in the right cell and choose References › Insert Caption, label Equation, with Exclude label from caption ticked. Type brackets around the number and align the cell right.
  6. Select the table and choose Table Design › Borders › No Border.
  7. To refer to it, choose Insert › Cross-reference, set Reference type to Equation and Insert reference to to Only label and number. With the label excluded, Word inserts just 3.1, so type the brackets yourself.

The number takes Word's Caption style, which in Word for Microsoft 365 is 9 pt italic in dark blue (the theme's Text 2 colour). Don't change the Caption style itself, because your figure and table captions use it too. Select the number and apply your body text style instead; in my test the caption still appeared in the cross-reference list after the change.

Make it once, reuse it

Once one equation table looks right, copy and paste it for each new equation and replace the equation inside. The pasted number becomes the next one after you update fields.

05Which method to use

Word offers three practical ways to number equations: a typed number after #, a caption field after #, and a caption field in a three-cell table. All three keep the equation centred at display size. They differ in whether numbers update and how much work a cross-reference takes. Table 1 compares them as I tested them in Word for Microsoft 365.

Three ways to number equations in Word
Question# with a typed number# with a caption fieldThree-cell table
Numbers updateNo, retype themYes, after F9Yes, after F9
Chapter numbers (3.1)Typed by handYes, from NumberingYes, from Numbering
Cross-referenceTyped by handThrough a bookmark per equationDirect: Equation, Only label and number
Margin changesNumber follows the marginNumber follows the marginTable follows if set to AutoFit Window
Best forA paper with a few equationsMany equations, few referencesA thesis that refers back to its equations
Table 1The three methods compared on what matters in a thesis: whether numbers update, chapter numbers, cross-references and margin changes.

My recommendation for a thesis is the table method, because examiners notice a wrong equation reference and the table method makes references the easiest to keep right. Whichever you choose, use one method for the whole document: mixing them means the count is shared but the references are made in two different ways.

An older trick puts a centre tab before the equation and a right tab before the number. Avoid it. In my test, an equation with a tab before it on the same line became an inline equation, and Sargent's blog confirms that inline typography shrinks fractions and moves summation limits to the side (Microsoft Learn, More on Equation Numbering).

06How equations should be numbered

The common rule for equation numbers is Arabic numerals in parentheses at the right margin, numbered in order through the document. IEEE states it plainly: equations are "numbered consecutively from the beginning of the article to the end", with the number flush right, level with the last line of the equation (IEEE Editorial Style Manual for Authors, updated 29 July 2024).

IEEE also allows variants that theses often use. Some IEEE journals permit numbering by section, such as (1.1), and appendix equations may continue the main numbering or restart as (A1), (A2) (IEEE Editorial Style Manual for Authors; IEEE Mathematics Style Guide for Authors). In the text, IEEE writes "in (1)" and uses the word "Equation" only at the start of a sentence (IEEE Editorial Style Manual for Authors).

Other styles and universities set their own rules, and I could not find a page on equation numbers on APA Style's free website, so I don't quote an APA rule here. Your university's thesis guide decides these points:

  • Whether equations are numbered by chapter (3.1) or straight through (1), (2), (3).
  • Whether every displayed equation gets a number, or only those referred to in the text.
  • How appendix equations are numbered, for example (A.1) or continuing the main sequence. My guide to thesis appendices covers appendix labels and numbering.
  • How equations are cited in the text: "Equation 3.1", "Eq. (3.1)" or "(3.1)".

Equation numbers are one part of the long-document setup. The complete Word setup for a thesis puts them in order with styles, numbered headings and section breaks, and the thesis formatting checklist lists what to check before submission.

07Equation numbers wrong? Fixes

Most equation numbering problems in Word come from one of seven causes, one for each fix below: the # line isn't set up right or the file was opened in an app that doesn't support #, a tab or text has made the equation inline, fields haven't been updated, a cross-reference points at the whole equation, the chapter headings aren't list-numbered, a cross-reference points at something deleted, or field codes are showing. The fixes below are the ones I use when a thesis arrives with broken numbers.

The number sits next to the equation, not at the margin

The # needs a display equation. Check that nothing else is on the line: no text before the equation, no tab, no full stop after it. Then click at the end of the equation and press Enter again. Sargent notes that apps unaware of this feature show the number next to the equation instead of at the margin (Microsoft Learn, More on Equation Numbering), so a file opened in an app or an older Word version that doesn't support the # method can look like this even though it is correct in Word 2016 and later.

The equation went small

A tab, a space or text on the same line turns the equation into an inline equation, which Word sets in smaller, compressed form. Delete everything on the line except the equation. If the number has to be beside it, use # or the table method.

The numbers didn't change after I moved an equation

Caption numbers are fields and change only when fields update. Press Ctrl+A, then F9 (Cmd+A, then F9 on a Mac; add Fn if F9 changes the volume). If one number still doesn't change, it was typed, not inserted as a field: replace it with a copy of a working number field.

The cross-reference shows the whole equation

The reference points at the Equation caption, and with the # method that caption's paragraph is the equation itself. Delete the reference, bookmark the number as in section 03, and insert a cross-reference to the bookmark text.

The numbers read (0.1), (0.2)

Word found no numbered chapter heading. In my test, the chapter part of the caption showed 0 both before the first Heading 1 and under a Heading 1 that wasn't numbered by a multilevel list. Number the chapter headings with Home › Multilevel List, check that the equation comes after its chapter title, and update fields.

"Error! Reference source not found."

The equation number or bookmark the cross-reference pointed at is no longer in the document (Microsoft Support, Create or update a cross-reference). This happens when an equation is deleted and retyped. Delete the reference and insert it again from Insert › Cross-reference.

You see { SEQ Equation \* ARABIC } instead of a number

Word is showing field codes. Press Alt+F9 on Windows or Option+F9 on a Mac to switch all fields back to their results (Microsoft Support, Keyboard shortcuts in Word).

Submission next week and the numbers still won't behave?Send me the file and I'll fix them

08Questions people ask

How do I align equation numbers to the right in Word?

To align an equation number to the right in Word, type # and the number in brackets at the end of a display equation and press Enter. Word sets the number at the right margin and keeps it there if the margins change.

Can I put equation numbers on the left?

The # method always puts the number on the right. For left-hand numbers, use the three-cell table and put the caption number in the left cell instead of the right one.

How do I number equations in LaTeX instead?

LaTeX numbering works differently from Word and isn't covered on this page. If you are moving a thesis between the two, the guide to converting LaTeX to Word and typing LaTeX maths in Word covers that route.

Do equation numbers appear in the table of contents?

No. The table of contents lists headings only. A separate list of equations is possible with References › Insert Table of Figures and the caption label Equation; in my test it listed equations numbered with the table method. Few universities ask for one. The table of contents guide explains how such lists are built and updated.

How this was checked

Every method on this page was tested in Word for Microsoft 365 on Windows 11 (version 16.0, build 16.0.20430): the # number, Insert Caption inside and outside an equation, pasting a caption field into an equation, bookmark and Equation cross-references, chapter numbers and the table method. I had no Mac to test on; the Mac steps are Microsoft's own. The rules come from the IEEE Editorial Style Manual for Authors and the IEEE Mathematics Style Guide for Authors, and the Word steps from the Microsoft pages listed under Sources. Your university's thesis guide always wins.

André Antão is a university lecturer in Management and Marketing at the Polytechnic University of Portalegre and a PhD candidate in Management. He has formatted theses in Word and LaTeX for 8 years.

Sources

  1. Write an equation or formula Microsoft Support
  2. Linear format equations using UnicodeMath and LaTeX in Word Microsoft Support
  3. Equation Numbering in Office 2016 (Murray Sargent, Microsoft's maths blog, archived) Microsoft Learn
  4. More on Equation Numbering (archived) Microsoft Learn
  5. Add, format, or delete captions in Word Microsoft Support
  6. Add chapter numbers to captions in Word Microsoft Support
  7. Field codes: SEQ (Sequence) field Microsoft Support
  8. Create a cross-reference Microsoft Support
  9. Create or update a cross-reference (Word for Mac) Microsoft Support
  10. Add or delete bookmarks in a Word document or Outlook message Microsoft Support
  11. Resize a table, column, or row Microsoft Support
  12. Keyboard shortcuts in Word Microsoft Support
  13. IEEE Editorial Style Manual for Authors (updated 29 July 2024) IEEE
  14. IEEE Mathematics Style Guide for Authors (V 10.27.2023) IEEE