OhMyCalc

Distance Calculator

Calculate the distance between two geographic points using the Haversine formula. Enter latitude and longitude coordinates to get distance in kilometers, miles, and nautical miles.

How to Use the Distance Calculator

  1. Enter distance, fuel consumption, or vehicle parameters.
  2. Add cost information such as fuel price or electricity rate.
  3. Review the calculated cost, consumption, or comparison.
  4. Adjust values to compare different scenarios.

クイックリファレンス

変換元変換先
5 L/100 km47 mpg
7 L/100 km33.6 mpg
10 L/100 km23.5 mpg
100 km × 8 L/100 km8 L fuel
500 km × 6 L/100 km30 L fuel
1 kWh~5 km for EV

使用例

計算式

d = 2R × asin(√(sin²(Δlat/2) + cos(lat1) × cos(lat2) × sin²(Δlon/2))). R = 6371 km.

よくある質問

How to use?
Enter the data and click the calculate button.
Calculation accuracy?
Calculations are performed with high precision.
Is it free?
Yes, all calculators are completely free.