EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 250+ Courses All in One Bundle
  • Login

Median Formula

By Madhuri ThakurMadhuri Thakur

Home » Finance » Blog » Finance Formula » Median Formula

Median Formula

Median Formula (Table of Contents)

  • Median Formula
  • Median Formula Calculator
  • Median Formula in Excel (With Excel Template)

Median Formula

A median is the middle value of a data set. In the given n number of grouped or ungrouped data set in statistics, the median is the number found right in the middle of the data set. It is used in many real-life situations.

Start Your Free Investment Banking Course

Download Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

The Median is calculated using the following formula.

Median = (n + 1) / 2

Suppose you take the simple example, 1, 2, 3, 4, 5. The middle value is 3. We can find it manually since this is a small set of data. If you apply the same set of data in the above formula, n = 5, hence median = (5+1) / 2 = 3. So the third number is the median. For a large number of data, finding the median manually is not possible. So it is essential to use the formula for a large number of data set.

Examples of Median Formula

Let’s take an example to understand the calculation of the Median Formula in a better manner.

You can download this Median Excel Template here – Median Excel Template

Example #1.1 – Finding the median for an odd amount of numbers

Consider the small data set A= 42, 21, 34, 65, 90, 45, 109. From the available data, Calculate the Median.

Data Set

Solution:

Arrange the data set in ascending order.

Ascending order of Example 1

Median is calculated using the formula given below

Median = (n + 1) / 2

Calculation of median for example 1

  • Median = (7 + 1) / 2
  • Median = 8 / 2
  • Median = 4

Here 4th value is 45. So 45 is the median for this data set.

Example #1.2

Consider the large data set B = 1, 2, 3 …, 51.

Popular Course in this category
Sale
All in One Financial Analyst Bundle - 250+ Courses, 40+ Projects250+ Online Courses | 1000+ Hours | Verifiable Certificates | Lifetime Access
4.9 (3,296 ratings)
Course Price

View Course

Related Courses
Finance for Non Finance Managers Course (7 Courses)Investment Banking Course (122 Courses, 25+ Projects)Financial Modeling Course (5 Courses, 14 Projects)

Here the total numbers are 51. So n= 51.

Median is calculated using the formula given below

Median = (n + 1) / 2

  • Median = (51 + 1) / 2
  • Median = 52 / 2
  • Median = 26

So the 26th number is the median value. So 25 numbers should be below the median, the 26th number is the median, and again 25 numbers are above.

Example #2.1 – Finding the median for an Even amount of numbers

Consider the small data set C= 2, 5, 89, 40, 66, 33, 14, 23, 90, 101. From the available data, Calculate the Median.

Data set for example 2

Solution:

Arrange the data set in ascending order.

Ascending order of Example 2

Median is calculated using the formula given below

Median = (n + 1) / 2

Calculation of Median for example 2

  • Median = (10 + 1) / 2
  • Median = 11 / 2
  • Median = 5.5

5.5 is in-between 5 and 6. So we need to take the 5th value and 6th value from the data set.

From the above data set, the 5th and 6th values are 33, 40 respectively. Add both numbers and divide by 2 to get the median. (33+40)/ 2 = 73/2 = 36.5. So here, the median value of this data set is 36.5.

Example #2.2:

Consider the large set of data D = 101, 102 … 198.

The total numbers in this data set are 98.

Here the total numbers are 98. So n= 98.

Now divide the total numbers by 2. Add then subtract 1 from the result value. Here 98/2= 49. Since these is even numbers, there should be two middle values. The median value we got is 49. So it should have 48 numbers above the median and 48 numbers below the median. so 49th and 50th values are median values.

Explanation

Step 1: First, arrange the given data set in ascending order. Say the data set you have is 4, 2, 8, and 1. So arranging this in ascending order gives you 1, 2, 4, 8.

Step 2: Here, n is the number of items in the given data set. That is, if you consider the above example data set, 1, 2, 4, and 8, the variable n’s value is 4.

Step 3: Just apply the variable value n in the formula to get the median. i.e. Median = (n + 1) / 2

