Credit: moodboard Cultura Getty Images
Q:

# What is the formula for finding the median of ungrouped data?

A:

Assuming the data has N elements in order of magnitude, the median is found by taking the ((N+1)/2)th element if there are an odd number of elements. If there are an even number of elements, then the median is an average of the (N/2)th and (N/2 + 1)th element.

Know More

## Keep Learning

To determine the median of ungrouped data with N elements, one should first order the data from lowest to highest. The median is determined by finding either the middle element in the data or the average of the middle two elements, depending on whether there are an odd or even number of elements in the data.

For example, suppose a set of data has the numbers {4, 8, 7, 10, 100}. First, one would reorder the elements from lowest to highest so that it appears as {4, 7, 8, 10, 100}. There are an odd number of elements in the set; i.e. N=5. Since (5+1)/2 = 3, in this case, the third element in the set is the median, which is 8.

Suppose the ordered data set has a sixth element of 1000, so it now looks like {4, 7, 8, 10, 100, 1000}. In this case, N=6; therefore N/2=3 and N/2 + 1 = 4, so the median is the average of the third and fourth data element. The median is (8 + 10)/2 = 9.

Sources:

## Related Questions

• A:

Salary.com reports a median expected annual pay of \$254,799 for a typical college president in the United States, citing HR reported data as of January 2015.

Filed Under:
• A:

The formula for a midpoint is the sum of x1 and x2 divided by two for the first coordinate and the sum of y1 and y2 divided by two for the second coordinate. This formula finds the midpoint between coordinates (x1, y1) and (x2, y2).

Filed Under:
• A:

A formula equation is a visual representation of a reaction using chemical formulas. A chemical formula is an expression that states the number and types of atoms that make up any given molecule using the symbols for the elements and sub-scripted numbers.