How to Write Math Equations in Word (6 Methods)

Updated 6 min read Video

Quick answer

To write a math equation in Word, press Alt + = (or go to Insert > Equation) to open an equation box, then type the formula or build it with the Structures and Symbols on the Equation tab. You can also hand-write it with Ink Equation, type linear shortcuts like a/b, or insert a built-in formula.

Watch the video walkthrough

Word’s equation editor is built in, so you don’t need an add-in for school or research formulas. Every method below creates a real, editable Word equation that stays sharp in print and PDF.

Inserting an equation box

Use this when you know what you want to type and just need a place to type it.

  1. Click where the equation should go.
  2. Press Alt + = on Windows. On any platform you can also go to Insert > Equation (on Windows, Insert > Equation > Insert New Equation).
  3. Type your formula inside the box that appears.

Result: Word adds a “Type equation here” box and opens the Equation tab on the ribbon.

Hand-writing an equation with Ink Equation

Use this when a formula is faster to draw than to type, especially on a touch screen or with a pen.

  1. Press Alt + = to open the Equation tab.
  2. Select Ink Equation. Microsoft also lists it under Draw > Ink to Math.
  3. Write the equation in the yellow area with your mouse, pen or finger.
  4. Use Erase or Select and Correct to fix any part Word misreads. Check the preview at the top.
  5. Select Insert.

Result: your handwriting becomes a typed equation in the document.

Tip: Write large and leave space between terms. Recognition improves noticeably when superscripts are clearly raised.

Building an equation with the Equation tab

Use this when the formula has fractions, radicals, integrals or matrices and you want to build it piece by piece.

  1. Open an equation box with Alt + = or Insert > Equation.
  2. On the Equation tab, open a gallery in the Structures group, such as Fraction, Script, Radical, Integral or Bracket.
  3. Pick a layout. Word inserts it with small dotted placeholder boxes.
  4. Click each placeholder and type its value. Placeholders can hold further structures, so you can nest a radical inside a fraction.
  5. Add Greek letters and operators from the Symbols group. Select the More arrow to see every symbol set.

Result: a fully structured equation that you can edit later by clicking it.

The second video below builds a complex equation from scratch with these tools, including fractions, superscripts and integrals.

If you only need a single character, such as π or ±, see our list of special symbols in Word instead.

Typing equations with linear format shortcuts

Use this when you want speed. Linear format lets you type math on one line and Word builds it up for you.

  1. Open an equation box with Alt + =.
  2. Type the formula in linear form, for example:
    • a/b then Space for a fraction;
    • x^2 then Space for a superscript, and x_1 for a subscript;
    • \sqrt(x) then Space for a square root;
    • \alpha, \pi or \sum then Space for symbols;
    • \degree for a degree sign, and \Delta or \delta for the delta symbol.
  3. To convert the whole equation at once, select Convert > Professional, or press Ctrl + = on Windows.
  4. To see the source text again, choose Linear from Convert, or press Ctrl + Shift + =.

Result: the typed text becomes a properly formatted equation.

These codes are Word’s Math AutoCorrect entries. Microsoft’s guide to UnicodeMath and LaTeX linear format lists them all, and they are case-sensitive.

Inserting a built-in equation

Use this when you need a standard formula, such as the quadratic formula or the Pythagorean theorem.

  1. Click where the formula should go.
  2. Go to Insert and select the arrow next to Equation.
  3. Pick a formula from the gallery.
  4. Edit the values if needed.

Result: the ready-made formula appears in your document.

Tip: To reuse your own formula, select it, open the equation’s drop-down arrow and choose Save as New Equation. It then appears in the same gallery.

Bringing in equations from ChatGPT or LaTeX

Use this when the equations already exist somewhere else, in an AI answer or in LaTeX source.

Check AI-generated maths before you rely on it. The formatting may be right while the formula itself is wrong.

Comparing the methods

MethodBest forWorks on
Equation box (Alt + =)Any new equationWindows (shortcut); Mac and web via Insert
Ink EquationHandwritten formulas, touch screensWord for Windows
Equation tab structuresComplex, nested formulasWindows, Mac
Linear format shortcutsFast typing once you know the codesWindows, Mac
Built-in equationsStandard textbook formulasWindows, Mac
LaTeX input or AI exportFormulas that already exist elsewhereWord for Microsoft 365 (LaTeX input)

Platform differences

  • Windows: every method works. Alt + =, Ctrl + = and Ink Equation are Windows features.
  • Mac: go to Insert > Equation, then use the Equation tab’s structures, symbols and linear typing. Ink Equation isn’t available.
  • Word for the web: current versions can insert and edit equations from Insert > Equation, but the tool set is smaller. Use Open in Desktop App for Ink Equation or LaTeX input.
  • Google Docs: it has its own, simpler editor; see how to write math equations in Google Docs.

Troubleshooting equations in Word

  • Equation is greyed out: the file is probably an old .doc in Compatibility Mode. Save it as .docx with File > Save As.
  • \alpha stays as text: you typed it outside an equation box. Press Alt + = first, or turn on Use Math AutoCorrect rules outside of math regions under File > Options > Proofing > AutoCorrect Options > Math AutoCorrect.
  • An old equation can’t be edited: it was probably made with the legacy Equation Editor 3.0, which Microsoft has removed. Retype it with the current tools.
  • Equations look wrong in a PDF: export with File > Save As > PDF rather than printing to PDF. See how to convert Word to PDF.

For more symbol and formula guides, browse the Microsoft Word guides.

Frequently asked questions

What is the shortcut for inserting an equation in Word?

On Windows, press Alt + = to open a new equation box at the cursor. On a Mac, use Insert > Equation.

How do I type a fraction in a Word equation?

In an equation box, type a/b and press Space. Word turns it into a stacked fraction. You can also pick Fraction under Structures on the Equation tab.

Can I write equations by hand in Word?

Yes. On the Equation tab, select Ink Equation, write the formula with a mouse, pen or finger, check the preview and select Insert. It works in Word for Windows.

Can I type LaTeX in Word's equation editor?

Yes, in Word for Microsoft 365. Switch the equation's input format to LaTeX on the Equation tab, type or paste the formula and convert it to Professional.

Why is the Equation button greyed out?

The document is usually in Compatibility Mode (an old .doc file). Save it as a .docx file with File > Save As, and the Equation tools become available.