Math Calculator

Midpoint Calculator

Find exact midpoints and endpoints.

Midpoint inputs

Find the center or recover an endpoint.

Signed decimal, scientific e notation or integer fraction.

Entry and display options

Each workflow retains its own source points.

Inactive coordinates are retained locally and excluded from calculations and shared links.

Signed decimal, scientific e notation or integer fraction.

Signed decimal, scientific e notation or integer fraction.

Signed decimal, scientific e notation or integer fraction.

Load a worked example

Exact coordinates, midpoint checks and squared distances do not change with display precision.

The diagram is available for 2D coordinates. All selected dimensions contribute to the exact calculation. Sources retain sixty significant decimal digits or sixty digits per integer fraction, with scientific input exponents from negative one hundred through positive one hundred. Each source has a one-hundred-eighty-character limit. Exact numerators and denominators are bounded to eighteen hundred digits. Rational decimal views use half-away-from-zero rounding; numerical lengths and screen positions are approximations.

Exact midpoint

M=(4,7)M=\left(4,7\right)

Decimal coordinate view

M=(4,7)M=\left(4,7\right)

Exact coordinate arithmetic determines the answer. Every midpoint-vector residual is zero, and both half-segment squared distances agree exactly. Rounded displays do not replace these checks.

Endpoints and midpoint

First endpoint

A=(2,4)A=\left(2,4\right)

Second endpoint

B=(6,10)B=\left(6,10\right)

Midpoint

M=(4,7)M=\left(4,7\right)

Full and half segment lengths

AB=52AB=\sqrt{52}AB≈7.211103×100AB\approx 7.211103\times10^{0}
AM=MB=13AM=MB=\sqrt{13}AM=MB≈3.605551×100AM=MB\approx 3.605551\times10^{0}

These are Cartesian arithmetic midpoints, not geographic, circular-angle, logarithmic-axis or weighted midpoints. Distances require compatible units on every active axis.

Segment and midpoint diagram

Endpoints and the midpoint of their finite segmentThe square planar view uses equal coordinate units and is centered on the exact midpoint. Distinct endpoints appear as a square and a diamond, with a circle at the midpoint. Coincident points share one marked location. Axes outside the local window are omitted; exact coordinates and checks remain in the table.FirstSecondMidpointHorizontal coordinateVertical coordinate

Square: first endpoint. Diamond: second endpoint. Circle: midpoint. The solid segment stops at its endpoints and is divided into equal halves.

Viewport center: (4,7)\left(4,7\right).
Equal coordinate units per grid step: 11.

Axes outside this local window are omitted. Centering uses exact coordinate differences before numerical plotting; components below screen resolution can appear aligned. The exact coordinates determine the answer.

Midpoint calculation step by step

  1. Record the known coordinates

    A=(2,4),B=(6,10)A=\left(2,4\right),\quad B=\left(6,10\right)

    Use coordinates from the same Cartesian reference frame and preserve coordinate order. In one dimension there is one coordinate; the plane uses two, and space uses three.

  2. Average the horizontal coordinates

    Mx=Ax+Bx2=2+(6)2=4M_x=\frac{A_x+B_x}{2}=\frac{2+\left(6\right)}{2}=4

    Add the two matching endpoint coordinates exactly and divide their sum by two. A coordinate difference is not a midpoint coordinate.

  3. Average the vertical coordinates

    My=Ay+By2=4+(10)2=7M_y=\frac{A_y+B_y}{2}=\frac{4+\left(10\right)}{2}=7

    Add the two matching endpoint coordinates exactly and divide their sum by two. A coordinate difference is not a midpoint coordinate.

  4. Verify the midpoint vector identity

    2M−A−B=(0,0)2M-A-B=\left(0,0\right)

    Every coordinate of this exact residual is zero. This verifies the coordinate average and segment position, rather than relying only on equal rounded distances.

  5. Compare the two exact half distances

    AM2=13,MB2=13,AM2−MB2=0AM^2=13,\quad MB^2=13,\quad AM^2-MB^2=0

    Both squared distances agree exactly, and each is one quarter of the full squared segment length. The vector identity also confirms that the point lies on the segment.

  6. Keep the length expression exact

    AB=52,AM=MB=13AB=\sqrt{52},\quad AM=MB=\sqrt{13}

    The nonnegative square root gives a Euclidean length when coordinate axes use compatible units. Numerical length views are approximate and do not change the exact midpoint.

