Statistics

Median Formula - Statistics

Learn the median formula with examples, step-by-step guide, and calculator tools. Find the middle value in a sorted dataset

The median formula is a fundamental concept in statistics. Find the middle value in a sorted dataset. This page provides a comprehensive guide with worked examples and practical applications.

The Formula

\[\text{Median} = \begin{cases} x_{(n+1)/2} & \text{if } n \text{ is odd} \\ \frac{x_{n/2} + x_{(n/2)+1}}{2} & \text{if } n \text{ is even} \end{cases}\]

Variables

n
Number of values
x
Sorted values

Step-by-Step Guide

  1. 1

    Step 1: Gather your data values

  2. 2

    Step 2: Apply the formula

  3. 3

    Step 3: Perform the calculations

  4. 4

    Step 4: Interpret the result

Examples

Example 1

Example 1: [3,7,9,12,15] → n=5 (odd), median = x₍₃₎ = 9

Example 2

Example 2: 9

Frequently Asked Questions

What is the median formula?

Find the middle value in a sorted dataset

How do I calculate median formula?

Use the formula: \text{Median} = \begin{cases} x_{(n+1)/2} & \text{if } n \text{ is odd} \\ \frac{x_{n/2} + x_{(n/2)+1}}{2} & \text{if } n \text{ is even} \end{cases}. Follow the steps provided above.

What tools can help with median formula?

We provide online calculators: median-calculator, percentile-calculator

Related Tools

Related Insights, Formulas & Comparisons