How to Fix Word Showing Equations in a Gray Box
Question details
The user's Microsoft Word document displays a gray placeholder box with the word 'Equation' instead of rendering the actual mathematical formulas.

- 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.
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.
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.
Launch the Microsoft Word desktop application and open the document containing the affected equations.
Press the 'Alt' and 'F9' keys simultaneously on your keyboard. This shortcut toggles the view between field codes and their actual results.
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.

Open Document in Desktop Word Instead of Word for the Web
Use this method if you are working in Word for the Web, which has limited capabilities for rendering complex mathematical equations.
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. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open your document: Launch WPS Writer and open your .docx file containing the mathematical equations.
- 3. View and edit instantly: Navigate to your equations to view, format, and edit them natively without web limitations or placeholder boxes.

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.




