Mean, Median, Mode
Calculate central tendency measures and descriptive statistics from your dataset.
Enter Your Data
Example Datasets:
📈 Measures of Central Tendency
Mean (Average)
-
Median (Middle)
-
Mode (Most Frequent)
-
📋 Descriptive Statistics
| Count (n) | - | Number of data points |
| Sum (Σx) | - | Total of all values |
| Minimum | - | Smallest value |
| Maximum | - | Largest value |
| Range | - | Max - Min |
| Midrange | - | (Max + Min) / 2 |
🔢 Sorted Data
📊 Frequency Table
| Value | Frequency | Percentage |
|---|
📚 How It Works
Mean (Average)
The arithmetic mean is the sum of all values divided by the count:
Mean = (Σx) / n
Example: For data [10, 15, 20, 25], Mean = (10+15+20+25) / 4 = 70 / 4 = 17.5
- Pros: Uses all data points, easy to calculate
- Cons: Sensitive to outliers (extreme values)
- Best for: Symmetric distributions, no extreme outliers
Median (Middle Value)
The median is the middle value when data is sorted:
- Odd count: Middle value (position = (n+1)/2)
- Even count: Average of two middle values
Example: For [10, 15, 20, 25, 30], Median = 20 (middle value)
Example: For [10, 15, 20, 25], Median = (15+20) / 2 = 17.5
- Pros: Not affected by outliers, represents center
- Cons: Doesn't use all data points
- Best for: Skewed distributions, data with outliers (like income)
Mode (Most Common)
The mode is the value(s) that appear most frequently:
- Unimodal: One mode (one peak)
- Bimodal: Two modes (two peaks)
- Multimodal: More than two modes
- No mode: All values appear equally (or all unique)
Example: For [1, 2, 2, 3, 4, 4, 4, 5], Mode = 4 (appears 3 times)
- Pros: Shows most typical value, works with categorical data
- Cons: May not exist or be useful
- Best for: Categorical data, finding most popular item
When to Use Each Measure
| Situation | Best Measure | Reason |
|---|---|---|
| Test scores (no outliers) | Mean | Uses all data, fair representation |
| House prices | Median | Not skewed by mansions/outliers |
| Shoe sizes | Mode | Most common size to stock |
| Income data | Median | Billionaires skew mean |
| Survey ratings (1-5) | Mode or Median | Ordinal categorical data |
Other Descriptive Statistics
- Range: Max - Min (spread of data)
- Midrange: (Max + Min) / 2 (center of range)
- Sum: Total of all values
- Count: Number of data points
Real-World Applications
- Education: Average test scores, grade distributions
- Business: Average sales, most popular products
- Healthcare: Average patient age, common symptoms
- Economics: Median income, average prices
- Sports: Average scores, batting averages
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-