When studying a dataset, the average is often the first thing people reach for. But averages can lie-especially when a handful of extreme values quietly pull them off-centre. This is where the median steps in. As a positional measure that represents the exact middle of an ordered dataset, the median offers a more honest picture of the “typical” value, particularly when data is uneven or skewed. For researchers, policymakers, and students working with real-world information like incomes, exam scores, or household sizes, understanding the median is not just a statistical skill-it is a safeguard against misleading conclusions.

Table of Contents

What is the median?

The median is the middle value of a dataset that has been arranged in ascending or descending order. It divides the distribution into two equal halves: 50% of the observations lie below it, and 50% lie above. As a measure of central tendency, the median is simply the middle number in an ordered data set, offering a single value that summarises where the centre of the data lies.

Unlike the arithmetic mean, the median does not depend on the magnitude of every observation. It depends only on the position of values once they are sorted. This property makes it especially useful when a dataset contains unusually high or low figures that might distort the mean.

Why position matters more than magnitude

Consider a simple dataset of monthly salaries in a small firm: โ‚น18,000, โ‚น20,000, โ‚น22,000, โ‚น25,000, and โ‚น3,00,000. The mean works out to โ‚น77,000-a figure that does not reflect what most employees actually earn. The median, however, is โ‚น22,000, which honestly represents the typical salary. This illustrates why the median is often called a resistant or robust measure: only the middle observation was used to determine its value, which means extreme values cannot pull it off-centre.

Calculating the median for ungrouped data

Ungrouped data refers to raw observations that have not been organised into class intervals. Calculating the median here is straightforward and involves two cases depending on whether the number of observations is odd or even.

Step-by-step procedure

The process begins with arranging the data. The value of the middle-most observation obtained after arranging the data in ascending or descending order is called the median of the data.

For an odd number of observations, the median is the value at the (n+1)/2 position, where n is the total number of observations. For example, in the dataset 3, 7, 9, 12, 15, there are 5 values. The median is the (5+1)/2 = 3rd value, which is 9.

For an even number of observations, the median is the average of the two middle values. If the number of observations is even, the median is the mean value of the observations located in the n/2 and (n+2)/2 positions. For example, in the dataset 4, 6, 8, 10, 12, 14, the median is the average of the 3rd and 4th values, i.e., (8 + 10) / 2 = 9.

Calculating the median for grouped data

When data is organised into class intervals-common in survey research, census reports, and policy studies-individual values are no longer visible. Instead, we see how many observations fall within each range. Here, the median cannot be read off directly; it must be estimated using a formula.

The median formula for grouped data

The standard formula used is:

Median = l + [(n/2 โˆ’ cf) / f] ร— h

Where:

l is the lower boundary of the median class, n is the total number of observations, cf is the cumulative frequency of the class preceding the median class, f is the frequency of the median class, and h is the size (width) of the class interval. This formula is outlined in standard references on grouped data analysis, including the method used to locate the class whose cumulative frequency is greater than or nearest to n/2, called the median class.

Steps to compute the median of grouped data

The calculation follows a logical sequence. First, construct a frequency distribution table with class intervals and their frequencies. Second, compute the cumulative frequency by adding each frequency to the sum of the previous ones. Third, find n/2, which marks the position of the middle observation. Fourth, identify the median class-the class interval where the cumulative frequency first equals or exceeds n/2. Finally, substitute the values into the formula.

A worked example

Suppose a survey collects data on the daily study hours of 50 students, organised as follows: 0-2 hours (frequency 6), 2-4 hours (frequency 14), 4-6 hours (frequency 18), 6-8 hours (frequency 9), and 8-10 hours (frequency 3). The cumulative frequencies are 6, 20, 38, 47, and 50 respectively. Since n = 50, n/2 = 25. The cumulative frequency just greater than 25 is 38, which corresponds to the class 4-6. This is the median class.

Substituting into the formula with l = 4, cf = 20, f = 18, and h = 2:

Median = 4 + [(25 โˆ’ 20) / 18] ร— 2 = 4 + (5/18) ร— 2 โ‰ˆ 4.56 hours.

