How to use this average of two numbers calculator
Find the average of exactly two numbers. Enter each value in its own field to see their midpoint and the substituted formula. Both inputs have equal weight, and either can be a decimal, zero, or a negative number.
- Enter the first number values in the labeled fields, using consistent units.
- Load the example to inspect the expected format, then replace it with your own values.
- Select Calculate and check the result alongside its working. Reset starts a fresh calculation.
Average of Two Numbers formula
Average = (a + b) ÷ 2
The average of two numbers lies halfway between them on a number line. It is equally far from each endpoint: 6 is 2 units from both 4 and 8. The order of the two entries makes no difference.
Follow the numbers
For 4 and 8: (4 + 8) ÷ 2 = 6.
Load the example above to inspect the entries, then change one value and calculate again. The result follows your selected method. Display rounding changes how the answer is shown; it does not change the underlying observations or weights.
What to check before using the result
If one value represents many more observations than the other, the midpoint is not necessarily the combined mean.
Keep enough precision in the source values for your task. A result calculated from rounded summaries can only be as precise as those summaries. If a number was mistyped or an observation is missing, correct the inputs and calculate again before copying or exporting the answer.
Choose a related calculator
Common mistakes to avoid
- Confusing a blank with zero. A real zero is an observation. Missing information is not automatically zero.
- Mixing incompatible scales. Use consistent units, or normalize values before combining them.
- Rounding too early. Keep the original values and round at the result stage.
- Using the wrong weighting. If one value represents many more observations than the other, the midpoint is not necessarily the combined mean.
Frequently asked questions
What formula does this calculator use?
Average = (a + b) ÷ 2. For 4 and 8: (4 + 8) ÷ 2 = 6.
What should I check about the method?
If one value represents many more observations than the other, the midpoint is not necessarily the combined mean.
How many entries can I use?
This tool takes exactly 2 numeric values. Numbers must be finite and no greater than 1 trillion in magnitude. Group and old-count inputs have additional whole-number requirements.
Are the displayed decimals exact?
The calculation uses standard floating-point numbers and compensated addition. Results are rounded only for display. Very small values use scientific notation so they do not silently appear as zero. Select the display precision you need, while respecting the accuracy of your original data.
Are my entries saved or sent anywhere?
The calculator performs its arithmetic in your browser. It does not automatically store entries or send them to a server. Copy, print, and CSV actions happen only when you choose them.
Read our calculation methodology for supported precision, validation, and assumptions.