Median – Tutorial, Calculations & Examples

2023-01-02 Data characteristics Time to read: 5min

How do you like this article?

0 Reviews


Median-01

Measures of central tendency give important hints on the general distribution in datasets. This is why these simple factors can be crucial in your data analysis. They include the mode, the mean and also the median, which is an essential concept in statistics and measures the midpoint of a dataset. This article provides a thorough understanding of the median and its central tendency of skewed distributions by demonstrating its calculations and significance in statistical analysis.

Median – In a Nutshell

The median is the midpoint of a distribution, also known as the 0.5 quantile or the second quartile.

Definition: Median

The median is the middle number of a dataset when it is laid out in order. If the dataset is composed of an odd-number of values, determining the midpoint is rather easy. When it is composed of an even-number of values, you add the two middle values and divide them by two.

In some cases, the median can be the same as the mode or the mean, especially in a standard normal distribution, so it is important to know the differences. The median is the middle number of a dataset, the mode is the most frequent one and the mean is the average, calculated with a mathematical operation, which cannot be performed with nominal or ordinal data. For more information, please look at our articles on the arithmetic and geometric mean.

Conduct a final format revision for a print of your thesis
Before submitting your thesis for print, check on your formatting with our 3D preview function for a final time. It provides an exact virtual visualization of what the printed version will resemble, making sure the physical version meets your expectations.

Calculation

The first step in calculating the median is always to order the values from low to high (or high to low, both works). Only then can you apply any method of finding this measurement of central tendency.

In small or simple data sets, finding the median is relatively easy. You put all values in a line and just take the middle one.

Examples

  • In a set containing 1,2,3,4,5 the median is 3, as it is the 3rd position of 5 values.
  • In a set containing 1,2,2,2,5 the median is 2, as it is the 3rd position of 5 values.
  • In a set containing 1,2,3,4,5,6 the median is (3+4)/2=3.5, as positions 3 and 4 share the middle.

When the dataset is huge, you might need help calculating the exact middle. Simply said, you divide the number of values by two and adjust the number upwards. With an even number, you take the two middle numbers and add them together, dividing them by two. Remember that the median is not the number you get after the division but the value on this position in your ordered dataset.

Examples

  • In a set containing 1345 values → 1345/2=672,5 → value on position 673 is your median.
  • In a set containing 1346 values → 1346/2=673 → Sum up the values on position 673 and 674 and divide the sum by two.

As the median is just the second quartile, it can also be determined by using formulas of quartiles and quantiles, in this case multiplying the number (n) of values with the percentage (0.5) of the quantile. In case the result is not integral, always adjust the value upwards. This means, that even in an even numbered dataset, you should actually take the higher one of the two middle values (or (n/2)+1). This is the case because the median also determines that point in a dataset, where 50% of the values are lower than this specific value.

However, in most cases you will just take the two middle values, sum them up and divide the result by two, as this is the common practice with the median.

Outliers

The median is a measure of central tendency, which is not affected by outliers. Therefore, it can be very useful when the dataset contains extreme values. This is because here, the number of values is considered, not the individual values.

Examples

  • Set: 1,3,5,6,8,9,10 → Median: 6
  • Set: 1,3,5,6,8,9,33 → Median: 6

Different distributions

Finding the median in a standard normal distribution is simple because it is the same as the mean and the mode and also the exact center of the graph, as shown in the middle graphic.

When you have skewed distributions, you need to calculate the median to find its exact position. To check it, if necessary, you can calculate the area below the graph on both sides of the median. If they equal, the median is correct.

This means, in short, that the area below the graph on both sides of the median is of the exact same size.

Median-distributions

Measures of central tendency

Not each measure of central tendency can be used with every type of variable, and some might be unnecessary to use in specific cases.

Variables are, first of all, divided into qualitative variables (which do not hold numerical value) and quantitative variables (which have numerical value). Qualitative variables are furthermore split into nominal variables, which include options that cannot be sorted hierarchical, while ordinal variables, can be ranked. Quantitative variables split into discrete variables, where you can count the individual values, and continuous variables, where you usually measure the values.

The following table will summarize when you can use which measure of central tendency. Below I will explain only the column of the median. For information on the other three, please see the corresponding articles.

Mode Median Arithmetic mean Geometric mean
Nominal v. x
Ordinal v. x Only odd-numbered Only if numbered
Discrete v. x x x x
Continuous v. Only in intervals x x x

