<div dir="ltr">Thanks Matt. The problem was lying with the Gaussian fitting. For some systems, the integration results in correct number, for others it doesn't,<div>which I later realized is obvious. Adding up the occupancy gives the total electrons. Thanks.<br><div><br>On Thursday, 17 August 2017 16:15:57 UTC+2, Matt W  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">You might need to show what you are doing. Each state should have an occupancy, if you add up the occupancies you should get the number of electrons...<div><br></div><div>Matt<br><br>On Wednesday, August 16, 2017 at 11:23:49 AM UTC+1, ashish dabral wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br><div>Can anyone tell how I can calculate the right number of electrons from density of states.<div>I am trying to integrate the total dos read from the pdos files to obtain the </div><div>number of electrons. I saw that integrating total dos doesn't give me the exact</div><div>number of electrons which is printed in the output. I get number differences of </div></div><div>10 20 etc. The dos is gaussian/as printed.</div><div><br></div><div>Any pointers?</div><div><br></div><div>Thanks</div></div></div></blockquote></div></div></blockquote></div></div></div>