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

17840

ZIP 17840 is Locust Gap, Pennsylvania, in Northumberland County; area codes 272 and 570; Eastern time.

Type
Standard
Time zone
America/New_York
Metro area
Sunbury, PA
Population
188
Coordinates
40.7745, -76.4264
☼ Live from 17840 — Locust Gap, PA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 17840 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 17840
  • 🔢 Type 17840 into a pocket calculator and turn it upside down: OhBLI — not quite a word, sorry.
  • ➕ As a number, 17,840 = 2 × 2 × 2 × 2 × 5 × 223. Its digits add up to 20, a total 2,586 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 100010110110000
  • 🏠 Its numerical neighbours: 17837 (Lewisburg, PA, 30 mi away) and 17841 (Mc Clure, PA, 49 mi away).
  • 🔄 Backwards, 17840 becomes 04871, which is not a ZIP code at all.
  • 👥 57 other ZIP codes are made of exactly the same digits (01748, 01784, 04781, 07184, 07418, 07481, …). The farthest-flung twin is 84710 in Alton, UT, 1,934 miles away.
  • 🧭 Farther north than 64% of all ZIP codes, and farther east than 84%.
  • 🎯1,166 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • 🌏 Dig straight through the Earth from 17840 and you would come out at 40.77°S, 103.57°E — 914 miles from Perth, Australia, the nearest big city to that spot.
  • ☀Longest day of the year: 15h 06m of daylight. Shortest: 9h 15m.
  • 📏 At 2.0 square miles of land, 17840 is bigger than 12% of ZIP codes — room for about 1.5 Central Parks.
🌙 The sky over 17840 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population188This ZIP188
Households58This ZIP58
Housing units131This ZIP131
Median age25.3This ZIP25.3Pennsylvania40.9US 38.9
Bachelor's degree or higher0.0%
Population density94.2 / sq miThis ZIP94.2 / sq mi

Business and tax activity

Business establishments4This ZIP4
Employees404This ZIP404
Annual payroll$10,311,000This ZIP$10,311,000
Tax returns filed120This ZIP120
Total adjusted gross income$6,321,000This ZIP$6,321,000

Land area

Land area2.00 sq miThis ZIP2.00 sq mi
Water area0.00 sq miThis ZIP0.00 sq mi

ZIP codes near 17840

ZIPCityDistance
17851 Mount Carmel, PA 2.0 mi
17834 Kulpmont, PA 2.2 mi
17943 Lavelle, PA 2.6 mi
17832 Marion Heights, PA 2.6 mi
17945 Locustdale, PA 2.8 mi
17921 Ashland, PA 3.8 mi
17888 Wilburton, PA 4.0 mi
17858 Numidia, PA 4.7 mi
17936 Gordon, PA 4.8 mi
17920 Aristes, PA 5.7 mi

Find every ZIP code within 10 miles of 17840 →

Questions about this ZIP code

Where is ZIP code 17840?

17840 is in Locust Gap, Pennsylvania, in Northumberland County, part of the Sunbury, PA micropolitan area. Its published point location is 40.7745, -76.4264.

What county is 17840 in?

17840 lies in Northumberland County.

What area code is 17840?

Locust Gap uses area codes 272 and 570, from NANPA's telephone records.

What time zone is 17840 in?

17840 uses America/New_York.

How many people live in 17840?

About 188 people live in ZIP code 17840, in 58 households, at 94.2 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.

What ZIP codes are near 17840?

The closest are 17851 (2 mi), 17834 (2.2 mi), 17943 (2.6 mi), 17832 (2.6 mi) and 17945 (2.8 mi).

Is 17840 a PO Box ZIP code?

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

Download or cite

Cite this page

zipcodes.pro. “17840 ZIP Code — Locust Gap, Pennsylvania (Northumberland County).” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/zip/17840

Machine-readable version of these facts:

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

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