ZIP Code Distance Calculator

How far apart two places are, the drive, the time difference, and the two compared side by side.

Tuba City, AZ 86045 is about 59 miles northeast of Flagstaff, AZ 86001

In a straight line between the centers of the two ZIP Codes: 59 miles (94 km).

Straight line59 mi94 km
By roadFinding the drive…Mapbox, no traffic
DirectionNortheastheading 47° at the start
Time differenceSame timeright now; tuba City is 1 hour ahead when clocks change
A Flagstaff, AZ 86001 B Tuba City, AZ 86045 Straight line The drive
Ask your AI assistant about both places. Connect Claude or ChatGPT in a few steps. Try a Question

Flagstaff and Tuba City side by side

Census Bureau figures for each ZIP Code (American Community Survey, 2020–2024). Each comes with a margin of error, so a difference is named only when it is bigger than the two margins together.

MeasureA FlagstaffB Tuba CityDifference
CityFlagstaff, AZTuba City, AZ
CountyCoconino CountyCoconino County
Time zoneMountain (no daylight saving time)Mountain
Metro areaFlagstaff, AZ-UT MSAFlagstaff, AZ-UT MSA
ZIP Code typeStandardPO Box
Area codes520, 928520, 928
Land area290 sq mi722 sq mi
Addresses that get mail15,8833,005
People37,312 ±1,21410,319 ±897Larger in Flagstaff
Median age23.8 ±0.634.1 ±3.2Older in Tuba City
Median household income$64,626 ±$4,527$50,844 ±$11,920Higher in Flagstaff
Per capita income$38,734 ±$2,760$21,687 ±$2,886Higher in Flagstaff
Poverty rate22.8% ±2.530.2% ±5.3Higher in Tuba City
Unemployment rate5.9% ±1.311.7% ±4.5Higher in Tuba City
Bachelor's degree or higher56.8% ±3.417.6% ±4.4Higher in Flagstaff
Homes lived in by owners36.8% ±2.964.0% ±5.7Higher in Tuba City
Median home value$589,100 ±$40,801$68,200 ±$23,992Higher in Flagstaff
Median rent$1,610 ±$105$851 ±$75Higher in Flagstaff
Average commute15.5 min ±0.922.8 min ±4.1Longer in Tuba City
People per household2.14 ±0.073.22 ±0.28Larger in Tuba City
Vacant homes11.6% ±2.215.0% ±2.6No clear difference
Households with broadband88.0% ±2.551.0% ±5.5Higher in Flagstaff

In charts

Dark bars: Flagstaff. Light bars: Tuba City. The thin lines are the margins of error: where they overlap, the two places may not really differ.

Ages

Largest age group in both: 20-34 (42% in Flagstaff, 22% in Tuba City). The 20-34 group spans 15 years, so it looks bigger.

Show the numbers
AgesFlagstaffTuba City
Under 108% ±115% ±2
10-1919% ±215% ±2
20-3442% ±322% ±3
35-4410% ±19% ±2
45-547% ±112% ±2
55-647% ±113% ±2
65-745% ±19% ±1
75+3% ±15% ±1

Owners and renters

37% of occupied homes are owned in Flagstaff, 64% in Tuba City.

Show the numbers
Owners and rentersFlagstaffTuba City
Owned37% ±364% ±6
Rented63% ±336% ±6

Kinds of homes

Most common in both: Single-family (37% in Flagstaff, 59% in Tuba City).

Show the numbers
Kinds of homesFlagstaffTuba City
Single-family37% ±359% ±5
Townhouse8% ±22% ±1
2-4 units13% ±34% ±2
5-19 units22% ±310% ±4
20+ units14% ±30% ±1
Mobile home6% ±226% ±4
Boat, RV, van<1% ±00% ±1

Getting to work

Most common in both: Drove alone (57% in Flagstaff, 72% in Tuba City).

Show the numbers
Getting to workFlagstaffTuba City
Drove alone57% ±372% ±5
Carpooled11% ±29% ±3
Public transit3% ±12% ±3
Walked12% ±28% ±4
Other5% ±11% ±1
Worked from home13% ±28% ±4

