Home › Calculators › Midpoint Calculator

Midpoint Calculator

Enter two points to get the exact point halfway between them, in 2D or 3D. Already know the midpoint? Switch modes to find the missing endpoint. Steps, the segment length, a graph and evenly spaced points along the segment are included.

Last updated:

Find
Dimensions
Enter your values to see the result.
Advertisement
Advertisement

How to use the Midpoint Calculator

  1. Choose the mode: midpoint, or endpoint from a midpoint.
  2. Pick 2D or 3D.
  3. Enter the coordinates of point A and of point B (or of the midpoint M).
  4. Read the result: the midpoint or the missing endpoint appears instantly.
  5. Review the steps, graph and table, or copy the results.

Midpoint formulas

TaskFormulaExample
Midpoint in 2DM = ((x₁ + x₂)/2, (y₁ + y₂)/2)(2, 3) and (8, −5) → (5, −1)
Midpoint in 3DM = ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2)(1, 2, 3) and (7, 8, 9) → (4, 5, 6)
Missing endpointB = (2xₘ − x₁, 2yₘ − y₁)A(−1, 4), M(3, 1) → B(7, −2)
Point at fraction tP = A + t(B − A)t = 0.25 of (0,0)→(8,4) → (2, 1)
Segment length√((x₂ − x₁)² + (y₂ − y₁)²)(2, 3) to (8, −5) → 10

Where midpoints are used

Midpoints show up throughout geometry and everyday work: finding the center of a circle from the ends of a diameter, bisecting a segment in a construction, locating the center of a board or wall for mounting, finding the halfway point between two map coordinates on a small flat area, and computing centroids. For points on the Earth over long distances, use a great-circle midpoint instead, because latitude and longitude are not a flat grid.

Frequently asked questions

What is the midpoint formula?

The midpoint of (x₁, y₁) and (x₂, y₂) is ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2): average the x-coordinates and average the y-coordinates. In 3D, average the z-coordinates as well.

How do I find an endpoint from the midpoint?

Rearrange the formula: x₂ = 2·xₘ − x₁ and y₂ = 2·yₘ − y₁. With endpoint A(−1, 4) and midpoint M(3, 1), the other endpoint is B(2×3 − (−1), 2×1 − 4) = (7, −2).

Is the midpoint the same as the average?

Yes. Each coordinate of the midpoint is the arithmetic mean of the two endpoints' coordinates, which is why the midpoint is exactly halfway along the segment.

What is the perpendicular bisector?

It is the line through the midpoint at a right angle to the segment. Every point on it is the same distance from both endpoints. Its slope is the negative reciprocal of the segment's slope.

Can the coordinates be negative or decimals?

Yes. Any real numbers work, including negatives, decimals and zero. Results are shown to up to 6 decimal places.

How do I find a point that divides a segment in another ratio?

