Math calculators

Midpoint Calculator

Updated Sep 1, 2026 By Jehan Wadia
Rate Formulas
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
Active field: x₁

Midpoint Result
(5, 7)
The midpoint of (2, 4) and (8, 10)
Distance Between Endpoints
8.49
Step-by-Step Solution
Midpoint Formula: M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)
x_m = (2 + 8) / 2 = 10 / 2 = 5
y_m = (4 + 10) / 2 = 14 / 2 = 7
Midpoint = (5, 7)
Distance = √((x₂ − x₁)² + (y₂ − y₁)²)
Distance = √((8 − 2)² + (10 − 4)²) = √(36 + 36) = √72 ≈ 8.49

Introduction

The midpoint of a line segment is the exact point that sits right in the middle between two endpoints. Think of it like finding the halfway point between two places on a map. The Midpoint Calculator makes it easy to find this center point when you know the coordinates of both ends. Just enter the x and y values for each endpoint, and the calculator computes the midpoint. The midpoint formula takes the average of the x-coordinates and the average of the y-coordinates to give you the middle point. This is a key concept in geometry that you'll use when working with line segments, shapes, and coordinate planes.

How to Use Our Midpoint Calculator

Enter the coordinates of two points, and this calculator will find the exact midpoint between them.

X₁ (X-coordinate of Point 1): Type the x-value of your first point. This can be any positive or negative number, including decimals.

Y₁ (Y-coordinate of Point 1): Type the y-value of your first point. This can be any positive or negative number, including decimals.

X₂ (X-coordinate of Point 2): Type the x-value of your second point. This can be any positive or negative number, including decimals.

Y₂ (Y-coordinate of Point 2): Type the y-value of your second point. This can be any positive or negative number, including decimals.

Once all four values are entered, the calculator uses the midpoint formula, ((x₁ + x₂) / 2, (y₁ + y₂) / 2), to give you the coordinates of the point that sits exactly halfway between your two points on a coordinate plane.

What Is a Midpoint?

A midpoint is the exact center point between two points on a line segment. Think of it like this: if you draw a straight line between two dots on a piece of paper, the midpoint is the spot that splits that line perfectly in half. Both sides are exactly the same length.

How to Find the Midpoint

To find the midpoint between two points, you use the midpoint formula. If you have two points, Point A at (x₁, y₁) and Point B at (x₂, y₂), the formula is:

Midpoint = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)

All you do is add the two x-values together and divide by 2, then add the two y-values together and divide by 2. You are simply finding the average of each coordinate. That gives you a new point right in the middle.

A Simple Example

Say you have Point A at (2, 4) and Point B at (6, 8). Add the x-values: 2 + 6 = 8. Divide by 2: 8 ÷ 2 = 4. Now add the y-values: 4 + 8 = 12. Divide by 2: 12 ÷ 2 = 6. The midpoint is (4, 6).

Why Is the Midpoint Useful?

The midpoint shows up in many areas of geometry and everyday life. It helps when you need to find the center of a shape, divide a line segment into equal parts, or locate a point halfway between two places on a map. It is also used in construction, computer graphics, and navigation. In geometry class, you will often use the midpoint when working with triangles, circles, and coordinate planes.

Key Things to Remember

  • The midpoint always lies on the line segment between the two points.
  • The distance from the midpoint to each endpoint is always equal.
  • The formula works with positive numbers, negative numbers, and decimals.
  • This formula works on a standard two-dimensional coordinate plane (x, y).

Formulas used

Midpoint Formula
M = \left( \frac{x_1 + x_2}{2},\; \frac{y_1 + y_2}{2} \right)
Missing Endpoint Formula
(x_2,\, y_2) = \left( 2x_m - x_1,\; 2y_m - y_1 \right)
Distance Between Endpoints
d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Frequently asked questions

What is the midpoint formula?

The midpoint formula is M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2). You add the two x-values and divide by 2, then add the two y-values and divide by 2. This gives you the point that is exactly halfway between two points on a coordinate plane.

How do I find a missing endpoint using the midpoint?

Switch the calculator to Find Endpoint mode. Enter the known endpoint as Point 1 and the midpoint as Point 2. The formula used is (x₂, y₂) = (2·xₘ − x₁, 2·yₘ − y₁). You multiply each midpoint coordinate by 2 and subtract the known endpoint coordinate to get the missing endpoint.

What is the math input pad for?

The math input pad is an on-screen keyboard that lets you type numbers, fractions, decimal points, and negative signs without using your physical keyboard. Click Show Math Input Pad to open it. It is helpful on touch screens or when you need to enter special characters like the fraction slash.

Can the midpoint have decimal coordinates even if the endpoints are whole numbers?

Yes. If the sum of two coordinates is an odd number, dividing by 2 gives a decimal. For example, the midpoint of (1, 0) and (4, 0) has an x-value of (1 + 4) / 2 = 2.5.

Is the midpoint always on the line segment between the two points?

Yes. The midpoint always lies exactly on the straight line segment that connects the two endpoints. It divides that segment into two equal halves.

Does the midpoint formula work in three dimensions?

This calculator works in two dimensions (x, y). In three dimensions, the idea is the same, and you also average the z-coordinates: M = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). However, this tool only handles 2D points.

What happens if both points are the same?

If both endpoints have the same coordinates, the midpoint is that same point, and the distance is 0. There is no line segment, just a single point.