22851 vs 22740 — Compare ZIP Codes
Side-by-side comparison. Blue = ZIP 22851, Orange = ZIP 22740.
Quick verdict: ZIP 22851 is more affordable rent. ZIP 22740 is wealthier, higher home values, lower poverty rate, lower unemployment, more diverse, more educated, higher work-from-home share.
Quick Facts
ZIP 22851
Stanley town, VA
View full profile →- Population5,894
- Median Income$57,662
- Median Home Value$192k
- Median Rent$580
- Median Age40.3 yrs
- Poverty Rate9.9%
ZIP 22740
Sperryville CDP, VA
View full profile →- Population873
- Median Income$96,220
- Median Home Value$399k
- Median Rent$1,150
- Median Age61.3 yrs
- Poverty Rate5.8%
Visual comparison (same scale)
Population
5,894873
Median Income
$57,662$96,220
Median Home Value
$192k$399k
Median Rent
$580$1,150
Median Age
40.3 yrs61.3 yrs
Poverty Rate
9.9%5.8%
Demographics
ZIP 22851
Stanley town, VA
View full profile →- White %97.0%
- Black %0.2%
- Asian %0.6%
- Hispanic %1.2%
- Age 0–17 %23.5%
- Age 18–64 %60.0%
- Age 65+ %16.5%
- Bachelor's+ %8.8%
- Diversity Index6/100
ZIP 22740
Sperryville CDP, VA
View full profile →- White %94.7%
- Black %0.0%
- Asian %0.0%
- Hispanic %5.3%
- Age 0–17 %13.1%
- Age 18–64 %39.9%
- Age 65+ %47.1%
- Bachelor's+ %37.9%
- Diversity Index10/100
Visual comparison (same scale)
White %
97.0%94.7%
Black %
0.2%0.0%
Asian %
0.6%0.0%
Hispanic %
1.2%5.3%
Age 0–17 %
23.5%13.1%
Age 18–64 %
60.0%39.9%
Age 65+ %
16.5%47.1%
Bachelor's+ %
8.8%37.9%
Diversity Index
6/10010/100
Economy
ZIP 22851
Stanley town, VA
View full profile →- Median Income$57,662
- Unemployment %8.3%
- IRS Net Migration+333
- Work From Home %3.6%
ZIP 22740
Sperryville CDP, VA
View full profile →- Median Income$96,220
- Unemployment %7.6%
- IRS Net Migration+49
- Work From Home %6.2%
Visual comparison (same scale)
Median Income
$57,662$96,220
Unemployment %
8.3%7.6%
IRS Net Migration
+333+49
Work From Home %
3.6%6.2%
Housing
ZIP 22851
Stanley town, VA
View full profile →- Median Home Value$192k
- Median Rent$580
- Owner Occupied %68.6%
- Broadband %83.0%
- Vacant %17.5%
- Median Year Built1975
ZIP 22740
Sperryville CDP, VA
View full profile →- Median Home Value$399k
- Median Rent$1,150
- Owner Occupied %76.8%
- Broadband %88.7%
- Vacant %36.5%
- Median Year Built1976
Visual comparison (same scale)
Median Home Value
$192k$399k
Median Rent
$580$1,150
Owner Occupied %
68.6%76.8%
Broadband %
83.0%88.7%
Vacant %
17.5%36.5%
Median Year Built
19751976
Climate & Location
ZIP 22851
Stanley town, VA
View full profile →- Snow Days/Year0 days
- Elevation (ft)3,540 ft
- Nearest Airport29.3 miles (47.2 km)
- Distance to Coast59.4 miles (95.6 km)
ZIP 22740
Sperryville CDP, VA
View full profile →- Snow Days/Year0 days
- Elevation (ft)750 ft
- Nearest Airport36.2 miles (58.2 km)
- Distance to Coast50.1 miles (80.7 km)
Visual comparison (same scale)
Snow Days/Year
0 days0 days
Elevation (ft)
3,540 ft750 ft
Nearest Airport
29.3 miles (47.2 km)36.2 miles (58.2 km)
Distance to Coast
59.4 miles (95.6 km)50.1 miles (80.7 km)
Infrastructure
ZIP 22851
Stanley town, VA
View full profile →- Work From Home %3.6%
- Walkability (0–100)23
- Broadband %83.0%
ZIP 22740
Sperryville CDP, VA
View full profile →- Work From Home %6.2%
- Walkability (0–100)27
- Broadband %88.7%
Visual comparison (same scale)
Work From Home %
3.6%6.2%
Walkability (0–100)
2327
Broadband %
83.0%88.7%
Frequently Asked Questions
How do ZIP 22851 and 22740 compare?
ZIP 22851 is more affordable rent. ZIP 22740 is wealthier, higher home values, lower poverty rate, lower unemployment, more diverse, more educated, higher work-from-home share.
What do the blue and orange colors mean?
Blue represents the first ZIP (22851), orange the second (22740). The same colors are used in the map markers and comparison bars.
Where does this data come from?
Data is from the U.S. Census Bureau and other federal sources. See our Methodology page for details.
How can I compare other ZIP codes?
From any ZIP page, use the "Compare with Another ZIP" tool, or go to /compare/XXXXX-vs-YYYYY (replace with two 5-digit ZIP codes).
Continue exploring