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/17040

17040

ZIP 17040 is Landisburg, Pennsylvania, in Perry County; area codes 717 and 223; Eastern time.

Type
Standard
Time zone
America/New_York
County
Perry
Population
2,631
Coordinates
40.2962, -77.3400
☼ Live from 17040 — Landisburg, PA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 17040 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 17040
  • 🔢 Type 17040 into a pocket calculator and turn it upside down: OhOLI — not quite a word, sorry.
  • ➕ As a number, 17,040 = 2 × 2 × 2 × 2 × 3 × 5 × 71. Its digits add up to 12, a total 940 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 100001010010000
  • 🏠 Its numerical neighbours: 17039 (Kleinfeltersville, PA, 58 mi away) and 17041 (Lawn, PA, 43 mi away).
  • 🔄 Backwards, 17040 becomes 04071 — and that is a real ZIP code: Raymond, ME, 430 miles away.
  • 👥 31 other ZIP codes are made of exactly the same digits (00714, 00741, 01074, 01470, 01704, 01740, …). The farthest-flung twin is 00714 in Arroyo, PR, 1,681 miles away.
  • 🧭 Farther north than 59% of all ZIP codes, and farther east than 80%.
  • 🎯1,121 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • 🌏 Dig straight through the Earth from 17040 and you would come out at 40.30°S, 102.66°E — 934 miles from Perth, Australia, the nearest big city to that spot.
  • ☀Longest day of the year: 15h 03m of daylight. Shortest: 9h 18m.
  • 📏 At 53.3 square miles of land, 17040 is bigger than 61% of ZIP codes — room for about 40 Central Parks.
🌙 The sky over 17040 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population2,631This ZIP2,631
Households926This ZIP926
Housing units1,083This ZIP1,083
Median age35.8This ZIP35.8Pennsylvania40.9US 38.9
Median household income$78,824This ZIP$78,824Pennsylvania$77,971US $80,734
Median home value$261,900This ZIP$261,900Pennsylvania$254,500US $332,700
Median gross rent$997This ZIP$997Pennsylvania$1,209US $1,413
Bachelor's degree or higher13.8%This ZIP13.8%
Mean commute33.6 minThis ZIP33.6 min
Population density49.4 / sq miThis ZIP49.4 / sq mi

Business and tax activity

Business establishments35This ZIP35
Employees220This ZIP220
Annual payroll$7,259,000This ZIP$7,259,000
Tax returns filed1,310This ZIP1,310
Total adjusted gross income$89,794,000This ZIP$89,794,000

Land area

Land area53.25 sq miThis ZIP53.25 sq mi
Water area0.34 sq miThis ZIP0.34 sq mi

Other place names in 17040

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

ZIP codes near 17040

ZIPCityDistance
17047 Loysville, PA 6.4 mi
17081 Plainfield, PA 7.2 mi
17024 Elliottsburg, PA 7.8 mi
17006 Blain, PA 8.5 mi
17090 Shermans Dale, PA 8.5 mi
17241 Newville, PA 8.7 mi
17013 Carlisle, PA 9.1 mi
17015 Carlisle, PA 9.7 mi
17037 Ickesburg, PA 10.5 mi
17068 New Bloomfield, PA 10.9 mi

Find every ZIP code within 10 miles of 17040 →

Questions about this ZIP code

Where is ZIP code 17040?

17040 is in Landisburg, Pennsylvania, in Perry County, part of the Harrisburg-Carlisle, PA metropolitan area. Its published point location is 40.2962, -77.3400.

What county is 17040 in?

17040 lies in Perry County.

What area code is 17040?

Landisburg uses area codes 717 and 223, from NANPA's telephone records.

What time zone is 17040 in?

17040 uses America/New_York.

How many people live in 17040?

About 2,631 people live in ZIP code 17040, in 926 households, at 49.4 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 17040?

$78,824 a year, against $77,971 across Pennsylvania.

What ZIP codes are near 17040?

The closest are 17047 (6.4 mi), 17081 (7.2 mi), 17024 (7.8 mi), 17006 (8.5 mi) and 17090 (8.5 mi).

Is 17040 a PO Box ZIP code?

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

Download or cite

Cite this page

zipcodes.pro. “17040 ZIP Code — Landisburg, Pennsylvania (Perry County).” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/zip/17040

Machine-readable version of these facts:

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

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