ZIP Code Distance Calculator

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

Boston, MA 02108 is about 189 miles northeast of New York, NY 10014-1633

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

Straight line189 mi304 km
By roadFinding the drive…Mapbox, no traffic
DirectionNortheastheading 53° at the start
Time differenceSame timeall year
A New York, NY 10014-1633 B Boston, MA 02108 Straight line The drive
Ask your AI assistant about both places. Connect Claude or ChatGPT in a few steps. Try a Question

New York and Boston 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 New YorkB BostonDifference
CityNew York, NYBoston, MA
CountyNew York CountySuffolk County
Time zoneEasternEastern
Metro areaNew York-Northern New Jersey-Long Island, NY-NJ-CT-PABoston-Worcester-Lawrence, MA-NH-ME-CT CMSA
ZIP Code typeStandardStandard
Area codes212, 332, 347339, 508, 617
Land area0.5 sq mi0.3 sq mi
Addresses that get mail23,6713,873
People29,230 ±1,7373,794 ±601Larger in New York
Median age39.4 ±1.736.9 ±5.5No clear difference
Median household income$176,395 ±$12,595$212,928 ±$81,934No clear difference
Per capita income$175,458 ±$16,726$144,957 ±$29,701No clear difference
Poverty rate6.8% ±1.415.5% ±6.8Higher in Boston
Unemployment rate7.0% ±2.06.8% ±5.4Too uncertain to compare
Bachelor's degree or higher85.5% ±2.578.6% ±8.7No clear difference
Homes lived in by owners30.4% ±3.550.6% ±10.6Higher in Boston
Median home value$1,284,100 ±$162,695$1,667,600 ±$521,818No clear difference
Median rent$3,123 ±$218$2,597 ±$306Higher in New York
Average commute25.7 min ±1.322.6 min ±4.3No clear difference
People per household1.67 ±0.061.58 ±0.16No clear difference
Vacant homes20.4% ±3.323.2% ±8.4No clear difference
Households with broadband96.1% ±1.496.9% ±3.7No clear difference

In charts

Dark bars: New York. Light bars: Boston. 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 (34% in New York, 27% in Boston). The 20-34 group spans 15 years, so it looks bigger.

Show the numbers
AgesNew YorkBoston
Under 105% ±11% ±2
10-194% ±118% ±7
20-3434% ±327% ±9
35-4414% ±311% ±6
45-5414% ±28% ±4
55-6411% ±215% ±6
65-7410% ±214% ±6
75+8% ±26% ±5

Owners and renters

30% of occupied homes are owned in New York, 51% in Boston.

Show the numbers
Owners and rentersNew YorkBoston
Owned30% ±451% ±11
Rented70% ±449% ±11

Kinds of homes

Most common: 20+ units in New York (66%), 5-19 units in Boston (38%).

Show the numbers
Kinds of homesNew YorkBoston
Single-family1% ±01% ±1
Townhouse2% ±115% ±7
2-4 units6% ±211% ±6
5-19 units26% ±338% ±10
20+ units66% ±435% ±7
Mobile home0% ±00% ±2
Boat, RV, van0% ±00% ±2

Getting to work

Most common: Public transit in New York (39%), Walked in Boston (38%).

Show the numbers
Getting to workNew YorkBoston
Drove alone3% ±120% ±10
Carpooled<1% ±00% ±2
Public transit39% ±48% ±5
Walked18% ±338% ±10
Other10% ±25% ±6
Worked from home31% ±429% ±11

± 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 Boston, MA 02108 from New York, NY 10014-1633, 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 10014 and 02108, with margins of error.”
“Which of 10014 and 02108 has more people working from home, and is the difference real given the margins of error?”
“How have home values changed since 2014 in 10014 and in 02108?”
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=10014%2D1633&to=02108"
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": "10014-1633",
    "to": "02108"
  },
  "results": [
    {
      "success": true,
      "input": {
        "from": "10014-1633",
        "to": "02108"
      },
      "from": {
        "country": "US",
        "code": "10014-1633",
        "code_type": "ZIP4",
        "city": "New York",
        "state": "NY",
        "county": "New York",
        "location": {
          "lat": 40.739,
          "lon": -74.006
        },
        "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/New_York",
          "name": "Eastern",
          "abbreviation": "EST",
          "abbreviation_dst": "EDT",
          "utc_offset": -5,
          "utc_offset_dst": -4,
          "observes_dst": true
        },
        "input_type": "code"
      },
      "to": {
        "country": "US",
        "code": "02108",
        "code_type": "ZIP",
        "city": "Boston",
        "state": "MA",
        "county": "Suffolk",
        "location": {
          "lat": 42.358,
          "lon": -71.064
        },
        "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/New_York",
          "name": "Eastern",
          "abbreviation": "EST",
          "abbreviation_dst": "EDT",
          "utc_offset": -5,
          "utc_offset_dst": -4,
          "observes_dst": true
        },
        "input_type": "code"
      },
      "distance": {
        "miles": 188.81,
        "km": 303.85
      },
      "bearing": 52.7
    }
  ],
  "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