X-Bar Sample Mean Symbol (x̄)

X-Bar Sample Mean Symbol

X-bar commonly represents the arithmetic mean of a sample.

Codes for x̄

Unicode
HTML entity
HTML decimal
HTML hexadecimal
CSS escape
JavaScript

How to Type x̄ on Windows and Word

For the most reliable Windows method, copy the symbol from this page. In Microsoft Word, type 0078 and press Alt+X. Word converts the hexadecimal Unicode value into x̄. Press Alt+X again to switch the symbol back to its code.

How to Type x̄ on Mac, Chromebook, and Linux

On a Mac, open Character Viewer with Control+Command+Space, search for “X-Bar Sample Mean Symbol”, and insert it. Chromebook users can copy the symbol or use the Unicode input method where supported. On Linux, press Ctrl+Shift+U, type 0078, and press Enter.

Examples and Correct Usage

The visible symbol can be stored as x followed by a combining macron, so copying the complete sequence is safer than typing only x.

Use the actual Unicode character rather than a visually similar keyboard substitute when the distinction matters in mathematics, science, accessibility, searching, or data processing.