Inputs saved with this calculation

Calculation mode
Find midpoint
Coordinate dimensions
2 Cartesian dimensions
Active source points
First endpoint: horizontal 2, vertical 4; Second endpoint: horizontal 6, vertical 10
Rounded decimal places
6
Show diagram
true

All result details

The full table retains endpoint and midpoint coordinates, full displacement, exact coordinate residuals and squared-distance checks. A midpoint requires the coordinate-average identity, not merely equal distances from the two endpoints. CSV preserves every exact digit.

Midpoint calculation details
QuantityExact valueRounded decimalInterpretation
First endpoint horizontal coordinate2222Exact Cartesian coordinate in the selected dimensional space.
First endpoint vertical coordinate4444Exact Cartesian coordinate in the selected dimensional space.
Second endpoint horizontal coordinate6666Exact Cartesian coordinate in the selected dimensional space.
Second endpoint vertical coordinate10101010Exact Cartesian coordinate in the selected dimensional space.
Midpoint horizontal coordinate4444Exact Cartesian coordinate in the selected dimensional space.
Midpoint vertical coordinate7777Exact Cartesian coordinate in the selected dimensional space.
Full horizontal displacement4444Second endpoint coordinate minus first endpoint coordinate.
Full vertical displacement6666Second endpoint coordinate minus first endpoint coordinate.
Horizontal midpoint verification0000Twice the midpoint coordinate minus the two endpoint coordinates; an exact zero is required.
Vertical midpoint verification0000Twice the midpoint coordinate minus the two endpoint coordinates; an exact zero is required.
Full segment squared distance52525252Sum of squared coordinate displacements, assuming compatible Cartesian units.
First half squared distance13131313Squared Euclidean distance from the first endpoint to the midpoint.
Second half squared distance13131313Squared Euclidean distance from the midpoint to the second endpoint.
Half-distance verification difference0000First half squared distance minus second half squared distance; exactly zero.
What Can You Create?

Find the center of a segment and recover its missing endpoint

Exact coordinate midpoints

Average matching endpoint coordinates on a number line, in a plane or in three-dimensional space. Signed finite decimals, scientific sources and integer fractions stay rational throughout the calculation. The result keeps its reduced exact coordinates alongside an independently rounded decimal view. A complete record includes the original endpoints, midpoint, displacement, coordinate checks and squared distances, making the calculation inspectable beyond the headline point.

A reversible endpoint construction

Start with a known endpoint and midpoint when the opposite endpoint is missing. Reflect each coordinate through the midpoint, then inspect the reconstructed segment. The two workflows retain separate source groups, so changing modes does not silently reinterpret a stored point as a different geometric object. The resulting endpoint is checked by averaging it with the known endpoint and comparing the reconstructed midpoint with the original source.

A finite segment illustration

The planar diagram distinguishes endpoint markers from the midpoint and stops the segment at its actual ends. Equal coordinate units preserve the geometry, while an exact centered calculation prevents large source coordinates from erasing small local differences before plotting. A coincident-point state is shown honestly with one shared marker. One- and three-dimensional calculations remain complete in their numerical records without displaying a misleading planar projection.

Formulas and worked examples

Midpoint formulas and step-by-step examples

Average corresponding endpoint coordinates

Start with A=(2,4)A=(2,4) and B=(6,10)B=(6,10). Add the horizontal coordinates and divide by two; then do the same for the vertical coordinates. The midpoint uses coordinate sums, not the full displacement. Signed differences remain useful for checking the segment length afterward.

M=(2+62,4+102)=(4,7)M=\left(\frac{2+6}{2},\frac{4+10}{2}\right)=(4,7)

Recover a missing endpoint by reflection

Rearrange 2M=A+B2M=A+B to obtain B=2M−AB=2M-A. With the same known point A=(2,4)A=(2,4) and midpoint M=(4,7)M=(4,7), the opposite endpoint is uniquely determined. Reapplying the average formula to the recovered pair returns the supplied midpoint, which provides a direct reverse-calculation check.

B=2(4,7)−(2,4)=(8−2,14−4)=(6,10)B=2(4,7)-(2,4)=(8-2,14-4)=(6,10)

