Mean Symbol: x̄ (Sample Mean) and μ (Population Mean)

Sample mean (x-bar)x̄
Population mean (mu)μ
FreeNo sign-upClick to copy
Sample meanx̄ (x-bar) = Σx / n
Population meanμ (mu) = Σx / N
Unicodex + U+0304 / U+03BC
HTMLx̄ / μ
LaTeX\bar{x} / \mu
Word (type code, then Alt+X)x, then 0304 / 03BC
Windows Alt codeNone for x̄ / Alt+0181 types the micro sign µ

The mean symbol is x̄ (read “x-bar”) for a sample and μ, the Greek letter mu, for a population. Both stand for the same idea: add up the values, then divide by how many there are. Which one you write depends on whether your data cover part of a group or all of it.

This guide covers both symbols, their formulas and the quickest ways to type them. You can copy either one from the card above. For the wider set of letters used in this subject, see our list of statistics symbols.

What the Mean Symbol Means

The mean is the ordinary average. You total the values and divide by the count. So when people ask for the symbol for average, they are asking for the mean symbol.

Statistics keeps two versions, though. OpenStax Introductory Statistics writes the sample mean as an x with a bar over it and uses the Greek letter μ for the population mean. Nearly every textbook follows the same split.

SymbolRead asDescribesDivides by
x̄x-barSample meann (sample size)
μmuPopulation meanN (population size)

Quick rule: Greek letters describe the whole population, and Latin letters describe your sample. That is why μ pairs with σ, while x̄ pairs with s. Our standard deviation symbol guide covers that second pair.

Sample Mean Symbol (x̄)

Use x̄ when your numbers come from a sample, such as 50 customers out of thousands. Most real data are samples, so this is the sample mean symbol you will write most often.

x̄ = Σxᵢ / n

  • x̄ is the sample mean.
  • Σ means add up everything that follows. It is sigma notation for a sum.
  • xᵢ is each data value.
  • n is the number of values in the sample.

Because x̄ changes from sample to sample, it is called a statistic.

Population Mean Symbol (μ)

Use μ when you have every member of the group, or when you are talking about the true average that a sample is trying to estimate. The population mean symbol is always lowercase mu.

μ = Σxᵢ / N

The arithmetic is identical. Only the labels change: capital N counts the whole population. A population has one fixed mean, so μ is called a parameter.

Usually nobody can measure a whole population, so x̄ stands in for μ. OpenStax notes that, by the law of large numbers, the sample mean is very likely to get closer to μ as the sample grows. The sample does need to be random for that to work.

Worked Example

Take these eight quiz scores: 2, 4, 4, 4, 5, 5, 7, 9.

  1. Add the values: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40.
  2. Count them: there are 8.
  3. Divide: 40 ÷ 8 = 5.

If these eight scores are a sample from a larger class, you report x̄ = 5. If they are the entire class, you report μ = 5. The number is the same, but the symbol tells the reader what the data represent.

The choice matters more at the next step. The variance and the standard deviation use different denominators for a sample and a population, so their answers do differ.

A few other marks for a mean turn up in textbooks and papers.

SymbolMeaningWhere you see it
μx̄Mean of all possible sample meansSampling distributions
MSample meanAPA-style research papers

The mean is not always the best summary. OpenStax points out that the median is generally a better measure of center when a data set has extreme values, because one outlier can drag the mean a long way.

The Mean in Spreadsheets and Code

Tools rarely ask you to choose between x̄ and μ, since the calculation is the same. Excel’s AVERAGE function, for example, returns the arithmetic mean of its arguments.

ToolHow the mean appears
Excel and Google Sheets=AVERAGE(range)
Python statistics modulemean()
Rmean(x)

How to Type the Mean Symbol

The mean symbol μ is a single character, U+03BC. In contrast, x̄ is built from two: a plain x followed by U+0304, the combining macron, which draws a short overline on the letter before it. Unicode has no single x-bar character. A wider bar, U+0305 (combining overline), also exists, but U+0304 is the usual choice.

  • Microsoft Word: for x̄, type x, then 0304, and press Alt+X. For μ, type 03BC and press Alt+X, the method Microsoft documents for any Unicode character. Inside an equation (Alt+=), type \mu and press the spacebar. See Greek letters in Word for more.
  • Mac: type x, open the Character Viewer (Edit > Emoji & Symbols, or Fn/Globe+E), search “macron” and pick the combining macron. On the US layout, Option+M types µ, the micro sign, which looks like mu. Our Mac typing guide shows how to get the true Greek letter.
  • LaTeX: \bar{x} for x̄ and \mu for μ. The LaTeX Greek letter list has the rest.
  • HTML: x̄ for x̄, and μ or μ for μ.
  • Windows Alt codes: there is none for x̄. Alt+0181 on the numeric keypad types the micro sign µ, a lookalike of mu.

Some fonts place the combining bar slightly off-center. If that happens, switch fonts or use an equation editor. For the difference between µ and μ, read our micro symbol guide.

Common Mix-Ups

These slips are small, but they change what a formula claims.

  • x̄ vs μ: x̄ describes the sample you measured. μ describes the population. Writing μ for a sample result overstates what you know.
  • μ vs µ: Greek mu is U+03BC, and the micro sign is U+00B5. They look alike, but search and screen readers treat them as different characters.
  • x̄ vs x: without the bar, x is a single value, not the mean.
  • n vs N: lowercase n counts a sample, and capital N counts a population.

Frequently Asked Questions

What is the symbol for mean?

The mean symbol is x̄ (x-bar) for a sample and μ (the Greek letter mu) for a population. Both stand for the same calculation: the sum of the values divided by how many there are.

What is the difference between x̄ and μ?

x̄ is the mean of a sample, a part of the group you measured. μ is the mean of the whole population. In practice x̄ is used as an estimate of μ.

How do I type the x-bar symbol in Word?

Type x, then type 0304 and press Alt+X. Word turns the code into a combining bar that sits over the x.

Is there an Alt code for x-bar?

No. Windows has no Alt code for x̄, because it is two characters: the letter x plus the combining macron U+0304. Use Alt+X in Word, or copy the symbol from this page.

Is the mean the same as the average?

In everyday use, yes. “Average” usually means the arithmetic mean, so the symbol for average is also x̄ or μ. Statisticians prefer the word mean because median and mode are also kinds of average.

Similar Posts