We discuss W boson and lepton charge asymmetry measurements from W decays in the electron channel, which were made using 9.7 fb$^{-1}$ of RunII data collected by the D0 detector at the Fermilab Tevatron Collider. The electron charge asymmetry is presented as a function of pseudo-rapidity out to |$eta$| $le$ 3.2, in five symmetric and asymmetric kinematic bins of electron transverse momentum and the missing transverse energy of the event. We also give the W charge asymmetry as a function of W boson rapidity. The asymmetries are compared with next-to-leading order perturbative quantum chromodynamics calculations. These charge asymmetry measurements will allow more accurate determinations of the proton parton distribution functions and are the most precise to date.