OhMyCalc

Average Calculator

Calculate the arithmetic mean, weighted mean, median, mode, range, sum, and count for any set of numbers.

How to Use the Average Calculator

  1. Enter the required date, time, or duration values.
  2. Select any additional options such as time zone or format.
  3. View the computed result instantly.
  4. Copy the result or adjust inputs as needed.

Quick Reference

FromTo
1 minute60 seconds
1 hour3,600 seconds
1 day86,400 seconds
1 week604,800 seconds
1 year31,536,000 seconds
1 year525,600 minutes

Use Cases

Formula

Arithmetic mean = sum of values / count. Weighted mean = Σ(value × weight) / Σ(weights). Median is the middle value when sorted. Mode is the most frequent value.

Frequently Asked Questions

What is the difference between mean, median, and mode?
The mean is the arithmetic average. The median is the middle value in a sorted list. The mode is the value that appears most frequently. They can differ significantly in skewed data sets.
When should I use a weighted average?
Use a weighted average when some values contribute more than others — for example, when calculating a course grade where exams count more than homework, or computing a portfolio return where assets have different sizes.
What if there is no mode?
If all values appear the same number of times (each exactly once), there is no mode. Some definitions say the data set is 'amodal'. This calculator shows '—' in that case.
How is the median calculated for an even number of values?
Sort the values. If the count is even, the median is the average of the two middle values. For example, for {2, 4, 6, 8}, the median is (4 + 6) / 2 = 5.