Preserve fractional sources before rounding

For A=(1/3,−1/2)A=(1/3,-1/2) and B=(5/6,3/4)B=(5/6,3/4), exact coordinate addition gives a horizontal sum of 7/67/6 and a vertical sum of 1/41/4. Dividing each sum by two produces the exact midpoint. Rounding an endpoint first would change the stated problem, so the tool retains rational sources and rounds only its separate decimal view.

M=(13+562,−12+342)=(712,18)M=\left(\frac{\frac13+\frac56}{2},\frac{-\frac12+\frac34}{2}\right)=\left(\frac7{12},\frac18\right)

Verify position as well as equal lengths

For the default pair, B−A=(4,6)B-A=(4,6), so AB2=42+62=52AB^2=4^2+6^2=52. Each half has displacement (2,3)(2,3) and squared distance 1313. The coordinate identity independently establishes segment position; equal endpoint distances on their own would also include other points on a perpendicular bisector.

2(4,7)−(2,4)−(6,10)=(0,0),AM2=MB2=13=5242(4,7)-(2,4)-(6,10)=(0,0),\qquad AM^2=MB^2=13=\frac{52}{4}

Extend the same average to space

In three dimensions, average the depth coordinates as well as the horizontal and vertical coordinates. For A=(1,−2,3)A=(1,-2,3) and B=(7,4,−1)B=(7,4,-1), the midpoint is (4,1,1)(4,1,1). The full squared distance is 8888, while each squared half distance is 2222. Compatible axis units are needed to interpret the resulting Euclidean lengths; no depth coordinate is omitted from the checks.

M=(1+72,−2+42,3+(−1)2)=(4,1,1)M=\left(\frac{1+7}{2},\frac{-2+4}{2},\frac{3+(-1)}{2}\right)=(4,1,1)
Why Users Love This Tool

Keep coordinate reasoning separate from rounded appearances

Checks that establish the actual midpoint

  • The coordinate-average identity is verified component by component using exact rational arithmetic.
  • Both squared half distances agree exactly and are one quarter of the full squared segment length.
  • Coincident points stay a valid midpoint case, with a zero displacement and zero distances.
  • Large coordinate sums and nearby source values do not collapse through premature floating-point conversion.

A reproducible source and interpretation record

  • Only active coordinates contribute to the selected dimensional calculation; hidden source values remain locally independent.
  • The reverse workflow explicitly treats its second entered point as a known midpoint, not a second endpoint.
  • Exact radical lengths remain separate from numerical approximations and diagram screen positions.
  • Source-preserving sharing, complete CSV and typeset printing keep the assumptions attached to the answer.
Perfect For

Coordinate geometry for practice, teaching and spatial checks

Students learning coordinate averages

Follow each matching coordinate sum before dividing by two, then connect the resulting point with the segment diagram. Negative and fractional examples show why sign handling and consistent coordinate order matter. Swapping endpoints demonstrates the symmetry of the midpoint operation. The missing-endpoint workflow reverses the same relationship, helping you explain the algebra instead of memorizing two disconnected procedures.

Teachers comparing geometric evidence

Use opposite, coincident, fractional and space examples to compare how the midpoint definition behaves across inputs. Distinguish the coordinate identity from merely finding an equidistant point. The result table records exact residuals and squared half lengths, while the diagram uses separate endpoint and midpoint markers. Printed working retains source points and the selected dimensions so a classroom example can be reproduced and checked independently.

People checking a Cartesian model

Find a segment center or a reflected endpoint after defining the coordinate system and its units. Keep every selected space coordinate active when evaluating a three-dimensional pair. A practical midpoint may locate a center in a drawing or model, but the tool does not select a reference frame, account for geographic curvature or test the quality of measured data. Preserve the source record when interpreting approximations in a real application.

How It Works

How it works in three quick steps.

1

Choose dimensions and the point you need

Select midpoint or missing endpoint, then choose one, two or three Cartesian dimensions. Enter each active coordinate as a signed finite decimal, scientific notation or integer fraction. In midpoint mode, provide both endpoints; in reverse mode, provide the known endpoint and midpoint. Coordinate groups and inactive dimensions retain their own local source strings, so changing the view does not silently turn an invalid coordinate into zero.

2

