MakeMyCalculator.com

CALCULATOR

Circle Radius from Diameter Endpoints Calculator

Circle Radius from Diameter Endpoints. Example: X1: 0 m, Y1: 0 m, X2: 6 m, Y2: 8 m gives 5 m. Radius output with center/equation displayed as supporting original context; point-circle limit explicitly allowed. Original useful product scope; historical catalog title does not grant missing modes or source parity. Version2 precision contract: Equal endpoints yield0. Nonzero near-zero differences ret

YOUR INPUTS Live calculation

Radius output with center/equation displayed as supporting original context; point-circle limit explicitly allowed. Original useful product scope; historical catalog title does not grant missing modes or source parity. Version2 precision contract: Equal endpoints yield0. Nonzero near-zero differences retain representable radius, with normalized squared components bounded≤1; final below-half-minimum-subnormal radii can round0 as unavoidable binary64 output rounding. Derivation: Scale by maximum coordinate difference before squaring; halve the dimensionless norm before multiplying back.

Accepted inputs: X1: -1,000 to 1,000 m; Y1: -1,000 to 1,000 m; X2: -1,000 to 1,000 m; Y2: -1,000 to 1,000 m.

Example values. Enter your own inputs.

Circle Radius from Diameter Endpoints

5m

How the calculation works

dx=x2-x1; dy=y2-y1; m=max(abs(dx),abs(dy)); s=max(m,MIN_VALUE); radius=m*sqrt((dx/s)²+(dy/s)²)/2, evaluated as m*(sqrt(...)/2).

Worked example

With x1 0 m, y1 0 m, x2 6 m, y2 8 m, circle radius from diameter endpoints is 5 m.

Assumptions and limits

Radius output with center/equation displayed as supporting original context; point-circle limit explicitly allowed. Original useful product scope; historical catalog title does not grant missing modes or source parity. Version2 precision contract: Equal endpoints yield0. Nonzero near-zero differences retain representable radius, with normalized squared components bounded≤1; final below-half-minimum-subnormal radii can round0 as unavoidable binary64 output rounding. Derivation: Scale by maximum coordinate difference before squaring; halve the dimensionless norm before multiplying back.

Circle Radius from Diameter Endpoints5 m
Edit inputs ↑

Embed this calculator

Paste this snippet into your site. The widget is free and ad-free, opens with your current inputs, and keeps a link back to this calculator.