Calcupedia

Length of a Line Segment Calculator

Math

Find the length of a line segment from the coordinates of its two endpoints.

Ad · Billboard
-100,000100,000
-100,000100,000
-100,000100,000
-100,000100,000

Length

6.4031

The straight-line distance between the two endpoints

Share result
Reload calculator
Clear inputs

Found this calculator useful?

From Scratch To $10K/Month In 60 Days

This is a proven money making system that takes students by the hand to make at least $10,000 per month, every month. Students get 12 weeks of guided coaching in addition to the "MPS Super Funnel" and tools.

We value your privacy and promise not to sell or misuse your information. Here's our privacy policy.

Calculator Stats

Odeh Ahwal

Creators

Odeh Ahwal
Reviewed and verifiedThis calculator was reviewed and verified by the Calcupedia due diligence team.

0people find this calculator helpful

Views

Helpful

Saved

Embeds

Like
Share
Embed this calculator
Cite
Save
Ad · 300×250
Ad · 300×250

Frequently Asked Questions

What is the formula for the length of a line segment?

The length equals the square root of the difference in x-coordinates squared plus the difference in y-coordinates squared, the same distance formula derived from the Pythagorean theorem.

What is the length of the segment between (-3, 1) and (2, 5)?

The segment length is about 6.40 units.

Is the length of a line segment the same as distance between two points?

Yes, a line segment length and the straight-line distance between its two endpoints are the same measurement, just described with different terminology.

Spot a mistake? Tell us what's wrong.

Don't see what you need?

Request a calculator. The most-requested ones get built first in our monthly batch.

Request a calculator

Want this calculator on your website?

Embed the Length of a Line Segment Calculator on any site — no code needed. Customize colors, remove branding, and track usage.

Embed it free →
Embed on any platform — Next.js, React, Vue.js, PHP, Laravel, Shopify, Wix, Webflow, Squarespace, and more