Midpoint Calculator

Find the exact midpoint between two points on a coordinate plane. Enter (x₁, y₁) and (xβ‚‚, yβ‚‚) to get the midpoint with each coordinate's step shown.

Enter the coordinates of two points to find the midpoint M = ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2).

Midpoint
(5, 5)
x-coordinate(2 + 8) / 2 = 5
y-coordinate(3 + 7) / 2 = 5

Quick answer

The midpoint of two points (x₁, y₁) and (xβ‚‚, yβ‚‚) is M = ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2). You average the two x-values to get the midpoint's x-coordinate and average the two y-values to get its y-coordinate. For example, the midpoint of (2, 3) and (8, 7) is (5, 5).

Formula & method

The midpoint of a line segment is the point exactly halfway between its two endpoints. To find it, average the x-coordinates and average the y-coordinates separately: take x₁ + xβ‚‚ and divide by 2 for the midpoint's x-coordinate, then take y₁ + yβ‚‚ and divide by 2 for the midpoint's y-coordinate. The result M = ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2) is always equidistant from both endpoints and lies directly on the segment connecting them. This calculator accepts negative and decimal coordinates and shows the arithmetic for each coordinate so you can follow the work.

Examples

Example 1: Two positive points
Input
(2, 3) and (8, 7)
Result
Midpoint = (5, 5)
Why
x = (2 + 8)/2 = 10/2 = 5 and y = (3 + 7)/2 = 10/2 = 5, so the midpoint is (5, 5).
Example 2: Points with negatives
Input
(-4, 1) and (2, -5)
Result
Midpoint = (-1, -2)
Why
x = (-4 + 2)/2 = -2/2 = -1 and y = (1 + (-5))/2 = -4/2 = -2, giving the midpoint (-1, -2).
Example 3: From the origin
Input
(0, 0) and (10, 4)
Result
Midpoint = (5, 2)
Why
x = (0 + 10)/2 = 5 and y = (0 + 4)/2 = 2, so the midpoint is (5, 2) β€” half of each coordinate of the second point.
Example 4: Decimal coordinates
Input
(1.5, 2.5) and (4.5, 7.5)
Result
Midpoint = (3, 5)
Why
x = (1.5 + 4.5)/2 = 6/2 = 3 and y = (2.5 + 7.5)/2 = 10/2 = 5, so the midpoint is (3, 5).
Example 5: Mixed signs
Input
(-3, 8) and (9, -2)
Result
Midpoint = (3, 3)
Why
x = (-3 + 9)/2 = 6/2 = 3 and y = (8 + (-2))/2 = 6/2 = 3, giving the midpoint (3, 3).

When to use this tool

  • Finding the center point of a line segment in geometry, drafting, or coordinate proofs.
  • Locating the center of a circle when you know the two endpoints of a diameter.
  • Splitting a distance evenly on a map, chart, or design grid to place a marker exactly halfway.
  • Checking homework or test answers for midpoint-formula problems with step-by-step work.
  • Computing the centroid step of a midsegment, perpendicular bisector, or median in a triangle.

Common mistakes

  • Subtracting the coordinates instead of adding them. The midpoint formula adds the two x-values (and the two y-values) before dividing by 2 β€” subtracting gives the distance components, not the midpoint.
  • Forgetting to divide by 2. Adding x₁ + xβ‚‚ alone gives twice the midpoint's x-coordinate; you must divide each sum by 2.
  • Mishandling negative coordinates. Remember that adding a negative is subtraction: (1 + (-5)) = -4, not 6. Keep the signs when summing.
  • Mixing up the axes β€” pairing an x-value with a y-value. Always average the two x's together and the two y's together separately.
  • Confusing the midpoint with the slope or distance. Those use subtraction (xβ‚‚ βˆ’ x₁); the midpoint uses addition and an average.

Frequently asked questions

What is the midpoint formula?

The midpoint formula is M = ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2). You average the x-coordinates of the two endpoints and average their y-coordinates to get the point exactly halfway between them.

How do I find the midpoint of two points by hand?

Add the two x-coordinates and divide the sum by 2 to get the midpoint's x-value. Then add the two y-coordinates and divide by 2 for the midpoint's y-value. Write the answer as an ordered pair (x, y).

Does the midpoint calculator work with negative numbers?

Yes. Just enter negative coordinates as-is, for example -4. The formula adds the values keeping their signs, so the midpoint of (-4, 1) and (2, -5) is (-1, -2).

Can I use decimals or fractions?

Decimals work directly β€” for example (1.5, 2.5) and (4.5, 7.5) give a midpoint of (3, 5). For fractions, convert them to decimals first (Β½ = 0.5) before entering them.

What is the difference between the midpoint and the distance between two points?

The midpoint is the point halfway between two endpoints and uses addition: ((x₁ + xβ‚‚)/2, (y₁ + yβ‚‚)/2). The distance is how far apart they are and uses subtraction inside a square root: √((xβ‚‚ βˆ’ x₁)Β² + (yβ‚‚ βˆ’ y₁)Β²).

How do I find an endpoint if I know the midpoint and one endpoint?

Rearrange the formula: if M is the midpoint and A is the known endpoint, the other endpoint B = (2Β·Mβ‚“ βˆ’ Aβ‚“, 2Β·M_y βˆ’ A_y). Double the midpoint's coordinates and subtract the known endpoint's coordinates.

Is the midpoint always on the line segment?

Yes. The midpoint always lies exactly on the segment joining the two endpoints and is equidistant from both, dividing the segment into two equal halves.

Sources & references

External references open in a new tab. We are independent and not affiliated with these organizations.

  • βœ“ Free to use
  • βœ“ No sign-up required
  • βœ“ Runs entirely in your browser β€” nothing is uploaded.
  • βœ“ Formula and method shown above

Provided β€œas is” for general information only β€” results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.

Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards.

Related tools

Embed this tool on your site

Free to embed, no sign-up. Paste this code where you want the midpoint calculator to appear: