Average Calculator
Calculate the average (mean), sum, and count of two or three numbers.
Enter your values and click Calculate
How It Works
The arithmetic mean is computed using the formula: mean = (sum of all values) ÷ (count of values). When only two values are active, the calculator sums Value 1 and Value 2 and divides by 2. When the third value is toggled on, Value 3 is added to the sum and the divisor becomes 3. The toggle approach prevents accidentally including an unused zero-value field in the calculation, which would distort the result. For example, if you enter 80 and 90 without toggling on Value 3 (which defaults to 0), you correctly get an average of 85 rather than 56.67. The sum and count are also displayed as separate outputs because they are often needed independently — for instance, when computing a weighted average manually or when verifying that all values were entered correctly. The result is rounded to four decimal places, which is sufficient precision for virtually all practical averaging tasks.