Word tasks · Math
Type an equation or fraction in Word
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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
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
- Fractions are stacked with a horizontal line, powers are raised, and roots carry the expression under the sign — all as one editable equation object.
- Clicking the equation reopens the Equation tab, and every box can be edited without rebuilding the expression.
- The equation reads correctly in Professional form and lines up with the surrounding text size.
When it goes wrong
- The Equation button is grayed out. The document may be in an old .doc format or compatibility mode, which limits newer features. Save a copy as .docx and insert the equation there.
- Typing goes into the wrong box. Click directly inside the small box you mean — boxes are small, and a click a few pixels off lands in the neighboring one. Zoom in for fiddly expressions.
- The equation pastes elsewhere as a picture or a mess. Equations are Word objects; pasting into another app may flatten them. If the destination is a web page or another editor, expect to rebuild or to paste an image of the equation deliberately.
- 1/2 in normal text will not stack. Typed text never stacks — that is what the equation structures are for. Insert an equation, or accept the single-character fraction for the common values.
Related document tasks
-
Add captions to pictures and tables in Word
Typing “Figure 3” by hand works until you insert a new picture on page 2 and every number after it is wrong.
-
Change line spacing and paragraph spacing for a whole Word document
Tight, even spacing is most of what makes a Word document look finished — and most spacing problems come from two settings being confused.
-
Create an index in Word for the back of a long document
Readers of a manual, report or book-length document expect to look a term up at the back and land on the right page.
-
Add a bibliography and citations in Word
Typing citations by hand means typing the same source again in the bibliography, in a different order, and fixing both places when a detail changes.
Sources
- Microsoft Support, Write an equation or formula — inserting equations, the structures on the Equation tab, built-in equations, and linear versus professional form.