Midpoint Calculator
Enter two Cartesian endpoints to find their midpoint, or choose Missing endpoint and supply endpoint A and midpoint M to find B. Work in 2D or 3D with exact integers, decimals and fractions, and inspect each coordinate substitution. A batch worksheet keeps row IDs with results or input errors and can be printed or downloaded as CSV.
Use integers, decimals or fractions such as −4, 0.25 or 1/3. Type a standard minus sign (-) for negatives. Up to 100 digits per coordinate.
Decimal preview: (0, 2)
- x = (-4 + 4) / 2 = 0
- y = (-2 + 6) / 2 = 2
A (-4, -2) · M (0, 2) · B (4, 6). Coincident or very close coordinates may overlap in this projection; the exact values above remain authoritative.
Batch worksheet
Up to 200 segments. One row per segment, with an ID followed by 4 coordinates separated by commas or tabs. Uses the mode and dimensions selected above. IDs stay attached to results and errors.
| ID | Exact result | Working / error |
|---|---|---|
| segment-1 | (0, 2) | x = (-4 + 4) / 2 = 0; y = (-2 + 6) / 2 = 2 |
| segment-2 | (1/2, 1/2) | x = (1/3 + 2/3) / 2 = 1/2; y = (2/5 + 3/5) / 2 = 1/2 |
Coordinates use exact rational arithmetic. Decimal previews are rounded to 12 places; the diagram is schematic and uses the selected axes. These are Cartesian coordinates, not geographic distances. Coordinates are processed on this device and are not saved automatically.
Common questions
- How do I find the midpoint or a missing endpoint?
- For each coordinate, midpoint M = (A + B) / 2. In Missing endpoint mode, B = 2M - A. For A = (1, 2, 3) and M = (3, 4, 5), the missing endpoint is B = (5, 6, 7). Choose 3D to include the z-coordinate.
- Which coordinate formats are accepted?
- Use signed integers, decimals or fractions with a nonzero denominator, such as -4, 0.25 or 1/3. Scientific notation, thousands commas and symbolic expressions are not coordinate formats here. Each coordinate accepts at most 100 digits. Exact fractions are kept; decimal previews round to twelve places.
- How do I find a number-line or class-interval midpoint?
- Use 2D midpoint mode. Put the two numbers or the lower and upper class limits in A x and B x, and put 0 in both y fields. The x-coordinate of M is their average. For limits 10 and 20, M = (15, 0). For several classes, use worksheet rows such as class-1, 10, 0, 20, 0. Frequency is not needed for an individual class midpoint; this does not compute a grouped-data mean.
- How do I calculate the midpoint of a supplied salary range?
- Use 2D Midpoint mode. Enter the lower bound in Endpoint A x and the upper bound in Endpoint B x, with 0 in both y fields. For bounds 40000 and 60000, M = (50000, 0), so the x-coordinate is the arithmetic midpoint of the supplied range. Enter numbers without thousands commas. This averages your supplied bounds and gives no compensation recommendation or market estimate.
- Does the diagram give the segment distance?
- No. It is a schematic projection whose axes are scaled independently; it does not calculate a distance or preserve physical scale. In 3D, choose x/y, x/z or y/z to inspect a projection. The exact coordinate outputs remain the calculation results.
- Can I save a worksheet or my input?
- Download CSV to keep batch row IDs, exact results, decimal previews and substitutions or errors. Print worksheet includes batch row IDs, exact results and working or errors. Inputs stay in page memory and are not saved automatically; export before leaving or reloading.
- Does this find a geographic midpoint on a map?
- No. These are Cartesian coordinates. Latitude/longitude, city lookups, travel distances and spherical geographic midpoints need different calculations.
Coordinates use exact rational arithmetic. Decimal previews are rounded to 12 places; the diagram is schematic and uses the selected axes. These are Cartesian coordinates, not geographic distances.