ორი წერტილის შორის მანძილის გაანგარიშება

იპოვეთ მართ ხაზზე დაშორება ორ წერტილს შორის ჭრილში.

მანძილი —
ჰორიზონტალური ცვლილება (Δx) —
ვერტიკალური ცვლილება (Δy) —
საშუალო —

შედეგები ახლდება ტექსტის შეყვანისას.

Did this calculator give you the right answer?

ამ კალკულატორის შესახებ

This calculator finds the straight-line distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula, and also reports the horizontal change (Δx), the vertical change (Δy), and the midpoint of the segment, with a plot of the two points.

The distance formula, d = √((x₂ − x₁)² + (y₂ − y₁)²), is simply the Pythagorean theorem applied to a grid: the horizontal and vertical gaps are the two legs of a right triangle and the distance is the hypotenuse. Between (0, 0) and (3, 4), Δx = 3 and Δy = 4, so d = √(3² + 4²) = √(9 + 16) = √25 = 5. Because the differences are squared, the order of the points does not change the result, and negative coordinates work fine.

This is the everyday tool for map distances, the length of a line segment, the magnitude of a vector, and nearest-neighbour comparisons in data. Any two points on a plane have exactly one straight-line distance between them.

ხშირად დასმული კითხვები

What is the distance formula?

It is d = √((x₂ − x₁)² + (y₂ − y₁)²). Between (0,0) and (3,4) the distance is √(9 + 16) = √25 = 5.

How does it relate to the Pythagorean theorem?

2002 წელს ინგლისურ და ფრანგულ ენებზე გამოვიდა მისი ორი წიგნი: The Greatest Hits: My Prerogative და The Greatest Hits: My Prerogative.

რა არის Δx და Δy?

2002 წელს აშშ-ში გამოვიდა 2002 წლის 22 აპრილის ნომერი, რომელიც შეიცავს 2002 წლის 22 აპრილის ნომრებს, 2002 წლის 22 აპრილის ნომრებს და 2002 წლის 22 აპრილის ნომრებს.

შუა წერტილი

Yes. Alongside the distance it gives the midpoint, the coordinate exactly halfway between the two points.

Does the order of the points matter?

No. The differences are squared, so swapping the two points gives the same distance.

Can it handle negative coordinates?

Yes. Any real coordinates work, including negatives and decimals — the squaring keeps every distance positive.

❤️ Love Calculator.Free? Share it

𝕏  X Facebook Reddit
API - გამოიყენეთ ეს კალკულატორი კოდისგან

ამ კალკულატორის გამოძახება როგორც უფასო JSON დასასრული - ღილაკი არ არის საჭირო. ქვემოთ მოცემული ველი პარამეტრების ან JSON- ის სახით გაგზავნეთ. ყველა თქვენ მიერ გამოტოვებული პარამეტრის გამოყენებისას იგივე ნაგულისხმევი პარამეტრები გამოიყენება, რაც ამ გვერდზეა; უცნობი პარამეტრის ნომერი არის 400, არასდროს დუმილის ნულს. API დოკუმენტაციის სრული წაკითხვა →

დასასრული

GET https://calculator.free/api/v1/distance-two-points/

curl

curl "https://calculator.free/api/v1/distance-two-points/?x1=0&y1=0&x2=3&y2=4"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/distance-two-points/?" + new URLSearchParams({
    "x1": "0",
    "y1": "0",
    "x2": "3",
    "y2": "4"
  }));
const data = await r.json();
console.log(data.results);

Results are estimates for general guidance only, not financial, medical or tax advice.