Use the section formula: the point a fraction t of the way from A to B is A + t × (B − A) for each coordinate. The table shows t = 0, 0.25, 0.5, 0.75 and 1.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Distance Formula CalculatorDistance between two points in 2D or 3D with step-by-step work and an exact radical answer.Slope CalculatorSlope, angle, line equation y = mx + b and distance from two points, with a graph.Graphing CalculatorPlot multiple functions with zoom, pan, intersections and a value table.Average CalculatorMean, weighted average, median, sum, min and max of any list.Coordinate Plane Graph PaperPrint XY coordinate grids with numbered axes: range, scale and 1, 4, 6 or 9 grids per page.Halfway Point CalculatorFind the halfway point between two or more addresses on a map, with the nearest city and distances.Roofing Calculator (Roof Squares)Estimate roof area, squares, shingle bundles and cost from pitch.Square Root CalculatorFind square, cube and nth roots with simplified radical form and steps.Body Surface Area CalculatorCalculate body surface area in m² with the Du Bois, Mosteller, Haycock and other formulas.Pythagorean Theorem CalculatorSolve for the hypotenuse or a missing leg of a right triangle, with a diagram and steps.Area CalculatorFind the area of squares, rectangles, triangles, circles, trapezoids, ellipses and sectors.Volume CalculatorVolume of a cube, box, cylinder, sphere, cone, pyramid or capsule, in liters and gallons too.Surface Area CalculatorSurface area of a cube, box, cylinder, sphere, cone or pyramid, with lateral and base areas.Circle CalculatorEnter a circle's radius, diameter, circumference or area and get all the others.Triangle CalculatorSolve any triangle from SSS, SAS, ASA, AAS or right-triangle values: sides, angles, area, type.Vector Calculator2D and 3D vectors: add, subtract, dot and cross product, magnitude, angle, unit vector, projection.Pascal's Triangle GeneratorGenerate Pascal's triangle up to row 30, highlight a row and expand (ax + by)ⁿ.Trigonometry CalculatorSin, cos, tan, csc, sec, cot and inverses in degrees or radians, with exact values.Arc Length CalculatorArc length, sector area and chord from radius and angle, or solve for the radius or angle.Cylinder Volume CalculatorCylinder volume in liters, gallons and cubic units from radius or diameter, plus surface area.Regular Polygon CalculatorArea, perimeter, apothem, radius and angles of a regular polygon from any one measurement.Aquarium Volume CalculatorFish tank gallons, liters and water weight: rectangle, cylinder, bow-front and hexagon tanks.Tank Volume CalculatorTotal and filled volume of cylinder, rectangular and capsule tanks in gallons and liters.Circle Skirt CalculatorWaist radius, fabric yardage and cutting layout for full, half or quarter circle skirts.Ellipse CalculatorArea, perimeter (Ramanujan), eccentricity, foci and equation of an ellipse from its axes.Camera Field of View CalculatorAngle of view and frame size from focal length, sensor size and subject distance.Law of Sines and Cosines CalculatorSolve SSS, SAS, ASA, AAS and SSA triangles with the laws of sines and cosines, steps shown.Miter Angle CalculatorMiter saw angle for any polygon or corner, plus crown molding miter and bevel settings.Simplify Square Root CalculatorSimplify square, cube and nth roots to simplest radical form a√b, with steps.Interactive Unit CircleDrag an angle on the unit circle to see degrees, radians and exact sin, cos and tan. Printable chart.Cone Volume CalculatorVolume, slant height and surface area of a right cone from its radius and height.Perimeter CalculatorPerimeter of a square, rectangle, triangle, circle, trapezoid, polygon or sector, with a diagram.Point Slope Form CalculatorLine equation in point-slope form from a point and slope or two points, plus y = mx + b.Polar to Cartesian ConverterConvert polar coordinates (r, θ) to rectangular (x, y) with steps, a plot and bulk lists.Right Triangle CalculatorSolve a right triangle from any two values: sides, angles, area, perimeter and altitude.Slope Intercept Form CalculatorGet y = mx + b from two points, a point and slope, or standard form, with steps and a graph.Sphere Volume CalculatorVolume and surface area of a sphere from radius, diameter or circumference, or the reverse.Trapezoid Area CalculatorArea, perimeter, median and missing base or height of a trapezoid, with a diagram.30-60-90 Triangle CalculatorEnter one side of a 30-60-90 triangle to get the other sides, area and perimeter in exact radical form.45-45-90 Triangle CalculatorSolve an isosceles right triangle from a leg or hypotenuse, with sides in exact √2 form.Complementary and Supplementary Angle CalculatorComplement, supplement and explement of any angle in degrees or radians, with diagrams.Coordinate Plane PlotterPlot points, segments and polygons on an interactive coordinate grid, or print blank planes.Coterminal Angle CalculatorList positive and negative coterminal angles and the principal angle, in degrees and radians.Heron's Formula CalculatorFind a triangle's area from its three sides with Heron's formula, semi-perimeter and steps.Implicit Differentiation CalculatorFind dy/dx for any equation in x and y with steps, plus the slope and tangent at a point.Inverse Trig Calculatorarcsin, arccos, arctan, arcsec, arccsc and arccot in degrees and radians, with exact values.Polygon Area from CoordinatesArea, perimeter and centroid of any polygon from its vertex coordinates (shoelace formula).Reference Angle CalculatorFind the reference angle and quadrant of any angle in degrees or radians, with a unit circle sketch.Tangent Line CalculatorFind the tangent and normal line to f(x) at a point, with the derivative, slope and a graph.
See all 46 Geometry & Trigonometry Calculators →