Since nominal variables cannot be ranked or brought in a useful order, the median cannot be defined for this type of variable.

Since the median is mostly calculated, it cannot be defined for even-numbered sets of ordinal data. When the dataset is odd-numbered, however, it is possible since the middle value can simply be counted.

For discrete and continuous data, the median can always be found or calculated, since the values are numerical and can be used in the mathematical operations needed to determine this measure of central tendency.

Print Your Thesis Now
BachelorPrint as an online printing service offers
numerous advantages for Canadian students:
  • ✓ 3D live preview of your configuration
  • ✓ Free express delivery for every order
  • ✓ High-quality bindings with individual embossing

to printing services

FAQs

The median is the middle number or value of a dataset. It is further defined as the 0.5 quantile or the second quartile, meaning that it splits a dataset in the exact half of its numbers.

While the median gives the middle value, the one where 50% of your values are lower than it. The mean, on the other hand, presents the average of a dataset.

Median averages that rely on midpoints are good for establishing averages that do not take account of extremes at either end of the scale. In short, they tend to ignore outlier statistics.

From

Leonie Schmid

How do you like this article?

0 Reviews
 
About the author

Leonie Schmid is studying marketing at IU Nuremberg in a dual program and is working towards a bachelor's degree. She has had a passion for writing ever since she was little, whether it is fiction or later on scientific. Her love for the English language and academic topics has led her to BachelorPrint as a dual student, seeking to provide educational content for students everywhere all around the world.

Show all articles from this author
About
BachelorPrint | The #1 Online Printing Service
For Canadian Students

As a leading expert in the printing and binding of academic papers, theses, and dissertations, the BachelorPrint online printing service furnishes a diverse range of bindings and configuration options. BachelorPrint’s goal is to elicit a proud smile on every single Canadian student’s face, as they hold their ideal binding in their hands.<br/>Moreover, BachelorPrint provides numerous educational articles on insightful subjects related to academic writing in their Study Guide, assisting students during the process of writing their thesis or dissertation.


Cite This Article

Bibliography

Schmid, L. (2023, January 02). Median – Tutorial, Calculations & Examples. BachelorPrint. https://www.bachelorprint.com/ca/statistics/median/ (retrieved 2025-03-26)

In-text citation

Parenthetical
(Schmid , 2023)
Narrative
Schmid (2023)

Bibliography

Schmid, Leonie. 2023. "Median – Tutorial, Calculations & Examples." BachelorPrint, Retrieved March 26, 2025. https://www.bachelorprint.com/ca/statistics/median/.

In-text citation

Parenthetical
(Schmid 2023)

Bibliography

Leonie Schmid, "Median – Tutorial, Calculations & Examples," BachelorPrint, January 02, 2023, https://www.bachelorprint.com/ca/statistics/median/ (retrieved March 26, 2025).

Footnotes

Short note
Schmid, "Shortened title."

Bibliography

Schmid, Leonie: Median – Tutorial, Calculations & Examples, in: BachelorPrint, 2023-01-02, [online] https://www.bachelorprint.com/ca/statistics/median/ (retrieved 2025-03-26).

Footnotes

Full note
Schmid, Leonie: Median – Tutorial, Calculations & Examples, in: BachelorPrint, 2023-01-02, [online] https://www.bachelorprint.com/ca/statistics/median/ (retrieved 2025-03-26).
Direct quote
Schmid, 2023.
Indirect quote
Schmid, 2023.

Bibliography

Schmid, Leonie (2023): Median – Tutorial, Calculations & Examples, in: BachelorPrint, [online] https://www.bachelorprint.com/ca/statistics/median/ (retrieved 2025-03-26).

In-text citation

Direct quote
(Schmid, 2023)
Indirect quote
(Schmid, 2023)
Narrative
Schmid (2023)

Bibliography

Schmid, Leonie. "Median – Tutorial, Calculations & Examples." BachelorPrint, 2023-01-02, https://www.bachelorprint.com/ca/statistics/median/ (retrieved 2025-03-26).

In-text citation

Parenthetical
(Schmid)
Narrative
Schmid

Bibliography

Number. Schmid L. Median – Tutorial, Calculations & Examples [Internet]. BachelorPrint. 2023 [cited 2025-03-26]. Available from: https://www.bachelorprint.com/ca/statistics/median/


New articles