|Elevation||636 ft (194 m)|
|Area||0.13 sq mi (0 km2)|
|- land||0.13 sq mi (0 km2)|
|- water||0.00 sq mi (0 km2)|
|Density||1,999.9 / sq mi (772 / km2)|
|- summer (DST)||CDT (UTC-5)|
|Wikimedia Commons: Dunfermline, Illinois|
Dunfermline is located at (40.491767, -90.031282).
According to the 2010 census, the village has a total area of 0.13 square miles (0.34 km2), all land.
As of the census of 2000, there were 262 people, 106 households, and 80 families residing in the village. The population density was 1,999.9 people per square mile (778.1/km²). There were 117 housing units at an average density of 893.1 per square mile (347.5/km²). The racial makeup of the village was 95.04% White, 2.29% Native American, and 2.67% from two or more races.
There were 106 households out of which 31.1% had children under the age of 18 living with them, 63.2% were married couples living together, 11.3% had a female householder with no husband present, and 24.5% were non-families. 20.8% of all households were made up of individuals and 11.3% had someone living alone who was 65 years of age or older. The average household size was 2.47 and the average family size was 2.85.
In the village the population was spread out with 24.0% under the age of 18, 9.5% from 18 to 24, 27.1% from 25 to 44, 23.3% from 45 to 64, and 16.0% who were 65 years of age or older. The median age was 37 years. For every 100 females there were 101.5 males. For every 100 females age 18 and over, there were 82.6 males.
The median income for a household in the village was $35,357, and the median income for a family was $41,250. Males had a median income of $22,222 versus $20,000 for females. The per capita income for the village was $16,152. About 4.7% of families and 9.5% of the population were below the poverty line, including 11.8% of those under the age of eighteen and 11.6% of those sixty five or over.
- "US Gazetteer files: 2010, 2000, and 1990". United States Census Bureau. 2011-02-12. Retrieved 2011-04-23.
- "Places: Illinois". 2010 Census Gazetteer Files. United States Census Bureau. Retrieved 2012-10-13.
- "American FactFinder". United States Census Bureau. Retrieved 2008-01-31.