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: 17 miles (27 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 Allentown | B Ferndale | Difference |
|---|---|---|---|
| City | Allentown, PA | Ferndale, PA | |
| County | Lehigh County | Bucks County | |
| Time zone | Eastern | Eastern | |
| Metro area | Allentown-Bethlehem-Easton, PA MSA | Philadelphia-Wilmington-Atlantic City, PA-NJ-DE-MD CMSA | |
| ZIP Code type | Standard | PO Box | |
| Area codes | 484, 610, 835 | 484, 610, 835 | |
| Land area | 0.3 sq mi | 0.4 sq mi | |
| Addresses that get mail | 3,633 | 72 | |
| People | 6,120 ±787 | 160 ±104 | Too uncertain to compare |
| Median age | 29.1 ±2.2 | 61.3 ±21.7 | Older in Ferndale |
| Median household income | $44,773 ±$8,210 | Not available | – |
| Per capita income | $28,551 ±$4,183 | $80,637 ±$35,050 | Higher in Ferndale |
| Poverty rate | 22.8% ±8.8 | 15.0% ±26.0 | Too uncertain to compare |
| Unemployment rate | 14.7% ±8.2 | 0.0% ±25.3 | Too uncertain to compare |
| Bachelor's degree or higher | 23.2% ±6.0 | 0.0% ±19.5 | Higher in Allentown |
| Homes lived in by owners | 8.3% ±4.7 | 100.0% ±30.5 | Too uncertain to compare |
| Median home value | $171,300 ±$59,814 | $404,400 ±$167,451 | Higher in Ferndale |
| Median rent | $1,430 ±$100 | Not available | – |
| Average commute | 28.8 min ±4.9 | Not available | – |
| People per household | 2.00 ±0.23 | 1.86 ±0.59 | No clear difference |
| Vacant homes | 7.5% ±4.0 | 0.0% ±30.5 | Too uncertain to compare |
| Households with broadband | 87.7% ±6.6 | 100.0% ±30.5 | No clear difference |
Dark bars: Allentown. Light bars: Ferndale. The thin lines are the margins of error: where they overlap, the two places may not really differ.
Largest age group: 20-34 in Allentown (43%), 65-74 in Ferndale (35%). The 20-34 group spans 15 years, so it looks bigger.
| Ages | Allentown | Ferndale |
|---|---|---|
| Under 10 | 9% ±3 | 0% ±26 |
| 10-19 | 12% ±4 | 7% ±22 |
| 20-34 | 43% ±8 | 17% ±28 |
| 35-44 | 14% ±5 | 0% ±18 |
| 45-54 | 10% ±3 | 24% ±25 |
| 55-64 | 7% ±2 | 6% ±20 |
| 65-74 | 4% ±2 | 35% ±14 |
| 75+ | 2% ±1 | 11% ±23 |
8% of occupied homes are owned in Allentown, 100% in Ferndale.
| Owners and renters | Allentown | Ferndale |
|---|---|---|
| Owned | 8% ±5 | 100% ±31 |
| Rented | 92% ±5 | 0% ±31 |
Most common: 20+ units in Allentown (46%), Single-family in Ferndale (90%).
| Kinds of homes | Allentown | Ferndale |
|---|---|---|
| Single-family | 4% ±4 | 90% ±17 |
| Townhouse | 12% ±5 | 0% ±31 |
| 2-4 units | 21% ±8 | 11% ±35 |
| 5-19 units | 17% ±9 | 0% ±43 |
| 20+ units | 46% ±8 | 0% ±31 |
| Mobile home | 0% ±1 | 0% ±31 |
| Boat, RV, van | 0% ±1 | 0% ±31 |
Most common in both: Drove alone (55% in Allentown, 52% in Ferndale).
| Getting to work | Allentown | Ferndale |
|---|---|---|
| Drove alone | 55% ±10 | 52% ±52 |
| Carpooled | 10% ±5 | 0% ±25 |
| Public transit | 9% ±4 | 0% ±25 |
| Walked | 10% ±6 | 0% ±25 |
| Other | 4% ±5 | 0% ±25 |
| Worked from home | 13% ±7 | 48% ±52 |
± 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=18921"
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": "18921"
},
"results": [
{
"success": true,
"input": {
"from": "18101",
"to": "18921"
},
"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": "18921",
"code_type": "ZIP",
"city": "Ferndale",
"state": "PA",
"county": "Bucks",
"location": {
"lat": 40.521,
"lon": -75.166
},
"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": 17.06,
"km": 27.46
},
"bearing": 109.1
}
],
"meta": {
"credits": {
"used": 1
}
}
}