Every ZIP code in the United States, with weather, radar, trivia and the numbers behind it. Five digits since 1963!

ZIP stands for Zone Improvement Plan. The codes went live on July 1, 1963.The lowest ZIP code is 00501 — the IRS in Holtsville, New York.The highest ZIP code is 99950, in Ketchikan, Alaska.Type 07734 into a calculator and turn it upside down: hELLO. It is Keansburg, New Jersey.12345 belongs to one company: General Electric in Schenectady, New York.The first digit is a region: 0 is New England and New Jersey, 9 is the West Coast, Alaska and Hawaii.Mr. ZIP, the cartoon mailman, was the mascot that sold the idea to America.ZIP+4 arrived in 1983 and can narrow a ZIP down to one side of one block.A ZIP code is a mail route, not a place: plenty of them cross county and even state lines.Play ZIP Hunt: guess the secret ZIP code of the day in six tries.
zipcodes.pro — ZIP/40165

40165

ZIP 40165 is in Shepherdsville, Kentucky, in Bullitt County; area code 502; Eastern time. Shepherdsville has 2 ZIP codes; the other is 40166.

Type
Standard
Time zone
America/New_York
County
Bullitt
Population
38,403
Coordinates
37.9928, -85.6959
☼ Live from 40165 — Shepherdsville, KY

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 40165 is

Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.

★ Weird and wonderful facts about 40165
  • 🔢 Type 40165 into a pocket calculator and turn it upside down: SgIOh — not quite a word, sorry.
  • ➕ As a number, 40,165 = 5 × 29 × 277. Its digits add up to 16, a total 1,922 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 1001110011100101
  • 🏠 Its numerical neighbours: 40162 (Rineyville, KY, 25 mi away) and 40166 (Shepherdsville, KY, 1 mi away).
  • 🔄 Backwards, 40165 becomes 56104, which is not a ZIP code at all.
  • 👥 78 other ZIP codes are made of exactly the same digits (01546, 01564, 05146, 05461, 05641, 06145, …). The farthest-flung twin is 05641 in Barre, VT, 810 miles away.
  • 🧭 Farther south than 58% of all ZIP codes, and farther east than 55%.
  • 🎯704 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • 🌏 Dig straight through the Earth from 40165 and you would come out at 37.99°S, 94.30°E — 1,286 miles from Perth, Australia, the nearest big city to that spot.
  • ☀Longest day of the year: 14h 48m of daylight. Shortest: 9h 31m.
  • 📏 At 113.2 square miles of land, 40165 is bigger than 81% of ZIP codes — room for about 86 Central Parks.
🌙 The sky over 40165 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population38,403This ZIP38,403
Households14,432This ZIP14,432
Housing units15,541This ZIP15,541
Median age42.0This ZIP42.0Kentucky39.1US 38.9
Median household income$79,540This ZIP$79,540Kentucky$63,726US $80,734
Median home value$249,600This ZIP$249,600Kentucky$205,600US $332,700
Median gross rent$957This ZIP$957Kentucky$967US $1,413
Bachelor's degree or higher18.5%This ZIP18.5%
Mean commute27.1 minThis ZIP27.1 min
Population density339.1 / sq miThis ZIP339.1 / sq mi

Business and tax activity

Business establishments667This ZIP667
Employees16,163This ZIP16,163
Annual payroll$746,841,000This ZIP$746,841,000
Tax returns filed17,400This ZIP17,400
Total adjusted gross income$1,219,110,000This ZIP$1,219,110,000

Land area

Land area113.24 sq miThis ZIP113.24 sq mi
Water area1.46 sq miThis ZIP1.46 sq mi

Other place names in 40165

Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.

ZIP codes near 40165

ZIPCityDistance
40166 Shepherdsville, KY 1.1 mi
40110 Clermont, KY 4.4 mi
40109 Brooks, KY 5.8 mi
40129 Hillview, KY 5.9 mi
40229 Louisville, KY 6.9 mi
40118 Fairdale, KY 7.9 mi
40150 Lebanon Junction, KY 8.0 mi
40047 Mount Washington, KY 8.2 mi
40219 Louisville, KY 10.0 mi
40272 Louisville, KY 10.4 mi

Find every ZIP code within 10 miles of 40165 →

Questions about this ZIP code

Where is ZIP code 40165?

40165 is in Shepherdsville, Kentucky, in Bullitt County, part of the Louisville/Jefferson County, KY-IN metropolitan area. Its published point location is 37.9928, -85.6959.

What county is 40165 in?

40165 lies in Bullitt County.

What area code is 40165?

Shepherdsville uses area code 502, from NANPA's telephone records.

What time zone is 40165 in?

40165 uses America/New_York.

How many people live in 40165?

About 38,403 people live in ZIP code 40165, in 14,432 households, at 339.1 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.

What is the median household income in 40165?

$79,540 a year, against $63,726 across Kentucky.

What ZIP codes are near 40165?

The closest are 40166 (1.1 mi), 40110 (4.4 mi), 40109 (5.8 mi), 40129 (5.9 mi) and 40229 (6.9 mi).

Is 40165 a PO Box ZIP code?

40165 is a standard ZIP code. A normal ZIP code with street delivery.

Download or cite

Cite this page

zipcodes.pro. “40165 ZIP Code — Shepherdsville, Kentucky (Bullitt County).” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/zip/40165

Machine-readable version of these facts:

curl https://zipcodes.pro/zip/40165.json

Underlying data is public domain or openly licensed — sources, vintages and licences.