CalcuAll.
A quick calculation, right here.

CalcuAlltor.

FREE ONLINE SCIENTIFIC CALCULATOR

0
Ready when you are.
English

Mathematics

Midpoint of Two Numbers

Find the number exactly halfway between two values on a number line.

Let’s calculate.

Usage estimate

Find the value halfway between two numbers.

Your result
—
Rounded to up to 2 decimal places.

EXPLORE THE FORMULA

Midpoint of Two Numbers

Mathematics · FORMULA GUIDE

Your current calculation

The values and displayed result follow the calculator as you edit it.

First number
—
Second number
—
Your result—
This panel uses the calculator’s displayed, rounded result.

The formula

Midpoint = (a + b) / 2

Find the value halfway between two numbers.

Variables and input conventions

a
First number
b
Second number

Understanding the calculation

Add the two signed endpoints and divide by 2. Between −8 and 2, the midpoint is −3.

Interpreting the result

This is a midpoint on a number line. Use a shared scale and unit. It is not the two-dimensional midpoint of a pair of coordinate points.

A worked example

Halfway between 10 and 20 is 15.

A fixed reference example; it does not change with your inputs.

Assumptions and valid inputs

Both values may be positive, zero or negative.

Numeric entries must be finite, at most 100 characters, and either zero or have magnitude from 10⁻¹⁰⁰ to 10¹⁰⁰. Lists accept up to 1,000 entries, separated by semicolons or new lines; commas may be decimal separators, not thousands separators. Geometric series sums, CV, standard error and z-scores additionally limit result magnitude to 10¹⁰⁰.

Rounding and numerical precision

Mathematics calculations use a private 640-significant-digit decimal context; factorials and selections use exact integer arithmetic before display. Other topics use their stated numeric methods. Choose 0–8 decimal places for display and copying. Trailing zeros are omitted; very small values may round to zero. Display rounding does not change the underlying calculation. Finite-precision arithmetic is not symbolic exact arithmetic.

Accuracy of input data

Extra displayed decimals do not improve input accuracy. Measurement uncertainty, product variability and uncertain chosen rates are separate from rounding. This tool does not propagate measurement uncertainty. Check that its stated assumptions describe your situation.

References and further study

OpenStax

The algebra reference supplies real-number operations. The displayed midpoint, proportion or total is CalcuAll’s direct arithmetic application, not an externally prescribed measurement procedure.

Related tools

Formula and worked example

Midpoint = (a + b) / 2

Reference example

Halfway between 10 and 20 is 15.

When this calculation applies

This is a midpoint on a number line. Use a shared scale and unit. It is not the two-dimensional midpoint of a pair of coordinate points.

Background reference: OpenStax. References explain the method or units; they do not certify this calculator.

Source scope: The algebra reference supplies real-number operations. The displayed midpoint, proportion or total is CalcuAll’s direct arithmetic application, not an externally prescribed measurement procedure.

For the derivation, input conventions and numerical limits, open .

How to use this result

Halfway between −8 and 14 is (−8 + 14) ÷ 2 = 3. The distance from −8 to 3 and from 3 to 14 is 11 in each direction.

Does the order of the two numbers matter?

No. Adding a and b gives the same sum whichever comes first. You can enter negative values, zero and decimals.

Can I use this for a midpoint between coordinate points?

This tool takes two numbers, not two coordinate pairs. For two points in a plane, calculate the midpoint of the x coordinates and then the midpoint of the y coordinates separately.