PDF download Download Article
A step-by-step guide to inserting the x bar in Word
PDF download Download Article

Typing an x bar symbol (x̄) into your Word document isn't as straightforward as typing other accent symbols, but it's still easy to do. This wikiHow guide will teach you how to add the X bar symbol, which is an x with an overline, to your Word document on your Windows PC or Mac.

Quick Ways to Make an X Bar (x̄) in Word

  • The fastest way is to copy the x̄ here and paste it into your document.
  • On Windows, you can also type x0304 , highlight just the "0304" with your mouse, then press Alt + X to convert it to an X bar.
  • On a Mac, type x , then hold down Option as you type 0304 .
Method 1
Method 1 of 6:

Typing a Shortcode on Windows

PDF download Download Article
  1. You must first type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
  2. You should now have x0304 .
    Advertisement
  3. Don't include the "x" in the text you're highlighting.
  4. This shortcut replaces what you've typed with x̄.
  5. Advertisement
Method 2
Method 2 of 6:

Typing a Shortcode on a Mac

PDF download Download Article
  1. This feature makes it easy to enter Unicode symbols.
    • Click the Apple menu and select System Settings .
    • Click Keyboard .
    • Click Edit… next to "Input Sources."
    • Click + to add a new input source.
    • Search for and select Unicode Hex Input .
  2. You must first type an "x" to create the X bar symbol.
  3. Click the little keyboard icon at the top of the screen, and make sure "Unicode Hex Input" is selected.
    • If you don't see the keyboard icon, return to System Settings > Keyboard , click Edit… next to "Input Sources," and toggle on "Show Input menu in menu bar."
  4. When you lift your finger from the Option key, the X will turn into the X bar x̄.
  5. Advertisement
Method 3
Method 3 of 6:

Using Equation Editor on Windows & Mac

PDF download Download Article
  1. It’s at the top of the screen between Home and Draw .
  2. It’s the icon with a pi symbol in the toolbar. This adds a place to type an equation into your Word document.
    • If a menu opens, click Insert New Equation to continue.
  3. An overline will appear.
  4. The overline is now over the X, creating an X bar.
    • There's also another way to insert an X bar in Word using the Equation Editor:
      • Click Insert and select Equation .
      • Type x , then highlight the x with your mouse.
      • Click Accent in the Equation toolbar at the top.
      • Click the Bar icon, a square with a bar over it. This places a bar over the selected X, turning it into an X bar.
  5. Advertisement
Method 4
Method 4 of 6:

Typing an Alt Code on Windows

PDF download Download Article
  1. You must first type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
    • This method requires using the numeric keypad on the right side of your keyboard to type an alt code . If you are using a smaller keyboard that doesn't have a separate set of number keys on the right, it will be easier to use a different method.
    • If you have a laptop without a numeric keypad, you may still be able to type alt codes .
  2. Do not lift your finger from this key.
  3. Don't use the number keys at the top of the keyboard, as that won't work. When you lift your finger from the Alt key, you'll have an X bar.
  4. Advertisement
Method 5
Method 5 of 6:

Inserting a Symbol on Windows

PDF download Download Article
  1. You first need to type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
  2. The Insert tab is at the top of Word between Home and Draw .
  3. It looks like a horseshoe.
  4. This is the last option in the drop-down menu.
  5. To locate the bar symbol:
    • From the Font menu, select (normal text) .
    • From the Subset menu, select Combining Diacritical Marks .
  6. To do this, type 0304 into the "Character code" field. This finds and selects the bar symbol.
  7. This turns the X you typed into x̄.
  8. Advertisement
Method 6
Method 6 of 6:

Inserting a Symbol on a Mac

PDF download Download Article
  1. You can type it anywhere in your document.
  2. This opens the Character Viewer. [1] It will initially open to the Emoji panel.
    • Alternatively, you can click the Insert menu and then Advanced Symbol .
  3. To switch to symbols from emoji, scroll to the top, then click the Symbol toggle icon in the right corner. [2]
  4. It’s at the top of the Character Viewer. You’ll see a solid black line appear just beneath the search bar. That’s called a Combining Overline.
  5. The “x” you typed will now appear as an X bar x̄.
    • Next time you open the Character Viewer, you can find the Combining Overline quickly by clicking “Recently Used” at the top of the left panel. [3]
  6. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Video

      About This Article

      Thanks to all authors for creating a page that has been read 254,701 times.

      Is this article up to date?

      Advertisement