Weather right now
Asking the National Weather Service…
Where 58040 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.
People and housing
| Population | 1,030This ZIP1,030 |
|---|---|
| Households | 496This ZIP496 |
| Housing units | 529This ZIP529 |
| Median age | 33.0This ZIP33.0North Dakota35.9US 38.9 |
| Median household income | $67,143This ZIP$67,143North Dakota$76,657US $80,734 |
| Median home value | $208,600This ZIP$208,600North Dakota$249,900US $332,700 |
| Median gross rent | $904This ZIP$904North Dakota$954US $1,413 |
| Bachelor's degree or higher | 15.6%This ZIP15.6% |
| Mean commute | 8.0 minThis ZIP8.0 min |
| Population density | 13.7 / sq miThis ZIP13.7 / sq mi |
How 58040 compares
58040 has the most valuable homes in Sargent County: $208,600, against $84,500 in 58017 at the other end, among 5 ZIP codes ranked.
58040 has the highest rents in Sargent County: $904, against $469 in 58067 at the other end, among 5 ZIP codes ranked.
58040 has the youngest population in Sargent County: 33.0, against 57.3 in 58017 at the top, among 5 ZIP codes ranked.
| Measure | 58040 | Rank in county | Above, in ND |
|---|---|---|---|
| Median household income | $67,143 | 4th of 5 | 32% |
| Median home value | $208,600 | 1st of 5 | 64% |
| Median gross rent | $904 | 1st of 5 | 73% |
| Population | 1,030 | 2nd of 7 | 73% |
| Median age | 33.0 | 5th of 5 | 14% |
| Bachelor's degree or higher | 15.6% | 4th of 5 | 13% |
| People per square mile | 14 | 1st of 7 | 86% |
Rank in county is among the ZIP codes of Sargent County, 1 being the highest; "Above, in ND" is the share of North Dakota's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 41This ZIP41 |
|---|---|
| Employees | 2,060This ZIP2,060 |
| Annual payroll | $157,806,000This ZIP$157,806,000 |
| Tax returns filed | 560This ZIP560 |
| Total adjusted gross income | $44,176,000This ZIP$44,176,000 |
Land area
| Land area | 75.41 sq miThis ZIP75.41 sq mi |
|---|---|
| Water area | 0.30 sq miThis ZIP0.30 sq mi |
Other place names in 58040
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
58040 | Gwinner, ND (this ZIP) | — | 1,030 | $67,143 | $208,600 |
58032 | Forman, ND | 7.9 mi | 769 | $85,329 | $160,000 |
58069 | Stirum, ND | 8.3 mi | 151 | — | $137,500 |
58067 | Rutland, ND | 12.0 mi | 277 | $92,969 | $122,300 |
58017 | Cogswell, ND | 12.9 mi | 296 | $61,250 | $84,500 |
58060 | Milnor, ND | 13.5 mi | 1,149 | $77,143 | $167,800 |
58054 | Lisbon, ND | 15.7 mi | 3,400 | $75,370 | $209,000 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
5801318.3 mi
Find every ZIP code within 10 miles of 58040 →
- 🔢 Type 58040 into a pocket calculator and turn it upside down: OhOBS — not quite a word, sorry.
- 🏠 Its numerical neighbours: 58038 (Grandin, ND, 80 mi away) and 58041 (Hankinson, ND, 39 mi away).
- 🧭 Farther north than 94% of all ZIP codes, and farther west than 76%.
- 🎯442 miles north of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 15h 47m of daylight. Shortest: 8h 37m.
- 📏 At 75.4 square miles of land, 58040 is bigger than 71% of ZIP codes — room for about 57 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 58040?
58040 is in Gwinner, North Dakota, in Sargent County. Its published point location is 46.1895, -97.6850.
What county is 58040 in?
58040 lies in Sargent County.
What area code is 58040?
Gwinner uses area code 701, from NANPA's telephone records.
What time zone is 58040 in?
58040 uses America/Chicago.
How many people live in 58040?
About 1,030 people live in ZIP code 58040, in 496 households, at 13.7 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 58040?
$67,143 a year, against $76,657 across North Dakota.
What ZIP codes are near 58040?
The closest where people live are 58032 (7.9 mi), 58069 (8.3 mi), 58067 (12.0 mi), 58017 (12.9 mi) and 58060 (13.5 mi).
Is 58040 a PO Box ZIP code?
58040 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “58040 ZIP Code: Gwinner, North Dakota (Sargent County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/58040
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/58040.json Underlying data is public domain or openly licensed — sources, vintages and licences.