Skip to content
DocumentTaskLab

Word tasks · Math

Type an equation or fraction in Word

Written November 22, 2026

Typing 1/2 and hoping Word makes it look right works for the odd simple fraction and fails for everything else. Word's built-in equation tools build proper stacked fractions, powers, roots and sums that stay editable. This guide inserts an equation, builds a fraction step by step, adds powers and roots, and shows the keyboard shortcut that makes the whole thing fast.

Insert an equation

Microsoft describes the same route in its help on how to write an equation or formula: an equation is its own object in the document, with its own ribbon of structures.

  1. Put the cursor where the equation belongs. Click in the text at the insertion point. An equation can sit inline in a sentence or on its own line.
  2. Open Insert > Equation. On the Insert tab, choose Equation. A blank equation box appears and the Equation tab opens in the ribbon, showing groups for fractions, scripts, radicals, integrals and more. The keyboard route is Alt+= in Word for Windows.
  3. Or start from a built-in equation. The small arrow beside the Equation button lists ready-made equations — the Pythagorean theorem, the area of a circle and others. Pick one and edit its letters and numbers instead of building from nothing.

Build a fraction

  1. Choose the Fraction structure. On the Equation tab, open Fraction and pick the stacked fraction — the first, standard style, with the numerator over the denominator and a horizontal line between them.
  2. Fill the top box. An empty fraction appears with a small box above and below the line. Click the top box and type the numerator.
  3. Fill the bottom box and step out. Click the bottom box and type the denominator. Press the right-arrow key or click after the fraction to leave the structure and keep typing the rest of the equation.
  4. Nest if you need to. A box can hold another structure: click inside a numerator and insert another fraction, a power or a root there. Build outward from the innermost piece if an expression gets complicated.

Powers, roots and other structures

The same pattern — pick a structure, fill its boxes — covers the rest of school and office math. Script gives superscripts and subscripts, so x squared is a Script structure with x in the main box and 2 in the raised box. Radical gives square roots and nth roots, with a box under the root sign and an optional box for the root's index. Large Operator gives sums and integrals with limits above and below. Symbols you cannot type — pi, infinity, less-than-or-equal — live in the Symbols gallery on the same Equation tab; click More to expand the full set. Greek letters and operators are all there, so there is no need to hunt through the general Insert Symbol dialog.

Type faster with the slash shortcut

Inside an equation box, Word understands typed shorthand: type 1/2 followed by a space and it converts to a stacked fraction; type x^2 and a space for a power; type \sqrt and a space for a root sign, \pi for pi, \alpha for alpha. This is often quicker than the ribbon once you know a handful of codes. If a conversion does not happen, check that you are inside an equation box — the shorthand works only there, not in ordinary text — and that you pressed space or an arrow key after the code to trigger it.

Professional and linear

An equation can show in Professional form — stacked fractions, raised powers — or Linear form, where everything sits on one line as typed codes. The toggle is on the Equation tab. Linear form is handy for editing a long equation without the boxes, then switch back to Professional for the final look. The document stores the same equation either way.

When a plain fraction is enough

For a lone simple fraction in ordinary text — a half, a quarter, three eighths in a recipe or a report — you may not need an equation at all. Word's AutoFormat can turn a typed 1/2 into the single fraction character ½ as you type, if that option is on. That character cannot grow into a larger expression, and fractions like 5/16 have no single character, so anything beyond the common few belongs in a real equation. Do not mix the two styles through one document: pick equations for a math-heavy piece and use them throughout.

End state

When it goes wrong

Related document tasks

Sources

  • Microsoft Support, Write an equation or formula — inserting equations, the structures on the Equation tab, built-in equations, and linear versus professional form.