This tells us that roughly half the students study fewer than 4.56 hours a day, and the other half study more. For grouped data, we cannot find the exact mean, median and mode-we can only give estimates, but this estimate is typically very close to the true centre of the distribution.

Why the median is a robust measure

The word “robust” in statistics means that a measure holds its ground even when the data misbehaves. The median earns this label because it is unaffected by outliers and skewness. The median is less affected by outliers and skewed data, which is precisely why analysts prefer it for many real-world applications.

Dealing with skewed distributions

A skewed distribution is one where data clusters more heavily on one side, producing a long tail in the opposite direction. Income distributions are the classic case-most people earn modest amounts, while a few earn very high incomes. The more skewed the distribution, the greater the difference between the median and mean, and the more important it becomes to rely on the median for a faithful summary.

This is why government agencies and research organisations routinely report median income rather than average income. The Ministry of Statistics and Programme Implementation, for example, uses medians in its Household Consumption Expenditure Survey to capture the consumption patterns of typical Indian households, where a handful of very wealthy households could otherwise distort the picture.

Resistance to outliers

An outlier is a value that sits far from the rest of the data. Because the median is a positional statistic, its value hardly changes even if the smallest or largest values are replaced with far more extreme numbers. Since the median only finds the middle value of a dataset, it isn’t affected by extremely small or large values on either end of a dataset. This is a crucial advantage in fields such as public health, education research, and economics, where data errors, anomalies, or genuine extreme observations are common.

When to use the median

The median is not always the best choice. It is most valuable in specific research contexts.

Skewed or asymmetric data

Whenever a distribution is lopsided-incomes, house prices, land holdings, waiting times, or disease prevalence-the median provides a more representative centre. Income is the classic example of when to use the median instead of the mean because its distribution tends to be skewed.

Ordinal data

For data that can be ordered but not meaningfully averaged-such as satisfaction ratings on a five-point scale or stages of cancer-the median is appropriate while the mean is not. It reflects the middle rank without assuming equal intervals between categories.

Presence of outliers or suspected errors

When a dataset may contain unusual values, reporting the median alongside the mean provides a sanity check. A large gap between the two suggests skewness or outliers, prompting the researcher to investigate further.

Limitations of the median

No statistic is perfect, and the median has genuine limitations that every researcher should recognise.

First, it ignores most of the data. The median does not consider the information from extremely small or large values in a dataset. While this resistance is a strength for skewed data, it means information is discarded.

Second, the median cannot be used to compute totals. Knowing the mean salary and the number of employees lets you estimate the total payroll. Knowing the median does not. This limits its usefulness in contexts that require aggregation, such as calculating national income or tax revenue.

Third, for grouped data, the median is only an estimate based on the assumption that values are evenly distributed within the median class. This assumption may not always hold.

The median in public administration and research

Public administration is a field full of skewed data-income, landholding, household size, access to services, and budget allocations often follow asymmetric patterns. In such contexts, the median becomes a vital analytical tool. The Periodic Labour Force Survey published by the National Statistical Office relies on measures like the median to describe earnings and employment patterns that would otherwise be distorted by a few extremely high or low values.

International development agencies follow similar practice. The Human Development Index framework maintained by the United Nations Development Programme draws on median-based indicators when comparing living standards across countries, recognising that mean-based measures can mask inequality.

For students of research methodology, mastering the median is therefore not just an academic exercise. It is a practical competence for interpreting surveys, reading policy documents, and drawing defensible conclusions from messy, real-world data.

What do you think? When you read a news report that cites an “average” figure-whether it is income, exam scores, or house prices-do you pause to ask whether the median would tell a different story? And in your own research or reading, can you recall a case where using the median instead of the mean would have completely changed the conclusion?

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