It may seem very easy to see this formula since it is a very small set of data. But for a large set of data, it needs more effort to get the value correctly since the steps vary a little for EVEN amount of numbers and an ODD amount of numbers. So one should be very careful while finding the median.

Steps for sorting the data set in ascending order in Excel

One can sort the data set in an excel sheet by the following method.

  • Select the range of cells you want to sort. Say you have 1000 values totally, and it is being put from cell A1 to A1000.
  • Go to Data tab -> Sort & Filter group-> click on Sort. This will give you a sorted data set from the smallest number to highest or Simple you can right-click over the selected data range and select sort -> Click on sort from “smallest to largest number”.

Steps for counting the data set in Excel sheet to find n value for a large set of data

  • Select the range of cells (which was sorted in ascending order) you want to count. As per the above example, it is from A1 to A1000.
  • Go to Formulas tab -> click on More functions-> Point on statistical and select COUNTA function to count the cells that are not empty. You will get the value for variable n. In this case, you will get n=1000.

Relevance and Uses of Median Formula

The Median value is a statistical measure used in many real-life scenarios like real estate median price, bankruptcy value, etc. This is very useful when the data set include very high and low values of grouped and ungrouped data sets. Median is simply the point where 50% of the numbers above & 50% of the numbers below. It is an instinctive centrality that denotes the middle value. This value is very useful in the case of a historical data set or data set that comes over time.

Median Formula Calculator

You can use the following Median Calculator

n
Median Formula
 

Median Formula =
(n + 1)
=
2
(0 + 1)
= 0
2

Median Formula in Excel (With Excel Template)

Here we will do another example of the Median formula in Excel. It is very easy and simple.

Let’s take an example to calculate the median.

Calculate median Example 3-1

Arrange the data set in ascending order.

Ascending order of Example 3

Median is calculated using the formula given below

Median = (n + 1) / 2

For Set AB

Calculation of Median for example 3

  • Median = (22 + 1) / 2
  • Median = 23 / 2
  • Median = 11.5

For Set BC

Calculation of Median for example 3-2

  • Median = (21 + 1) / 2
  • Median = 22 / 2
  • Median = 11

Recommended Articles

This has been a guide to the Median formula. Here we discuss how to calculate the Median along with practical examples. We also provide a Median calculator with a downloadable excel template. You may also look at the following articles to learn more –

  1. How To Calculate Average Using Formula?
  2. Examples of DPMO Formula
  3. Guide To Portfolio Variance Formula
  4. Formula For Sustainable Growth Rate

All in One Financial Analyst Bundle (250+ Courses, 40+ Projects)

250+ Online Courses

1000+ Hours

