Powered by NextBillion.ai APIs
A powerful tool for bulk-calculating distances and ETAs from CSV files with coordinate data, powered by NextBillion.ai Distance Matrix API.
The Distance Matrix Calculator is a bulk processing tool designed to help logistics teams, fleet managers, and data analysts calculate distances and estimated travel times (ETAs) for large sets of origin-destination pairs. Simply upload a CSV file with coordinate columns, and the tool will enrich each row with distance and duration data.
Built using NextBillion.ai's Distance Matrix API, the calculator provides accurate road-network-based distances and durations, making it ideal for logistics planning, delivery optimization, and transportation analysis.
Upload CSV files and automatically detect coordinate columns
Auto-detects common column naming patterns for lat/lng fields
Track processing progress with a live progress bar
Download your CSV with added distance, ETA, and status columns
View success/failure statistics and overall processing results
Preview your data and mapped columns before processing
Calculate distances for fleet vehicles between depots and delivery points
Plan delivery routes by analyzing distances between warehouses and customers
Enrich geospatial datasets with distance and travel time metrics
Upload a CSV file with origin and destination coordinates
Auto-map or manually select your coordinate columns
Click process and watch as distances and ETAs are calculated
Download your enhanced CSV with distance and ETA data
Need enterprise-grade distance matrix calculations for your TMS, ERP, or Fleet Management platform? NextBillion.ai's Distance Matrix API provides high-volume batch processing, many-to-many calculations, and advanced routing options.
Integrate seamlessly with your existing business applications and provide your customers with professional-grade distance matrix capabilities.
Enterprise Benefits: Unlimited API calls, dedicated support, custom integrations, white-label solutions, and enterprise-grade SLAs. Scale your logistics operations with reliable, high-performance distance matrix services.
Yes! The Distance Matrix Calculator is free to use. You need to provide your own NextBillion.ai API key to process the data. You can get a free API key from the NextBillion.ai dashboard.
The tool supports CSV (Comma-Separated Values) files. Your CSV should contain separate columns for origin latitude, origin longitude, destination latitude, and destination longitude.
When you upload a CSV file, the tool automatically tries to detect and map columns based on common naming conventions like 'origin_lat', 'dest_lng', 'start_latitude', etc. You can always manually adjust the mappings if needed.
You can process CSV files with hundreds of rows. The tool processes each row sequentially with a small delay between requests to avoid rate limiting. Processing time depends on the number of rows in your file.
The tool adds three new columns: distance_km (distance in kilometers), eta_minutes (estimated travel time in minutes), and processing_status (Success or error details for each row).
Use decimal degree format for coordinates. Latitude values should be between -90 and 90, and longitude values between -180 and 180. For example: latitude 40.7128, longitude -74.0060 for New York City.
Rows with missing or invalid coordinates will be marked with an appropriate error status (e.g., 'Missing coordinates', 'Invalid coordinates', or 'Coordinates out of range'). The tool continues processing the remaining rows.
Yes, your CSV data is processed entirely in your browser and through your own API key. We do not store your data on any server. The API calls are made directly to NextBillion.ai's servers using your credentials.
The free tool is great for ad-hoc calculations. For enterprise fleet management and logistics with high-volume batch processing, consider NextBillion.ai's enterprise Distance Matrix API which supports many-to-many calculations and advanced routing options.
Start using our Distance Matrix Calculator today. Upload your CSV, map your columns, and get distances and ETAs for all your origin-destination pairs.