How far apart two places are, the drive, the time difference, and the two compared side by side.
In a straight line between the centers of the two ZIP Codes: 189 miles (304 km).
| Step | Instruction | Distance |
|---|
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.
| Measure | A New York | B Boston | Difference |
|---|---|---|---|
| City | New York, NY | Boston, MA | |
| County | New York County | Suffolk County | |
| Time zone | Eastern | Eastern | |
| Metro area | New York-Northern New Jersey-Long Island, NY-NJ-CT-PA | Boston-Worcester-Lawrence, MA-NH-ME-CT CMSA | |
| ZIP Code type | Standard | Standard | |
| Area codes | 212, 332, 347 | 339, 508, 617 | |
| Land area | 0.5 sq mi | 0.3 sq mi | |
| Addresses that get mail | 23,671 | 3,873 | |
| People | 29,230 ±1,737 | 3,794 ±601 | Larger in New York |
| Median age | 39.4 ±1.7 | 36.9 ±5.5 | No clear difference |
| Median household income | $176,395 ±$12,595 | $212,928 ±$81,934 | No clear difference |
| Per capita income | $175,458 ±$16,726 | $144,957 ±$29,701 | No clear difference |
| Poverty rate | 6.8% ±1.4 | 15.5% ±6.8 | Higher in Boston |
| Unemployment rate | 7.0% ±2.0 | 6.8% ±5.4 | Too uncertain to compare |
| Bachelor's degree or higher | 85.5% ±2.5 | 78.6% ±8.7 | No clear difference |
| Homes lived in by owners | 30.4% ±3.5 | 50.6% ±10.6 | Higher in Boston |
| Median home value | $1,284,100 ±$162,695 | $1,667,600 ±$521,818 | No clear difference |
| Median rent | $3,123 ±$218 | $2,597 ±$306 | Higher in New York |
| Average commute | 25.7 min ±1.3 | 22.6 min ±4.3 | No clear difference |
| People per household | 1.67 ±0.06 | 1.58 ±0.16 | No clear difference |
| Vacant homes | 20.4% ±3.3 | 23.2% ±8.4 | No clear difference |
| Households with broadband | 96.1% ±1.4 | 96.9% ±3.7 | No clear difference |
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.
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.
| Ages | New York | Boston |
|---|---|---|
| Under 10 | 5% ±1 | 1% ±2 |
| 10-19 | 4% ±1 | 18% ±7 |
| 20-34 | 34% ±3 | 27% ±9 |
| 35-44 | 14% ±3 | 11% ±6 |
| 45-54 | 14% ±2 | 8% ±4 |
| 55-64 | 11% ±2 | 15% ±6 |
| 65-74 | 10% ±2 | 14% ±6 |
| 75+ | 8% ±2 | 6% ±5 |
30% of occupied homes are owned in New York, 51% in Boston.
| Owners and renters | New York | Boston |
|---|---|---|
| Owned | 30% ±4 | 51% ±11 |
| Rented | 70% ±4 | 49% ±11 |
Most common: 20+ units in New York (66%), 5-19 units in Boston (38%).
| Kinds of homes | New York | Boston |
|---|---|---|
| Single-family | 1% ±0 | 1% ±1 |
| Townhouse | 2% ±1 | 15% ±7 |
| 2-4 units | 6% ±2 | 11% ±6 |
| 5-19 units | 26% ±3 | 38% ±10 |
| 20+ units | 66% ±4 | 35% ±7 |
| Mobile home | 0% ±0 | 0% ±2 |
| Boat, RV, van | 0% ±0 | 0% ±2 |
Most common: Public transit in New York (39%), Walked in Boston (38%).
| Getting to work | New York | Boston |
|---|---|---|
| Drove alone | 3% ±1 | 20% ±10 |
| Carpooled | <1% ±0 | 0% ±2 |
| Public transit | 39% ±4 | 8% ±5 |
| Walked | 18% ±3 | 38% ±10 |
| Other | 10% ±2 | 5% ±6 |
| Worked from home | 31% ±4 | 29% ±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".
Connect Claude or ChatGPT to our ZIP Code data, then ask questions in plain English. No sign-up with us needed.
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, CodexThe 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.
curl -H "X-Api-Key: YOUR_KEY" "https://api.zip-codes.com/v2/distance?from=10014%2D1633&to=02108"
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
}
}
}