The effects of accelerating voltage and collection angle on the mean free path for all inelastic electron scattering (lambda(p)), which is an important parameter for determining specimen thickness by using electron energy-loss spectroscopy, were investigated with crystalline Si and amorphous SiO2. First, thickness of Si film was measured with the convergent-beam electron diffraction method, while thickness of SiO2 particles was estimated from their spherical shape. Then from electron energy-loss spectra, lambda(p) was evaluated for Si film and SiO2 particles by changing the accelerating voltage (100similar to300 kV) and the collection angle for the scattered electrons. Under the condition of no objective aperture, lambda(p) for Si film and SiO2 particles was found to increase with the increase of accelerating voltage and to take values of 180 +/- 6 mn (Si) and 247 +/- 8 nm (SiO2) at 300 kV. Also, it was found that lambda(p) in both cases decreases drastically with the increase of collection angle in the range smaller than 25 mrad, while it tends to take a constant value at the collection angle larger than 25 mrad at 200 kV.