Egerkingen has an area, as of 2009, of 6.94 square kilometers (2.68 sq mi).
 Of this area, 1.72 km² (0.66 sq mi) or 24.8% is used for agricultural purposes, while 3.44 km² (1.33 sq mi) or 49.6% is forested.
  Of the rest of the land, 1.74 km² (0.67 sq mi) or 25.1% is settled (buildings or roads), 0.02 km² (4.9 acres) or 0.3% is either rivers or lakes.

Of the built up area, industrial buildings made up 5.5% of the total area while housing and buildings made up 9.2% and transportation infrastructure made up 8.6%.
 Power and water infrastructure as well as other special developed areas made up 1.2% of the area  Out of the forested land, 48.1% of the total land area is heavily forested and 1.4% is covered with orchards or small clusters of trees.
 Of the agricultural land, 17.6% is used for growing crops and 5.3% is pastures, while 1.2% is used for orchards or vine crops.
 All the water in the municipality is flowing water.

The municipality is located in the Gäu district, at the southern foot of the Jura Mountains between Olten and Oensingen.
Egerkingen has an area, as of 2009, of 6.94 square kilometers (2.68 sq mi).  Of this area, 1.72 km² (0.66 sq mi) or 24.8% is used for agricultural purposes, while 3.44 km² (1.33 sq mi) or 49.6% is forested.   Of the rest of the land, 1.74 km² (0.67 sq mi) or 25.1% is settled (buildings or roads), 0.02 km² (4.9 acres) or 0.3% is either rivers or lakes.
Of the built up area, industrial buildings made up 5.5% of the total area while housing and buildings made up 9.2% and transportation infrastructure made up 8.6%.  Power and water infrastructure as well as other special developed areas made up 1.2% of the area  Out of the forested land, 48.1% of the total land area is heavily forested and 1.4% is covered with orchards or small clusters of trees.  Of the agricultural land, 17.6% is used for growing crops and 5.3% is pastures, while 1.2% is used for orchards or vine crops.  All the water in the municipality is flowing water.
The municipality is located in the Gäu district, at the southern foot of the Jura Mountains between Olten and Oensingen.
Egerkingen