logo
search
Office Compatibility Issues

How to Fix Word Showing Equations in a Gray Box

Huma Ashraf ChHuma Ashraf Ch Oct 21, 2026 870 views

Question details

The user's Microsoft Word document displays a gray placeholder box with the word 'Equation' instead of rendering the actual mathematical formulas.

How to Fix Word Showing Equations in a Gray Box
Product
Microsoft Word (Desktop and Web)
Device & OS
not provided
Scenario
Opening or editing a document containing mathematical equations.
Observed behavior
Equations are not visible and are instead replaced by a gray box indicating an equation placeholder, often due to web rendering limitations or field code settings.
Before you start

Verify whether you are viewing the document in Word for the Web or the desktop application, as equation support differs significantly between the two platforms.

Solution 1Recommended

Toggle Field Code Display in Desktop Word

Use this method if you are using the desktop version of Microsoft Word, as you may have accidentally enabled the field codes display setting.

In Microsoft Word, equations are sometimes treated as field codes. If your settings are configured to display field codes instead of their results, your equations will appear as raw text or placeholders.

1
Open the document in desktop Word

Launch the Microsoft Word desktop application and open the document containing the affected equations.

2
Toggle field codes

Press the 'Alt' and 'F9' keys simultaneously on your keyboard. This shortcut toggles the view between field codes and their actual results.

3
Switch to Print Layout

Navigate to the 'View' tab on the top ribbon and select 'Print Layout'. This ensures the document is rendering elements exactly as they will appear when printed or exported.

Toggle Field Code Display in Desktop Word
Update Document: If the equations do not appear immediately after pressing Alt+F9, try selecting all text (Ctrl+A) and pressing F9 to update the fields.
Free Microsoft Office alternative

Edit Documents with Complex Equations Seamlessly in WPS Office

If Microsoft Word's web limitations or field code settings are disrupting your workflow, try WPS Office. It provides robust desktop-level equation rendering for free, ensuring your math formulas display perfectly without gray placeholder boxes.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open your document: Launch WPS Writer and open your .docx file containing the mathematical equations.
  3. 3. View and edit instantly: Navigate to your equations to view, format, and edit them natively without web limitations or placeholder boxes.
Fully compatible with Microsoft Word (.docx) formats and equation objectsAdvanced built-in equation editor for seamless mathematical formattingFree and lightweight office suite available on Windows, Mac, and LinuxIntuitive user interface that makes transitioning from Microsoft Office effortless
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word show field codes instead of equations?

Word uses field codes as hidden instructions to generate dynamic content, including equations. If the field code display setting is turned on (often by accidentally pressing Alt+F9), Word will show the raw placeholder instructions rather than the formatted mathematical equation.

Can I edit equations in Word for the Web?

Editing existing equations in Word for the Web is highly limited. Complex equations created in the desktop app often display as gray placeholders online and must be opened in the desktop application to be properly viewed or modified.

How do I ensure my equations print correctly in Word?

To guarantee equations print properly, always verify them in 'Print Layout' view under the 'View' tab. This view provides the most accurate representation of document elements, ensuring placeholders aren't printed by mistake.