Introduction
This free mileage calculator helps you find the driving distance between two or more places. Enter your start point and end point, and the tool gives you the total miles or kilometers, estimated drive time, trip cost, and fuel used. You can add up to five stops along your route, swap between miles and kilometers, and set your own fuel economy, fuel price, and average speed. Whether you are planning a road trip, tracking work mileage for tax purposes, or just want to know how far one city is from another, this calculator gives you quick and clear results. It also breaks down each leg of your trip in a simple table and chart so you can see exactly how the distance adds up.
How to Use Our Mileage Calculator
Enter your starting point, destination, and trip details below. The calculator will show you the total distance, drive time, trip cost, and fuel needed for your route.
From: Type the city, address, or GPS coordinates where your trip starts. For example, "New York, NY" or "40.7128, -74.0060".
To: Type the city, address, or GPS coordinates where your trip ends.
Swap Button: Click the arrow button between the two fields to switch your starting point and destination.
Add a Stop: Click this button to add up to 5 stops along your route. Each stop changes the total distance and time.
Trip Date: Pick a date for your trip if you want it shown in your results. This does not change the math.
Avoid Highways, Tolls, or Ferries: Check these boxes to skip certain road types. This will make the estimated distance a bit longer. If you're planning a route with toll roads, our Toll Calculator can help you estimate those specific costs.
Distance Unit: Choose between miles or kilometers. This changes all distance, speed, and fuel labels to match.
Cost per Mile or Kilometer: Enter how much each mile or kilometer costs you. The default is $0.67 per mile, which is the standard IRS mileage rate.
Avg Speed: Enter your expected average driving speed. The calculator uses this to estimate your total drive time. For a deeper look at speed and distance relationships, you can also try our Speed Calculator.
Fuel Economy: Enter your car's fuel economy in miles per gallon or kilometers per liter. This helps estimate how much fuel you will use. If you need help determining your vehicle's fuel efficiency, check out our Gas Mileage Calculator.
Fuel Price: Enter the current price of gas per gallon or liter. The calculator uses this with your fuel economy to estimate your fuel cost. For a more detailed breakdown of fuel expenses, try our Fuel Cost Calculator.
Calculate: Click this button to run the calculator and see your results, including a breakdown for each leg of your trip and a bar chart.
Reset: Click this button to clear all your changes and go back to the default settings.
What Is a Mileage Calculator?
A mileage calculator helps you figure out the distance between two or more places by car. It takes your starting point, your destination, and any stops along the way, then estimates how far you will drive. This is useful when you are planning a road trip, tracking work-related driving, or trying to figure out how much a trip will cost in gas and wear on your car. If you're also curious about the straight-line distance between two points, our Distance Calculator can help with that.
How Mileage Is Calculated
The distance between two points on Earth is measured using a method called the haversine formula. This finds the straight-line distance between two locations based on their coordinates. Since roads curve and twist instead of going in a straight line, the calculator adds a winding factor to give you a more realistic driving distance. If you choose to avoid highways, tolls, or ferries, the estimated distance goes up a bit because alternate routes are usually longer.
Why Mileage Matters for Drivers
Knowing your mileage helps you in several ways. You can estimate how much fuel you will need and what it will cost. You can plan how long your drive will take based on your average speed. If you drive for work, you can use mileage to calculate reimbursement since the IRS standard mileage rate for 2024 is 67 cents per mile. Many employers and self-employed workers rely on accurate mileage records for tax deductions. If you're financing a vehicle, understanding mileage is also important for calculating depreciation, which you can explore with our Car Depreciation Calculator. For those tracking mileage for business purposes, keeping records can also help when using a Self Employment Tax Calculator to handle deductions at tax time.
Fuel Economy and Trip Cost
Fuel economy tells you how far your car can go on one gallon of gas or one liter of fuel. The average car in the United States gets about 25 miles per gallon. When you enter your car's fuel economy and the current price of gas, the calculator estimates how much fuel you will use and what it will cost. This makes it easy to budget for any trip before you leave home. For a detailed look at your vehicle's gas consumption, our Gas Mileage Calculator lets you input fill-up data for a precise reading. If you are also planning air travel as part of a longer journey, our Flight Time Calculator can help you estimate that portion of your trip. You may also want to consider financing costs if you're purchasing a vehicle for regular driving. Our Auto Loan Calculator can help you understand monthly payments, while the Car Lease Calculator is useful if you're leasing instead of buying.
Miles vs. Kilometers
In the United States, distance is measured in miles. Most other countries use kilometers. One mile equals about 1.6 kilometers. This calculator lets you switch between both units so it works no matter where you are driving. If you need to convert between other measurement units for construction or home projects, tools like our Meters to Feet Calculator can also be helpful.