± is the Census Bureau's 90% margin of error. "Too uncertain" means one figure's margin is more than half of the figure itself. Census figures are for each ZIP Code's matching ZIP Code Tabulation Area; capped medians read "or more".

Ask your AI assistant about these two places

Connect Claude or ChatGPT to our ZIP Code data, then ask questions in plain English. No sign-up with us needed.

Once you're connected, try this:
“How far is Tuba City, AZ 86045 from Flagstaff, AZ 86001, in which direction, and what is the time difference?”

This question answers in full without a key.

New to this? We'll walk you through it, one step at a time.

Developer tools: Claude Code, Cursor, VS Code, Codex
Questions about these two places (full answers need a free API key)
“Compare median household income, median home value and median rent in ZIP Codes 86001 and 86045, with margins of error.”
“Which of 86001 and 86045 has more people working from home, and is the difference real given the margins of error?”
“How have home values changed since 2014 in 86001 and in 86045?”
Get a Free API Key 2,500 credits a day, free. Or see what the API returns below.

Powered by the ZIP Codes API

The distance, the direction and both time zones above came from one call to the ZIP Codes API /v2/distance endpoint. Each place's facts and Census figures came from one /v2/zip call each, and the API has the same figures for any year from 2011 to 2024.

This comparison used 11 credits; a free key includes 2,500 a day.

Developers: see the exact request
curl -H "X-Api-Key: YOUR_KEY" "https://api.zip-codes.com/v2/distance?from=86001&to=86045"
View the JSON response

The real /v2/distance response for this pair. Coordinates are rounded to 3 decimals here; the API returns full precision.

{
  "success": true,
  "request": {
    "from": "86001",
    "to": "86045"
  },
  "results": [
    {
      "success": true,
      "input": {
        "from": "86001",
        "to": "86045"
      },
      "from": {
        "country": "US",
        "code": "86001",
        "code_type": "ZIP",
        "city": "Flagstaff",
        "state": "AZ",
        "county": "Coconino",
        "location": {
          "lat": 35.484,
          "lon": -111.784
        },
        "timezone": {
          "source": "timezone-boundary-builder",
          "product": "Time zone boundaries (with oceans)",
          "attribution": "Time zone boundaries \u00a9 OpenStreetMap contributors, timezone-boundary-builder (ODbL); time zone rules: IANA tz database",
          "iana_name": "America/Phoenix",
          "name": "Mountain",
          "abbreviation": "MST",
          "abbreviation_dst": null,
          "utc_offset": -7,
          "utc_offset_dst": null,
          "observes_dst": false
        },
        "input_type": "code"
      },
      "to": {
        "country": "US",
        "code": "86045",
        "code_type": "ZIP",
        "city": "Tuba City",
        "state": "AZ",
        "county": "Coconino",
        "location": {
          "lat": 36.065,
          "lon": -111.02
        },
        "timezone": {
          "source": "timezone-boundary-builder",
          "product": "Time zone boundaries (with oceans)",
          "attribution": "Time zone boundaries \u00a9 OpenStreetMap contributors, timezone-boundary-builder (ODbL); time zone rules: IANA tz database",
          "iana_name": "America/Denver",
          "name": "Mountain",
          "abbreviation": "MST",
          "abbreviation_dst": "MDT",
          "utc_offset": -7,
          "utc_offset_dst": -6,
          "observes_dst": true
        },
        "input_type": "code"
      },
      "distance": {
        "miles": 58.71,
        "km": 94.48
      },
      "bearing": 46.6
    }
  ],
  "meta": {
    "credits": {
      "used": 1
    }
  }
}
Add distances like this to your app
  • Straight-line miles and kilometers between any two ZIP Codes, ZIP+4 Codes or Canadian postal codes
  • The compass direction and each place's time zone, with daylight saving time
  • Each place's facts and Census figures, 2011 to 2024
  • Batch up to 100 distances per call (paid plans)
  • Free key: 2,500 credits a day
Get a Free API Key Email This to My Developer