Read exact coordinates and inspect the checks

Review the reduced exact target coordinates before using their rounded decimal view. The tool retains both endpoints, the midpoint, displacement and the full result table. Each coordinate-average residual must be exactly zero, and the two squared half distances must agree. A planar diagram marks the finite segment and midpoint with equal axis units. Coincident endpoints produce a valid zero-length segment, rather than an undefined midpoint.

3

Follow the working and save a reproducible record

Inspect each coordinate average or reflected endpoint operation, then compare the vector identity and squared distances. Keep exact radical lengths separate from their numerical approximations. Copy the complete summary, share active source points, download CSV or print the typeset calculation. Save as PDF through the browser print dialog when needed. CSV retains complete exact digits when exceptionally long numerical expressions require a compact print notice.

Download & Print

Keep the source points and verification together

Download complete exact coordinates

CSV contains every active source coordinate, the target point, endpoint and midpoint records, displacement, vector residuals and squared-distance checks. Exact radical lengths and numerical approximations are identified separately. Long numerator and denominator strings are retained in full, even when screen or print views use a compact representation. This is useful for comparing nearby coordinates or inspecting a reverse construction without losing the precision of its original sources.

Print mathematical working or save a PDF

Print removes editing controls and navigation while retaining the result, source record, exact coordinate working, available planar diagram and native detail table. Labels stay with their mathematical values and table rows can continue with repeated headers. Choose a suitable browser orientation and Save as PDF. Exceptionally long numerical expressions use a clear notice rather than being silently clipped; retain the CSV when complete digits exceed a readable printed line.

Share the active calculation

A shared fragment preserves the current workflow, dimensions, source strings, decimal precision and diagram setting. It excludes hidden point groups and unused coordinate axes, so another person can inspect the same defined problem. Malformed or extra inactive settings are rejected instead of being silently merged. Switching views locally retains your other editor values; a shared link deliberately describes its active calculation rather than the entire editing history.

FAQ

Frequently Asked Questions

