A bag of diatomaceous earth can cost anywhere from $5 to $30. The price will depend on the quality of the diatomaceous earth and the size of the bag.