The midpoint of a line segment is the point that sits exactly halfway between its two endpoints. It is one of the most fundamental constructions in coordinate geometry and appears constantly in problems involving bisectors, centroids, and symmetry. The formula is straightforward: to find the midpoint between point one (x1, y1) and point two (x2, y2), you average the x-coordinates to get the midpoint's x value and average the y-coordinates to get the midpoint's y value. Written as a formula, the midpoint M = ((x1+x2)/2, (y1+y2)/2). This calculator takes the four coordinate values, computes the midpoint, and also returns the straight-line distance between the two endpoints using the distance formula (the square root of the sum of squared differences) and the slope of the line segment (rise over run). Having all three results together is useful because in many geometry problems you need to know both where the midpoint is and how far apart the original points are. Enter any four coordinates, positive or negative, integer or decimal, and the calculator updates instantly. The default example uses point one at (2, 4) and point two at (6, 8), which give a midpoint at (4, 6), a distance of 5.66, and a slope of 1. This tool is designed for students working through coordinate geometry, architects or draftspeople splitting lengths, and anyone who needs a quick centre-point calculation. Results are for reference only.
The midpoint formula averages the two x-coordinates and the two y-coordinates separately: M = ((x1+x2)/2, (y1+y2)/2). The distance between the endpoints uses the standard distance formula: d = √((x2−x1)² + (y2−y1)²). The slope is m = (y2−y1)/(x2−x1). For vertical lines where x1 = x2, the slope is undefined and the calculator notes this.
Point 1 = (2, 4) and Point 2 = (6, 8) (the default values). Midpoint x = (2+6)/2 = 4. Midpoint y = (4+8)/2 = 6. So the midpoint is (4, 6). Distance = √((6−2)² + (8−4)²) = √(16+16) = √32 = 5.66. Slope = (8−4)/(6−2) = 4/4 = 1.00.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.