How do I find the midpoint of two points?
Average each matching pair of endpoint coordinates. In the plane, if A=(x1,y1)A=(x_1,y_1) and B=(x2,y2)B=(x_2,y_2), the midpoint is M=((x1+x2)/2,(y1+y2)/2)M=((x_1+x_2)/2,(y_1+y_2)/2). Keep coordinate order consistent: combine horizontal coordinates with horizontal coordinates, and vertical coordinates with vertical coordinates. The calculator performs these additions and divisions exactly, then checks 2M−A−B=(0,0)2M-A-B=(0,0) and equal half distances. The decimal display is separate from the reduced rational answer.
Can I find a missing endpoint from a midpoint?
Yes. Choose Find missing endpoint, enter the known endpoint AA and known midpoint MM, then calculate the other endpoint using B=2M−AB=2M-A coordinate by coordinate. For example, A=(2,4)A=(2,4) and M=(4,7)M=(4,7) produce B=(6,10)B=(6,10). This is reflection through the midpoint and gives one unique endpoint for the stated Cartesian coordinates. The tool reconstructs the complete segment and verifies that averaging its endpoints returns the supplied midpoint exactly.
Does this calculator support one and three dimensions?
Yes. Choose the number line for one active coordinate, the plane for two coordinates or space for three coordinates. The same coordinate-average operation applies independently to every selected axis. All active coordinates also contribute to the Euclidean squared-distance checks. The segment diagram is intentionally planar and appears only in two dimensions; a three-dimensional result is not silently reduced to a two-dimensional projection. Inactive coordinate sources remain locally available when you switch dimensions again.
Can I enter negative coordinates, fractions and scientific notation?
Yes. Each active field accepts a signed finite decimal, scientific e notation or a signed integer fraction with a nonzero denominator. Negative denominators are normalized consistently. Sources support sixty significant decimal digits or sixty digits per integer fraction, up to one hundred eighty source characters, and scientific input exponents from negative one hundred through positive one hundred. Commas, arithmetic expressions and recurring-decimal syntax are unsupported. Use an exact integer fraction when you intend a recurring rational value.
What happens when both endpoints are the same?
Coincident endpoints have a valid midpoint: the shared point itself. Their displacement, full distance and both half distances are exactly zero. The planar diagram shows one marked location and explicitly identifies all three points as coincident, rather than drawing an invented nonzero segment. This differs from finding a slope from a repeated point, where a unique line direction is unavailable. In missing-endpoint mode, a known endpoint equal to the midpoint similarly reconstructs that same point as the other endpoint.
Why does the calculator check both coordinates and distances?
Equal endpoint distances alone do not identify a midpoint in the plane or space: other points can lie on the perpendicular bisector. The coordinate identity 2M=A+B2M=A+B establishes the actual segment position. The tool therefore checks every component of 2M−A−B2M-A-B for exact zero and separately compares AM2AM^2 with MB2MB^2. It also verifies 4AM2=AB24AM^2=AB^2. These exact relationships avoid treating two rounded length displays as proof that a candidate point is the midpoint.
Do endpoint order and rounding affect the midpoint?
Swapping the two endpoints preserves their coordinate sums, midpoint and distances. It reverses the full displacement vector, so signed coordinate differences change consistently. Display precision also leaves the exact calculation unchanged: rational decimal views use zero through twelve places with half-away-from-zero rounding. Very large or sub-resolution nonzero values may use scientific notation. The exact fractions and verification residuals remain available in the table and CSV, even when nearby rounded coordinate views look identical.
Is this suitable for geographic positions or mixed coordinate units?
Use this tool for Cartesian coordinates in one shared reference frame. A simple arithmetic longitude average does not generally describe a geographic midpoint, especially around the date line or on the curved Earth. Circular angles, logarithmic graph coordinates and weighted centers also require different definitions. Coordinate averages can retain meaningful axis-specific units when used consistently, but interpreting the reported Euclidean distances requires compatible units across active axes. The calculator does not transform coordinate systems or validate measurements.
How should I interpret the midpoint diagram?
The diagram is a square planar window centered on the exact midpoint. A square and a diamond distinguish the endpoints, while a circle marks the midpoint. The segment ends at the actual endpoint markers. Both axes use equal coordinate units, with the center and grid-step scale shown below. Axes outside the local window are omitted. Centered exact differences are calculated before numerical plotting, though tiny directional components can disappear at screen resolution; exact coordinate values determine the answer.
Can I share, copy, download or print all the working?
Yes. Share calculation copies an editable URL fragment containing the active point group, selected dimensions and common display options. Inactive point groups and unused coordinates are excluded, and malformed or duplicate shared settings are rejected. Copy summary retains exact coordinates, checks, radical lengths, numerical approximations and method notes in plain text. CSV preserves every exact digit. Print keeps the mathematical working and source record while removing controls; choose Save as PDF in the browser. Long numerical expressions use an explicit notice pointing to CSV.
About This Tool

About this exact midpoint and missing-endpoint calculator

This midpoint calculator treats the center of a Cartesian segment as a coordinate relationship that can be inspected in both directions. When two endpoints are known, each midpoint coordinate is their arithmetic average. When one endpoint and the midpoint are known, reflection through the midpoint determines the other endpoint. The selected dimension count controls whether the calculation uses a number-line coordinate, a planar pair or a space triple. Every active source is preserved in the calculation record instead of being replaced by a short decimal approximation.

The mathematical checks address two different ideas. Exact coordinate residuals establish the average relationship and therefore the position on the segment. Equal squared half distances provide an additional length check, with each half accounting for one quarter of the full squared distance. Equal distances alone would not identify a midpoint in a plane or space, because points off the segment can also be equidistant from its endpoints. The tool keeps those conditions distinct and handles a zero-length segment as a valid coincident-point result.

Finite decimal and integer-fraction sources are processed with rational arithmetic, so coordinate addition, reflection, verification and squared distances remain exact within stated bounds. Lengths keep their exact nonnegative radical expressions and a separate numerical view. The planar diagram uses centered exact differences before numeric plotting, while screen resolution and compatible-unit assumptions remain explicit. This tool does not calculate geographic, circular or weighted centers, transform coordinate systems or validate measurements. Sharing, plain copying, CSV and print help preserve those limits when an answer is reused for learning, teaching or a model check.

Editorial Transparency

Who maintains this page

Ownership and review

Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.

Methodology

Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.

Read the editorial methodology

Dates and sources

Review dates change only after a substantive method or content check.

Keep building

Explore more calculators

Calculators hub