Verifiable Certificates

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Finance Blog
  • Finance Formula
    • Fixed Asset Turnover Ratio Formula
    • Deferred Annuity Formula
    • Capital Investment Formula
    • Ratio Analysis Formula
    • Loss Ratio Formula
    • Benefit-Cost Ratio Formula
    • Probability Distribution Formula
    • Cash Conversion Cycle Formula
    • Accrued Income
    • DCF Excel summary
    • Price to Earning Ratio Formula
    • Current Yield of Bond Formula
    • Earnings Per Share Formula
    • Manufacturing Overhead Formula
    • FCFF Formula
    • Predetermined Overhead Rate Formula
    • Times Interest Earned Ratio Formula
    • Bank Efficiency Ratio Formula
    • Capital Expenditure Formula
    • Expense Ratio Formula
    • WACC Formula
    • Activity Ratio Formula
    • Standard Error Formula
    • Forward Rate Formula
    • Gearing Formula
    • Prime Cost Formula
    • Productivity Formula
    • t-Test Formula
    • Risk Free Rate Formula
    • Tax Shield Formula
    • Sortino Ratio
    • Reserve Ratio Formula
    • Bond Formula
    • Annualized Rate of Return Formula
    • Conditional Probability Formula
    • Financing Formula
    • Future Value of an Annuity Formula
    • For Profit vs Non Profit
    • Deadweight Loss Formula
    • Inflation Formula
    • Amortized Loan Formula
    • Horizontal Analysis Formula
    • Marginal Utility Formula
    • Kurtosis Formula
    • Macaulay Duration Formula
    • Multiplier Formula
    • Modified Duration Formula
    • Operating Leverage Formula
    • Payout Ratio Formula
    • Statistics Formula
    • Sampling Error Formula
    • Trend Analysis Formula
    • Taylor Rule Formula
    • Put Call Parity Formula
    • Annual Return Formula
    • Discount Rate Formula
    • Cash Flow Formula
    • Dilution Formula
    • Attrition Formula
    • Operating Expense Formula
    • Interpolation Formula
    • Annuity Due Formula
    • Bond Yield Formula
    • Turnover Ratio Formula
    • Efficiency Formula
    • Revenue Per Employee
    • Regression Line Formula
    • Yield to Maturity
    • Pearson Correlation Coefficient Formula
    • Accounting Formula
    • Fiscal Deficit Formula
    • Tax Multiplier Formula
    • Efficiency Ratio Formula
    • Demand Elasticity Formula
    • Gross Margin Formula
    • Elasticity Formula
    • Marginal Benefit Formula
    • Depreciation Formula
    • Cost-Benefit Analysis Formula
    • Percentage Change Formula
    • Levered Beta Formula
    • Shares Outstanding Formula
    • Capital Gain Formula
    • Convexity Formula
    • Gross Income Formula
    • Net Exports Formula
    • Producer Surplus Formula
    • Accounting Rate of Return Formula
    • Net Cash Flow Formula
    • Labor Force Participation Rate Formula
    • Moving Average Formula
    • Net Worth Formula
    • Accounting Profit Formula
    • Disposable Income Formula
    • Discount Formula
    • Average Variable Cost Formula
    • Total Variable Cost Formula
    • Product Cost Formula
    • Marginal Product Formula
    • Break-Even Sales Formula
    • Return on Sales Formula
    • Cost of Goods Manufactured Formula
    • Average Fixed Cost Formula
    • Stock Turnover Ratio Formula
    • Operating Ratio Formula
    • Equity Ratio Formula
    • Net Present Value Formula
    • Aggregate Demand Formula
    • Volatility Formula
    • Marginal Product of Labor Formula
    • Z Test Statistics Formula
    • Standard Cost Formula
    • Velocity of Money Formula
    • Invested Capital Formula
    • Unlevered Beta Formula
    • Bank Reconciliation Formula
    • Portfolio Return Formula
    • Central Tendency Formula
    • Accumulated Depreciation Formula
    • Intrinsic Value Formula
    • Decile Formula
    • Vector Cross Product Formula
    • Effective Annual Rate Formula
    • CAGR Formula
    • Mode Formula
    • Arithmetic Mean Formula
    • Real GDP Formula
    • Gini Coefficient Formula
    • Expected Value Formula
    • Price Elasticity of Supply Formula
    • Net Operating Income Formula
    • Profit Percentage Formula
    • GDP Per Capita Formula
    • Altman Z Score
    • Quartile Deviation Formula
    • Return on Capital Employed Formula
    • Consumer Price Index Formula
    • Economic Profit Formula
    • Market Share Formula
    • Real Interest Rate Formula
    • Income Elasticity of Demand Formula
    • Income From Operations Formula
    • Indexation Formula
    • Sales Formula
    • Money Multiplier Formula
    • GDP Deflator Formula
    • Residual Income Formula
    • Effective Interest Rate Formula
    • Coupon Bond Formula
    • Current Account Formula
    • Total Cost Formula
    • Total Expense Ratio Formula
    • Net Sales Formula
    • Percentage Decrease Formula
    • Uncertainty Formula
    • Nominal GDP Formula
    • Effect Size Formula
    • Delta Formula
    • Cost of Sales Formula
    • Fixed Cost Formula
    • Unemployment Rate Formula
    • Present Value of Annuity Formula
    • Compounding Formula
    • Geometric Distribution Formula
    • National Income Formula
    • Accounts Receivables Turnover Formula
    • Integer Formula
    • Ending Inventory Formula
    • Owner's Equity Formula
    • Capacity Utilization Rate Formula
    • Interest Formula
    • Nominal Interest Rate Formula
    • Risk Premium Formula
    • Interest Coverage Ratio Formula
    • Gross Profit Margin Formula
    • Diluted EPS Formula
    • Return On Average Equity Formula
    • Return on Average Assets Formula
    • Working Capital Formula
    • Revenue Per Employee Ratio Formula
    • Capital Employed Formula
    • Rule of 72 Formula
    • Inventory Turnover Ratio Formula
    • Preferred Dividend Formula
    • Retention Ratio Formula
    • Present Value Factor Formula
    • Equity Multiplier Formula
    • Continuous Compounding Formula
    • Return on Assets (ROA) Formula
    • Portfolio Variance Formula
    • Weighted Average Formula
    • Net Working Capital Formula
    • Tax Equivalent Yield Formula
    • Poisson Distribution Formula
    • Current Ratio Formula
    • Debt Ratio Formula
    • Quick Ratio Formula
    • Payback Period Formula
    • Marginal Cost Formula
    • Debt to Income Ratio Formula
    • Book Value Per Share Formula
    • Asset Turnover Ratio Formula
    • Perpetuity Formula
    • Bid-Ask Spread Formula
    • Price to Book Value Formula
    • Capital Gains Yield Formula
    • Net Profit Margin Formula
    • DuPont Formula
    • Bond Pricing Formula
    • Binomial Distribution Formula
    • Sustainable Growth Rate Formula
    • Average Collection Period Formula
    • Net Income Formula
    • CAPM Formula
    • Cost of Goods Sold Formula
    • Economic Order Quantity (EOQ) Formula
    • Amortization Formula
    • Enterprise Value Formula
    • Beta Formula
    • Cost of Equity Formula
    • Rate of Return Formula
    • Revenue Formula
    • Markup Price Formula
    • Cash Flow from Operations Formula
    • Simple Interest Rate Formula
    • Consumer Surplus Formula
    • Asset to Sales Ratio Formula
    • Debt Service Coverage Ratio Formula
    • Capitalization Rate Formula
    • Cost of Debt Formula
    • Straight Line Depreciation Formula
    • Variable Costing Formula
    • Return on Invested Capital Formula
    • Profitability Index Formula
    • Expected Return Formula
    • Cost of Capital Formula
    • Price Index Formula
    • Average Total Cost Formula
    • Discount Factor Formula
    • Price Elasticity Formula
    • Profitability Ratios Formula
    • Financial Leverage Formula
    • Contribution Margin Formula
    • Time Value of Money Formula
    • Balance Sheet Formula
    • Opportunity Cost Formula
    • Current Assets Formula
    • Operating Cycle Formula
    • Operating Margin Formula
    • Bond Equivalent Yield Formula
    • Marginal Revenue Formula
    • Sales Revenue Formula
    • Net Debt Formula
    • Times Interest Earned Formula
    • Gordon Growth Model Formula
    • Required Rate of Return Formula
    • Break Even Analysis Formula
    • Inventory Formula
    • Marginal Propensity to Consume Formula
    • Debt to Asset Ratio Formula
    • Solvency Ratio Formula
    • Interest Expense Formula
    • Leverage Ratio Formula
    • Dividend Payout Ratio Formula
    • Operating Profit Margin Formula
    • PEG Ratio Formula
    • Net Interest Margin Formula
    • Return on Equity (ROE) Formula
    • Overhead Ratio Formula
    • Future Value Formula
    • Days in Inventory Formula
    • Market Capitalization Formula
    • Sharpe Ratio Formula
    • Cash Ratio Formula
    • Retained Earnings Formula
    • Average Rate of Return Formula
    • Current Liabilities Formula
    • Equity Value Formula
    • Relative Risk Reduction Formula
    • Capital Adequacy Ratio Formula
    • Debtor Days Formula
    • DPMO Formula
    • Average Formula
    • Exponential Growth Formula
    • Net Realizable Value Formula
    • Range Formula
    • Shareholders' Equity Formula
    • Sinking Fund Formula
    • Doubling Time Formula
    • Salvage Value Formula
    • Coupon Rate Formula
    • Simple Interest Formula
    • Correlation Formula
    • R - Squared Formula
    • MTBF Formula
    • Change in Net Working Capital Formula
    • Midrange Formula
    • Normal Distribution Formula
    • Mean Formula
    • Population Mean Formula
    • Median Formula
    • Central Limit Theorem Formula
    • Free Cash Flow Formula
    • Stockholder's Equity Formula
    • Acid-Test Ratio Formula
    • Percentile Rank Formula
    • Purchasing Power Parity Formula
    • Harmonic Mean Formula
    • Relative Standard Deviation Formula
    • T Distribution Formula
    • Normalization Formula
    • Operating Income Formula
    • Markup Percentage Formula
    • Relative Change Formula
    • Maturity Value Formula
    • Salary Formula
    • High Low Method
    • Income Statement Formula
    • Market to Book Ratio Formula
    • Dividends Per Share Formula
    • Daily Compound Interest Formula
    • Working Capital Turnover Ratio Formula
    • Weighted Mean Formula
    • Compounded Annual Growth Rate Formula
    • Regression Formula
    • Margin of Error Formula
    • Hypergeometric Distribution Formula
    • Standard Normal Distribution Formula
    • NOPAT Formula
    • Effective Tax Rate Formula
    • Degree of Operating Leverage Formula
    • Outliers Formula
    • Information Ratio Formula
    • Percent Error Formula
    • Hypothesis Testing Formula
    • Activity Based Costing Formula
    • Coverage Ratio Formula
    • Market Risk Premium Formula
    • Degree of Financial Leverage Formula
    • Absorption Costing Formula
    • Future Value of Annuity Due Formula
    • Internal Growth Rate Formula
    • F-Test Formula
    • Covariance Formula
    • Population Variance Formula
    • Coefficient of Determination Formula
    • Adjusted R Squared Formula
    • Compound Interest Formula
    • Gross Profit Formula
    • Accounting Equation Formula
    • Sample Size Formula
    • Sample Standard Deviation Formula
    • Quartile Formula
    • Variance Analysis Formula
    • Correlation Coefficient Formula
    • Z Score Formula
    • Variance Formula
    • Present Value Formula
    • Coefficient of Variation Formula
    • Net Asset Value Formula
    • Profit Margin Formula
    • Holding Period Return Formula
    • Capital Asset Pricing Model Formula
    • Present Value of Annuity Due Formula
    • Depreciation Expenses Formula
    • Annuity Formula
    • Taxable Income Formula
    • Profit Formula
    • Monthly Compound Interest Formula
    • Equity Formula
    • Return on Total Assets Formula
    • Alpha Formula
    • Debt to Equity Ratio Formula
    • EBITDA Formula
    • Accrued Interest Formula
    • Dividend Formula
    • Common Stock Formula
    • Mortgage Formula
    • Growth Rate Formula
    • Absolute Value Formula
  • Accounting fundamentals (614+)
  • Asset Management Tutorial (181+)
  • Banking (43+)
  • Corporate Finance Basics (248+)
  • Credit Research Fundamentals (6+)
  • Economics (44+)
  • Financial Modeling in Excel (13+)
  • Investment Banking Basics (114+)
  • Investment Banking Careers (26+)
  • Trading for dummies (67+)
  • valuation basics (27+)
Finance Blog Courses
  • Finance for Non Finance Managers Training Course
  • Investment Banking Online Course
  • Financial Modeling Certification
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Investment Banking Jobs Offer
  • Finance Formula
  • All Tutorials
Certification Courses
  • All Courses
  • Financial Analyst All in One Bundle
  • Investment Banking Training
  • Financial Modeling Course
  • Equity Research Course
  • Private Equity Training Course
  • Business Valuation Course
  • Mergers and Acquisitions Course

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

Download Median Excel Template

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Special Offer - All in One Financial Analyst Bundle (250+ Courses, 40+ Projects) Learn More