Number Equations With # in Word's Equation Editor
Learn how to number an equation with a typed # shortcut in Word's equation editor, check the result, and build the same layout in OmniDoc's web editor.
If you write a paper, lab report or technical manual, you will want numbered equations with the number sitting at the right margin, such as (1) or (2). Many people search for how to put equation number in word shortcut because they want a quick typed method instead of a longer detour through captions. The problem is that a number placed the wrong way can drift to the left, fall onto its own line, or disappear when the file is reopened.
This article shows the # method, which places a number beside a display equation while you are still working in the equation editor. You will get a short answer, the checks to make before you start, steps you can follow, and a way to confirm the result. The same layout can also be built in OmniDoc's UniDoc web editor, which is Word-compatible, if you work online.
How do I put an equation number in Word with a typed shortcut? The short answer
Type the formula on its own line, then type # followed by the number in parentheses, such as #(1), at the end of the formula, and press Enter. The number moves to the right margin and stays with the equation. Typed numbers do not update themselves, so you will need to retype them if you add or delete equations later.
| Your situation | What to do | Why |
|---|---|---|
| One or two numbered equations in a Word file | Use the # method in the equation editor | The number stays inside the equation object and moves with it |
| Many equations, and you add or remove some | Use caption numbering with a SEQ field | Caption numbers update when you refresh fields |
| You need to refer to "Equation 3" in the text | Use caption cross-references | Typed numbers cannot be linked to in the text |
| You work in the UniDoc web editor | Type the same # line and check the output | The web editor is Word-compatible, but test before relying on it |
| You write in LaTeX | Add a tag command to the equation | The numbering comes from the LaTeX source, not from typed text |
Before you start
- Use display style, not inline. An equation placed inside a sentence will not take a right-margin number. Give it its own paragraph so the layout has room to place the number.
- Confirm your Word version handles the # line. Behavior varies between versions, so run a one-equation test before numbering a whole document.
- Decide your numbering scheme. Choose plain numbers (1, 2, 3) or section-based numbers (2.1, 2.2). Typed numbers have to match whatever you choose, and changing the scheme later means retyping all of them.
- Plan for edits. If you expect to move equations around, the typed method will need manual fixes. Caption numbering is safer for long, changing documents.
- Have a test file ready. Use a short document with a simple formula, such as a = b + c, so you can check the layout without risking your main file.
Typing an equation number with #, step by step
- Place the cursor on an empty line. Put it where the equation belongs, on its own paragraph, so the number has a clear line to sit on.
- Insert a new equation. Use the equation editor's insert command to open an equation object at that spot.
- Type the expression. Enter the formula, for example a = b + c. Keep it short while you test the layout.
- Type the number marker at the end. After the formula, type # and then the number in parentheses, such as #(1). The # tells the editor that everything after it is the equation number.
- Press Enter to apply it. The editor converts the marker into a right-aligned number. If the number stays on the left or does not move, the equation is probably not in display style. Go back to the Before you start list.
- Repeat for each equation. Type the next number by hand, such as #(2), and keep the sequence consistent from top to bottom.
- Try the same line in the web editor. Open app.unidoc.top, create a new document, enter the same equation with the # line, and check whether the number sits at the right margin. If it does not, place the equation and number in a borderless two-column table as a general fallback.
- Save and reopen. Save the file, close it, and open it again to confirm that the numbers still appear in the right place.
Check the result
Once the numbers are in, check the document in print layout or the page view that shows margins. Look at each equation individually, then scan the whole document for sequence problems.
| Check | How to see it | If it's wrong |
|---|---|---|
| Number is at the right margin | Look at the page with margins visible | Confirm the equation is in display style on its own line, then retype the # marker |
| Numbers run in order | Scroll from the first equation to the last | Retype the numbers by hand, starting from the first one that is wrong |
| Number stays with its equation | Click the equation and see whether the number is selected with it | If the number is separate, delete it and retype the # marker inside the equation |
| Layout holds after reopening | Save, close, and reopen the file | If the layout shifts, save a copy as .docx and check it again in the editor you plan to use |
| Web version matches | Compare the same equation in the web editor and in your Word file | If the two differ, use the table fallback in that editor, or keep the final file in Word |
Also read each formula against your source. The layout check does not confirm that the symbols are correct, so compare each equation with your notes before submitting.
📊 At a glance
There are three common ways to number equations, and they suit different documents.
| Approach | Good fit for | Trade-off |
|---|---|---|
| Typed # method | A few equations in a short document | You retype every number after an edit |
| Caption numbering with a SEQ field | Long documents with edits and cross-references | Setup takes more steps than typing |
| LaTeX tag command | Equations that come from LaTeX source | Numbers come from the source file, not the Word text |
❓ FAQ
1. Why does my equation number appear on the left instead of the right?
The equation is usually inline rather than display style, or the number marker sits on the same line as text. Move the equation to its own paragraph and check the layout again.
2. Can I put a number on an inline equation?
Not in the way described here. Inline equations are part of the sentence, so a right-margin number does not fit. Put the equation on its own line first, then add the number.
3. Do I need LaTeX to number equations?
No. The # method and caption numbering work without LaTeX. LaTeX is worth considering only if your source files already use it.
4. What if the number looks different in the web editor?
Check the same equation in both editors and compare them side by side. If the web editor puts the number in a different place, use the table fallback there and keep your final version in the editor your readers will open.
📝 Summary
Typing # followed by a number in parentheses is a quick way to put an equation number in Word, as long as the equation sits on its own line. Retype the numbers when you change the document, and use caption numbering if you need automatic updates or cross-references. Check each equation after saving and reopening, and test the same layout in the UniDoc web editor if you work online.


