Mathwords logoMathwords

Bar (Math Symbol) — Definition, Formula & Examples

Bar (math symbol) is a horizontal line placed over a number, variable, or expression to give it a special meaning. Common uses include marking repeating decimals, naming line segments, indicating averages, and denoting absolute value.

In mathematical notation, a vinculum (bar) is a horizontal line drawn above one or more symbols. It serves distinct roles depending on context: 3\overline{3} denotes the repeating digit in 0.30.\overline{3}, AB\overline{AB} denotes a line segment, xˉ\bar{x} denotes the arithmetic mean of a data set, and vertical bars x|x| denote absolute value. The bar is not a single operation but a notational device whose meaning is determined by its mathematical setting.

How It Works

The bar symbol changes meaning based on where you see it. Over one or more digits in a decimal, it tells you those digits repeat forever—so 0.160.\overline{16} means 0.1616160.161616\ldots. Over two capital letters like AB\overline{AB}, it names a line segment from point AA to point BB. Written over a variable like xˉ\bar{x}, it typically represents the mean (average) of a data set. Vertical bars around a number, such as 7|-7|, give the absolute value. Recognizing which context you are in is the key to reading bar notation correctly.

Worked Example

Problem: Write the fraction 511\dfrac{5}{11} as a decimal using bar notation.
Step 1: Divide 5 by 11 using long division. 11 goes into 50 four times (44), leaving a remainder of 6.
50÷11=4 remainder 650 \div 11 = 4 \text{ remainder } 6
Step 2: Bring down a zero. 11 goes into 60 five times (55), leaving a remainder of 5.
60÷11=5 remainder 560 \div 11 = 5 \text{ remainder } 5
Step 3: The remainder 5 is the same as the original numerator, so the digits 4 and 5 will repeat forever.
511=0.454545\frac{5}{11} = 0.454545\ldots
Step 4: Use bar notation to show the repeating block.
511=0.45\frac{5}{11} = 0.\overline{45}
Answer: 511=0.45\dfrac{5}{11} = 0.\overline{45}

Another Example

Problem: Five students scored 80, 90, 85, 75, and 95 on a test. Find xˉ\bar{x}, the mean score.
Step 1: Add all the scores together.
80+90+85+75+95=42580 + 90 + 85 + 75 + 95 = 425
Step 2: Divide by the number of scores (5).
xˉ=4255=85\bar{x} = \frac{425}{5} = 85
Answer: xˉ=85\bar{x} = 85

Why It Matters

Bar notation shows up across many courses. In pre-algebra and middle-school math, you use it to write repeating decimals and compute means. In geometry, AB\overline{AB} is essential for naming segments, and in statistics courses through college, xˉ\bar{x} is the standard symbol for a sample mean.

Common Mistakes

Mistake: Placing the bar over only one digit when multiple digits repeat. For example, writing 0.160.\overline{1}6 instead of 0.160.\overline{16} for 0.1616160.161616\ldots
Correction: The bar must cover every digit in the repeating block. If both 1 and 6 repeat, write 0.160.\overline{16}.
Mistake: Confusing AB\overline{AB} (a line segment with finite length) with AB\overleftrightarrow{AB} (a line extending infinitely in both directions).
Correction: A bar with no arrows means a segment. Arrows on both ends mean an infinite line. Check the notation carefully in geometry problems.