Chapter-Based Equation Numbers in Word Documents

Set up Word equation numbers that include the chapter, such as (2.1), using heading-linked fields that restart at each chapter and stay correct after edits.

Long documents such as theses, technical reports, and manuals often need equation numbers that show the chapter, like (2.1) for the first equation in Chapter 2. A simple running count from (1) to the end of the file makes it hard for readers to find an equation by its number. It also means that adding one equation early in the document renumbers everything after it, and any typed reference to an old number goes wrong. Word equation numbering with chapter fixes both problems when the number is built from fields instead of typed by hand.

This guide is for writers who already use heading styles and want each chapter to restart its equation count automatically. You will connect the chapter number to your headings, add a sequence counter that resets at each chapter, and bookmark the numbers so the text can refer to them. The steps use built-in Word fields, so you do not need an add-in.

If you write or edit the file in the UniDoc web editor, or send it through OmniDoc translation, the same structure applies, but you should check the numbers after each step that changes the file.

How do you number equations by chapter in Word? The short answer

Put a chapter number taken from your numbered Heading 1 in front of a sequence counter that resets at each heading, and place both in a right-aligned cell next to the equation.

Your situationWhat to doWhy
Chapter titles are not numbered yetLink Heading 1 to a multilevel list before adding equationsThe chapter prefix has nothing to read until headings carry numbers
Chapter titles are numberedInsert a STYLEREF field that points to Heading 1 for the chapter prefixThe prefix updates when a chapter is added, removed, or moved
Equations sit inline in a sentenceMove each numbered equation to its own lineThe number needs a separate line to sit at the margin
Text refers to equationsInsert cross-references to bookmarked numbersTyped references go stale when numbers change
The file will be translatedCheck the number fields in the downloaded outputField codes need to survive the conversion, and you should confirm they do

Before you start

  • Confirm your chapter headings use Heading 1. The chapter prefix reads from heading styles. If a chapter title uses body text formatting with bold, the field returns nothing and the number appears as an error or blank.
  • Make sure the headings display 1, 2, 3. The STYLEREF field shows the number that Word displays on the heading. If the headings have no numbers, the prefix will be missing from every equation.
  • Choose your format now. Decide whether the separator is a period (2.1), a hyphen (2-1), or something else, and use it everywhere. Your department or journal style guide may already specify one.
  • Save a copy of the file. Field codes look like text with braces around them, and deleting one brace can break a number. Keep an untouched copy so you can compare.
  • Turn on field shading if your editor offers it. Shading shows which numbers are fields and which are typed text, so you can spot any typed number that should be a field.

Word equation numbering with chapter: step by step

  1. Check the chapter headings. Confirm that every chapter title is a Heading 1 paragraph and shows its number. Fix this first, because every equation number depends on it.
  2. Set up the equation line. Put each numbered equation in its own paragraph. A common layout is a borderless three-column table: the left column is empty, the middle column holds the centered equation, and the right column holds the number.
  3. Start the number in the right cell. Right-align the right cell so the number sits at the margin, then type an opening parenthesis.
  4. Insert the chapter field. Insert a STYLEREF field that points to Heading 1 and uses the \s switch, which returns the heading's number. The field now shows the current chapter number, such as 2.
  5. Add the separator and the sequence counter. Type a period, then insert a SEQ field with the name Equation and the switch \s 1. The \s 1 switch restarts the counter after each Heading 1, so the first equation in each chapter reads 1. Type the closing parenthesis.
  6. Bookmark the numbers. Select the complete number, including both fields and the parentheses, and create a bookmark for it. Give each equation a unique bookmark name so you can find it later.
  7. Refer to the equations by cross-reference. In the body text, insert a cross-reference to the bookmarked number instead of typing "(2.1)". When you add or move equations, references update with the numbers.
  8. Update all fields. Word does not always refresh these numbers while you type, so update all fields before you print, export, or send the file. Then go to the check table below.

Check the result

CheckHow to see itIf it's wrong
Chapter prefixAn equation in Chapter 2 shows 2 before the separatorConfirm Heading 1 is linked to numbering, then update all fields
Counter restartsThe opening equation in each chapter ends in .1Check that the SEQ field has the \s 1 switch and that the chapter headings are Heading 1
Cross-referencesClick a reference and confirm it points to the right equationDelete the reference and insert it again from the bookmark
Numbers after editsAdd a test equation in an early chapter, then update fieldsRemove any typed numbers and replace them with fields
Translated outputCompare the numbers and references in the downloaded fileIf numbers are plain text or do not match, reapply the fields in the output, or keep the original as the master file and translate a copy

When you translate a file, OmniDoc keeps layout, tables, formulas, and pictures, but the translation does not change your numbering logic. Read the translated text around each equation and check that the references still point to the correct numbers. Translation is machine-assisted, so review any important terms and sentences before you submit the file.

❓ FAQ

1. What if my equations use a hyphen instead of a period?

Replace the separator text between the two fields with a hyphen. The chapter and sequence fields stay the same, so the number still restarts at each chapter.

2. Why does my equation number show an error or a blank chapter?

The chapter field is probably pointing at a paragraph that is not Heading 1 or does not have a number. Fix the heading style and numbering, then update all fields.

3. How do appendices get their own prefix?

If appendix headings use letters, the same STYLEREF field usually returns the letter, so equations read A.1. Check the first appendix equation after you update fields to confirm this in your file.

4. Does translation keep the chapter-based numbers?

OmniDoc keeps the layout, formulas, and pictures in translated output, but you should confirm that the number fields and cross-references still behave as expected. If they do not, use the original file as the master and reapply the fields.

5. How is this different from simple sequential numbering?

Sequential numbering counts from 1 to the end of the document. Chapter-based numbering adds the chapter number and restarts the counter at each Heading 1, so the equation number tells the reader where it sits.

📝 Summary

Word equation numbering with chapter works well when the chapter prefix and the sequence counter are both fields tied to your Heading 1 paragraphs. Bookmark the numbers, refer to them with cross-references, and update all fields before you share the file. Check the numbers again after any major edit or translation.

Open OmniDoc to edit and export your documents

Updated 2026-11-04