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: 5 miles (8 km).
A ZIP Code is an area, not a point: for places this close, two addresses can be nearer or farther apart than the centers are.
| 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 Allentown | B Bethlehem | Difference |
|---|---|---|---|
| City | Allentown, PA | Bethlehem, PA | |
| County | Lehigh County | Northampton County | |
| Time zone | Eastern | Eastern | |
| Metro area | Allentown-Bethlehem-Easton, PA MSA | Allentown-Bethlehem-Easton, PA MSA | |
| ZIP Code type | Standard | Standard | |
| Area codes | 484, 610, 835 | 484, 610, 835 | |
| Land area | 0.3 sq mi | 23 sq mi | |
| Addresses that get mail | 3,633 | 15,204 | |
| People | 6,120 ±787 | 34,852 ±1,341 | Larger in Bethlehem |
| Median age | 29.1 ±2.2 | 31.2 ±1.9 | No clear difference |
| Median household income | $44,773 ±$8,210 | $60,800 ±$4,858 | Higher in Bethlehem |
| Per capita income | $28,551 ±$4,183 | $35,231 ±$2,481 | Higher in Bethlehem |
| Poverty rate | 22.8% ±8.8 | 16.6% ±3.1 | No clear difference |
| Unemployment rate | 14.7% ±8.2 | 8.3% ±2.2 | Too uncertain to compare |
| Bachelor's degree or higher | 23.2% ±6.0 | 33.2% ±2.3 | Higher in Bethlehem |
| Homes lived in by owners | 8.3% ±4.7 | 50.5% ±3.6 | Too uncertain to compare |
| Median home value | $171,300 ±$59,814 | $281,700 ±$19,350 | Higher in Bethlehem |
| Median rent | $1,430 ±$100 | $1,353 ±$85 | No clear difference |
| Average commute | 28.8 min ±4.9 | 23.3 min ±1.2 | Longer in Allentown |
| People per household | 2.00 ±0.23 | 2.50 ±0.08 | Larger in Bethlehem |
| Vacant homes | 7.5% ±4.0 | 6.6% ±1.9 | Too uncertain to compare |
| Households with broadband | 87.7% ±6.6 | 88.3% ±3.0 | No clear difference |
Dark bars: Allentown. Light bars: Bethlehem. 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 (43% in Allentown, 27% in Bethlehem). The 20-34 group spans 15 years, so it looks bigger.
| Ages | Allentown | Bethlehem |
|---|---|---|
| Under 10 | 9% ±3 | 8% ±1 |
| 10-19 | 12% ±4 | 19% ±2 |
| 20-34 | 43% ±8 | 27% ±3 |
| 35-44 | 14% ±5 | 12% ±2 |
| 45-54 | 10% ±3 | 9% ±1 |
| 55-64 | 7% ±2 | 11% ±1 |
| 65-74 | 4% ±2 | 8% ±1 |
| 75+ | 2% ±1 | 6% ±1 |
8% of occupied homes are owned in Allentown, 51% in Bethlehem.
| Owners and renters | Allentown | Bethlehem |
|---|---|---|
| Owned | 8% ±5 | 51% ±4 |
| Rented | 92% ±5 | 50% ±4 |
Most common: 20+ units in Allentown (46%), Single-family in Bethlehem (42%).
| Kinds of homes | Allentown | Bethlehem |
|---|---|---|
| Single-family | 4% ±4 | 42% ±4 |
| Townhouse | 12% ±5 | 24% ±3 |
| 2-4 units | 21% ±8 | 10% ±2 |
| 5-19 units | 17% ±9 | 15% ±3 |
| 20+ units | 46% ±8 | 9% ±2 |
| Mobile home | 0% ±1 | 1% ±1 |
| Boat, RV, van | 0% ±1 | 0% ±0 |
Most common in both: Drove alone (55% in Allentown, 62% in Bethlehem).
| Getting to work | Allentown | Bethlehem |
|---|---|---|
| Drove alone | 55% ±10 | 62% ±3 |
| Carpooled | 10% ±5 | 8% ±2 |
| Public transit | 9% ±4 | 3% ±2 |
| Walked | 10% ±6 | 6% ±2 |
| Other | 4% ±5 | 5% ±1 |
| Worked from home | 13% ±7 | 16% ±2 |
± 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=18101&to=18015"
The real /v2/distance response for this pair. Coordinates are rounded to 3 decimals here; the API returns full precision.
{
"success": true,
"request": {
"from": "18101",
"to": "18015"
},
"results": [
{
"success": true,
"input": {
"from": "18101",
"to": "18015"
},
"from": {
"country": "US",
"code": "18101",
"code_type": "ZIP",
"city": "Allentown",
"state": "PA",
"county": "Lehigh",
"location": {
"lat": 40.602,
"lon": -75.473
},
"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": "18015",
"code_type": "ZIP",
"city": "Bethlehem",
"state": "PA",
"county": "Northampton",
"location": {
"lat": 40.586,
"lon": -75.384
},
"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": 4.8,
"km": 7.72
},
"bearing": 103.6
}
],
"meta": {
"credits": {
"used": 1
}
}
}