The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • The Staggering Truth About These New Weight Loss Drugs — And Why You Need to Know

  • The Quiet Crisis: Why Your Auto Loan Interest Rates Are Still Skyrocketing

  • Elvis’s Ghost Haunts AI: The $41 Million Anthropic Copyright Lawsuit Explained

  • 7 Micro-SaaS Tools Quietly Transforming Freelance Productivity — Don’t Miss Out!

  • Who Really Owns the Moon? The Shocking Truth About Lunar Real Estate

  • 7 Shocking Ways Trophy Games’ Q3 2026 Earnings Reshape the Industry

  • The Trillion-Dollar Wall: 10 Urgent Steps to Protect Your CRE Investments Now

  • Mind-Blowing: AI in Law Will Unleash a 30% Deluge of New Cases

  • Slik leser du casinovurderinger utover poengsummen

  • Casinoomtaler som sammenligningsverktøy for ulike spillbehov

Calculators and Calculations
Home›Calculators and Calculations›How to calculate distance between two points

How to calculate distance between two points

By Matthew Lynch
September 19, 2023
0
Spread the love

Calculating the distance between two points is an essential skill that has immense applications in various fields such as mathematics, physics, and engineering. Whether you’re measuring the distance between two points on a plane, a map, or in space, there are different methods available to achieve this. In this article, we will look at some of the most common techniques for calculating the distance between two points.

1. Euclidean Distance Formula

The Euclidean distance formula calculates the straight-line distance between two points in a Cartesian coordinate system. It works for any dimensional space and is derived from the Pythagorean theorem. Here’s how to calculate the Euclidean distance between two points (x1, y1) and (x2, y2):

distance = sqrt((x2 – x1)^2 + (y2 – y1)^2)

To find the Euclidean distance in three-dimensional space, simply include the z-coordinates:

distance = sqrt((x2 – x1)^2 + (y2 – y1)^2 + (z2 – z1)^2)

For example:

Point A: (3, 4)

Point B: (6, 8)

Euclidean distance between A and B = sqrt((6-3)^2 + (8-4)^2) = sqrt(9 + 16) = sqrt(25) = 5

2. Manhattan Distance

The Manhattan distance is also known as the taxicab metric or L1 norm. It measures the distance between two points by adding up their absolute differences along each axis separately. Its name comes from its use to estimate the real-world distance of traveling through a grid-based city like Manhattan.

Manhattan distance formula:

distance = |x2 – x1| + |y2 – y1|

For example:

Point A: (3, 4)

Point B: (6, 8)

Manhattan distance between A and B = |6 – 3| + |8 – 4| = 3 + 4 = 7

3. Haversine Formula

The Haversine formula is used to calculate the distance between two points on a sphere, such as the Earth’s surface. It uses the latitude and longitude coordinates as well as the great-circle distance, which is the shortest route along the sphere’s surface.

The formula can be expressed as:

a = sin²(difference_latitude/2) + cos(latitude_1) * cos(latitude_2) * sin²(difference_longitude/2)

c = 2 * atan2(sqrt(a), sqrt(1-a))

distance = radius * c

For example:

Latitude and Longitude of Point A: (12.9715987, 77.5945627)

Latitude and Longitude of Point B: (19.0759837, 72.8776559)

By plugging in the values into the formula above, you would find the Haversine distance between two points.

Conclusion

Now that you are familiar with different methods for calculating distances, you can confidently apply them in various scenarios or solve problems that require distance measurements. Choosing the right technique for a specific problem depends on factors such as coordinate system or practicality of the calculation method, so make sure to consider these when deciding which formula to use.

Previous Article

How to calculate distance between two latitude ...

Next Article

How to calculate distance formula

Matthew Lynch

Related articles More from author

  • Calculators and Calculations

    How to Calculate RF Value

    October 6, 2023
    By Matthew Lynch
  • Calculators and Calculations

    What is the formula for calculating simple interest

    October 6, 2023
    By Matthew Lynch
  • Calculators and Calculations

    How to calculate ertc

    September 21, 2023
    By Matthew Lynch
  • Calculators and Calculations

    How to calculate default gateway

    September 19, 2023
    By Matthew Lynch
  • Calculators and Calculations

    How to calculate concentration from absorbance

    October 16, 2023
    By Matthew Lynch
  • Calculators and Calculations

    How to calculate percent increase in salary

    October 11, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.