References
  1. https://www.scribbr.com/statistics/central-tendency/
  2. https://online.stat.psu.edu/stat100/lesson/3/3.3
  3. https://www.cuemath.com/data/median-of-grouped-data/
  4. https://analystprep.com/cfa-level-1-exam/quantitative-methods/measures-of-central-tendency-and-location/
  5. https://byjus.com/maths/median-of-grouped-data/
  6. https://www.mathsisfun.com/data/frequency-grouped-mean-median-mode.html
  7. https://statistics.laerd.com/statistical-guides/measures-central-tendency-mean-mode-median.php
  8. https://mospi.gov.in/sites/default/files/publication_reports/Report-HCES-2023-24.pdf
  9. https://www.statology.org/advantages-disadvantages-of-median-in-statistics/
  10. https://statisticsbyjim.com/basics/measures-central-tendency-mean-median-mode/
  11. https://mospi.gov.in/sites/default/files/publication_reports/PLFS_AR_2023-24.pdf
  12. https://hdr.undp.org/data-center/human-development-index

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Research Methodologies

1 Logic of Inquiry in Social Research

  1. A Science of Society
  2. Comteโ€™s Ideas on the Nature of Sociology
  3. Observation in Social Sciences
  4. Logical Understanding of Social Reality

2 Empirical Approach

  1. Empirical Approach
  2. Rules of Data Collection
  3. Cultural Relativism
  4. Problems Encountered in Data Collection
  5. Difference between Common Sense and Science
  6. What is Ethical?
  7. What is Normal?
  8. Understanding the Data Collected
  9. Managing Diversities in Social Research
  10. Problematising the Object of Study

3 Diverse Logic of Theory Building

  1. Concern with Theory in Sociology
  2. Concepts: Basic Elements of Theories
  3. Why Do We Need Theory?
  4. Hypothesis, Description and Experimentation
  5. Controlled Experiment
  6. Designing an Experiment
  7. How to Test a Hypothesis
  8. Common Methods of Testing a Hypothesis
  9. Sensitivity to Alternative Explanations
  10. Rival Hypothesis Construction

4 Theoretical Analysis

  1. Premises of Evolutionary and Functional Theories
  2. Critique of Evolutionary and Functional Theories
  3. Turning away from Functionalism
  4. What after Functionalism
  5. Post-modernism
  6. Trends other than Post-modernism

5 Issues of Epistemology

  1. Some Major Concerns of Epistemology
  2. Rationalism
  3. Empiricism
  4. Idealism
  5. Phenomenology: Bracketing Experience

6 Philosophy of Social Science

  1. Foundations of Science
  2. Science, Modernity and Sociology
  3. Rethinking Science
  4. Crisis in Foundation

7 Positivism and its Critique

  1. Heroic Science and Origin of Positivism
  2. Early Positivism
  3. Consolidation of Positivism
  4. Critiques of Positivism

8 Hermeneutics

  1. Methodological Disputes in the Social Sciences
  2. Tracing the History of Hermeneutics
  3. Hermeneutics and Sociology
  4. Philosophical Hermeneutics
  5. The Hermeneutics of Suspicion
  6. Phenomenology and Hermeneutics

9 Comparative Method

  1. Relationship with Common Sense; Interrogating Ideological Location
  2. The Historical Context
  3. Elements of the Comparative Approach

10 Feminist Approach

  1. Relationship with Common Sense; Interrogating Ideological Location
  2. The Historical Context
  3. Features of the Feminist Method
  4. Feminist Methods adopt the Reflexive Stance
  5. Feminist Discourse in India

11 Participatory Method

  1. Relationship with Common Sense; Interrogating Ideological Location
  2. The Historical Context
  3. Delineation of Key Features

12 Types of Research

  1. What is Research?
  2. Types of Research

13 Methods of Research

  1. Centrality of Research Methods in Social Sciences
  2. Interface between Methodology and Methods
  3. Elements of Research Methodology
  4. Types of Data Used in Social Research
  5. Research Methods

14 Elements of Research Design

  1. Structuring the Research Process
  2. Defining Your Research Problem
  3. Choice of Field Site(s)
  4. Consideration of Time and Resources
  5. Reviewing Secondary Material
  6. Hypothesis
  7. Theoretical Orientation
  8. Universe and Unit of Study
  9. Pilot Study
  10. Sampling
  11. Data Collection
  12. Analysis and Report Writing

