Formatting Equations in Word: Layout and Fractions

Learn how to format equations in Word, covering display versus inline layout, spacing, and fraction styles, with checks to confirm the result.

Equations that look right on your screen often break when the file moves. A fraction sits too tight against the line above, a subscript drifts, or a formula turns into a flat picture after someone pastes it into a report. If you need to know how to format equations in Word, the fix usually comes down to three choices: whether the formula is a true editable object, whether it sits inline or on its own line, and how the fraction is built.

This guide covers layout, spacing, and fraction styles for equations in .docx files. It does not cover font-size fixes or equations cut off at the page edge, which need their own steps. You will learn which layout to pick, what to check before you edit, and how to confirm the result after you export or translate the file.

How do you format equations in Word? The short answer

Make each formula a native, editable equation object, use display mode for standalone formulas and inline mode for formulas inside a sentence, and build fractions with the fraction template instead of typed slashes or extra spaces.

Your situationWhat to doWhy
A formula is a key result on its own lineSet it as a display equation in its own paragraphStacked fractions, sums, and limits need vertical room
A short variable appears inside a sentenceUse inline modeKeeps line spacing even across the paragraph
A fraction looks cramped in running textSwitch to display mode, or use a short slash form for simple ratiosStacked fractions push lines apart when placed inline
The equation came in as a pictureRebuild it as an editable equationPictures cannot be edited symbol by symbol or spaced cleanly
The document will be translatedMake sure every formula is editable before uploadFormulas are kept in translated output, and you can only check what is editable

Before you start

  • Check whether the equation is editable. Click into the formula. If the cursor moves inside it and you can select a single symbol, it is an equation object. If it behaves like one flat block, it is probably an image, and you will need to retype it.
  • Decide where each equation belongs. Standalone formulas read better in display mode. Formulas inside a sentence should stay inline so the paragraph does not spread out.
  • Save a copy of the original file. Rebuilding an equation can change its spacing, and you may want to compare the old and new versions.
  • Know the output you need. A .docx for editing, a PDF for sharing, and a translated file each need a different final check. Decide which one you are producing before you start.

Formatting an equation in Word, step by step

  1. Place the cursor where the equation belongs. Click at the end of the line above, or on an empty paragraph where the formula will sit. Starting from a clean paragraph prevents stray text from shifting the layout.
  2. Insert a new equation object. Type the formula into an equation object instead of plain text. Typed symbols do not scale or align the way equation objects do, especially with subscripts and superscripts.
  3. Use display mode for a standalone formula. Display mode gives the formula its own line and full vertical space, so stacked fractions and summation limits are not squeezed. This is the right choice for key results.
  4. Build fractions with the fraction template. Insert a fraction, then type the numerator and denominator into their slots. The template keeps the bar centered and the two parts aligned, which typed slashes cannot do in display mode.
  5. Switch to inline mode for formulas inside a sentence. Inline formulas should stay small so they do not stretch the line height. For simple ratios such as a/b inside text, a slash form is acceptable. Use a stacked fraction only where it fits without pushing the lines apart.
  6. Control spacing with paragraph settings. Add space above and below the equation through the paragraph spacing options instead of pressing Enter to create blank lines. Blank lines drift when the text reflows, but paragraph spacing stays consistent.
  7. Check long equations. If an equation is too wide for one line, split it at a logical point, such as before the equals sign, and keep the alignment consistent across the lines. Use the same approach for each long equation in the document so the layout looks uniform.
  8. Save as .docx, then preview. Save the file, then open a preview or export it. If you need to edit the formulas in a browser, you can upload the .docx to the UniDoc web editor at app.unidoc.top, which supports Word-compatible editing and equations, and check them there.

Check the result

Once the file is saved or exported, go through each equation once.

CheckHow to see itIf it's wrong
Each formula is editableClick into it and select a single symbolRetype the formula as an equation object
Fraction bars are centeredZoom in on the page and compare numerator and denominatorReapply the fraction template instead of adjusting spaces
Inline formulas keep line spacingScroll through the paragraph and watch for uneven gapsSwitch to inline mode or replace a stacked fraction with a slash form
Spacing around display equations is evenCompare the gaps above and below each formulaAdjust paragraph spacing, not blank lines
Exported file matches the originalOpen the exported file and compare each formulaRe-export, or correct the formula in the UniDoc web editor
Translated formulas are intactCompare each formula in the bilingual output with the sourceCheck important formulas by hand; machine translation can miss context around labels and definitions

Machine translation and OCR can make mistakes, so check any formula or term that matters before you share the file.

🎯 Which approach fits you?

  • Writing a report or paper yourself: Build every formula as an equation object, use display mode for key results, and keep inline formulas short.
  • Working from a scanned PDF: Expect formulas to arrive as images or uncertain text. Retype them as equation objects before you format them, and check each one against the scan.
  • Translating a document with many formulas: Make sure all formulas are editable before upload, then review the bilingual output for each display equation.

❓ FAQ

1. Can I edit an equation that was pasted as a picture?

Not symbol by symbol. A picture can be resized, but its characters cannot be changed or re-spaced. Retype the formula as an equation object to edit it properly.

2. Why do my equations shift after I translate the file?

Formulas are kept in translated output, but the space around them can change when the surrounding text grows or shrinks. Check each display equation after download and adjust its paragraph spacing if needed.

3. Should I write equations in LaTeX instead?

If your journal, class, or colleagues work from LaTeX source, keep using it. The UniDoc web editor supports Word and LaTeX round trips, so you can move between the two without retyping every formula.

4. How do I align a long equation across several lines?

Split the equation at a logical point, such as the equals sign, and keep that split the same for every long formula in the document. Check the result in the preview, because line breaks in display equations can look different across viewers.

📝 Summary

Formatting equations in Word works well when each formula is an editable object, placed in display or inline mode to suit its role, with fractions built from the template. Set spacing with paragraph settings, then check every formula after export or translation. This approach keeps your equations readable and easy to fix later.

Open OmniDoc to edit and export your documents

Updated 2026-11-04