15 Sampling Methods and Estimation of Sample Size

  1. Sampling
  2. Classification of Sampling Methods
  3. Sample Size
  4. Probability Sampling
  5. Non-Probability Sampling

16 Measures of Central Tendency

  1. Mean
  2. Median
  3. Mode
  4. Relationship between Mean, Mode and Median
  5. Choosing a Measure of Central Tendency

17 Measures of Dispersion and Variability

  1. The Range
  2. The Variance
  3. The Standard Deviation
  4. Coefficient of Variation
  5. Measures of Dispersion and Variability

18 Statistical Inference- Tests of Hypothesis

  1. Statistical Inference
  2. Steps in Hypothesis Testing
  3. Types of Errors in Hypothesis Testing
  4. Tests of Significance: Chi-Square Test
  5. Tests of Significance: Student’s t Test

19 Correlation and Regression

  1. Correlation
  2. Method of Calculating Correlation of Ungrouped Data
  3. Method of Calculating Correlation of Grouped Data
  4. Regression

20 Survey Method

  1. Rationale of Survey Research Method
  2. History of Survey Research
  3. Defining Survey Research
  4. Sampling and Survey Techniques
  5. Operationalising Survey Research Tools
  6. Advantages and Weaknesses of Survey Methods

21 Survey Design

  1. Preliminary Considerations
  2. Stages / Phases in Survey Research
  3. Formulation of Research Question
  4. Survey Research Designs
  5. Sampling Design

22 Survey Instrumentation

  1. Techniques/Instruments for Data Collection
  2. Questionnaire Construction
  3. Issues in Designing a Survey Instrument

23 Survey Execution and Data Analysis

  1. Problems and Issues in Executing Survey Research
  2. Data Analysis
  3. Ethical Issues in Survey Research

24 Field Research – I

  1. History of Field Research
  2. Ethnography
  3. Theme Selection
  4. Designing Research
  5. Gaining Entry in the Field
  6. Key Informants
  7. Participant Observation

25 Field Research – II

  1. Genealogy
  2. Interview, its Types and Process
  3. Feminist and Postmodernist Perspectives on Interviewing
  4. Narrative Analysis
  5. Interpretation

26 Reliability, Validity and Triangulation

  1. Concepts of Reliability and Validity
  2. Three types of “Reliability”
  3. Working towards Reliability
  4. Procedural Validity
  5. Field Research as a Validity Check

27 Qualitative Data Formatting and Processing

  1. Qualitative Data Processing and Analysis
  2. Description
  3. Classification
  4. Making Connections
  5. Theoretical Coding

28 Writing up Qualitative Data

  1. Problems of Writing Up
  2. Grasp and Then Render
  3. Writing Down and “Writing Up”
  4. Write Early
  5. Writing Styles

29 Using Internet and Word Processor

  1. What is Internet and How Does it Work?
  2. Internet Services
  3. Searching on the Web: Search Engines
  4. Accessing and Using Online Information
  5. Uses of E-mail Services in Research

30 Using SPSS for Data Analysis Contents

  1. Starting and exiting SPSS
  2. Creating a data file
  3. Univariate analysis
  4. Bivariate analysis
  5. Multivariate analysis

31 Using SPSS in Report Writing

  1. Why to Use SPSS
  2. Charts
  3. Working with SPSS Output
  4. Copying SPSS output to MS Word Document
  5. Conclusion

32 Tabulation and Graphic Presentation- Case Studies

  1. Structure for Presentation of Research Findings
  2. Data Presentation: Editing, Coding and Transcribing
  3. Case Studies
  4. Qualitative Data Analysis and Presentation through Computer Software
  5. Types of ICT used for Research

33 Guidelines to Research Project Assignment

  1. Overview of Research Methodologies and Methods (MSO 002)
  2. Research Project Objectives
  3. Preparation for Research Project
  4. Stages of the Research Project
  5. Supervision During the Research Project