A feature of the energy dispersive detector is that some low energy photons are absorbed in the protective window before entering in the active region of the detector. Also some high energy photons pass right through the active region without being detected. This decrease in the number of photons detected at low and high photon energies produces a reduced detector efficiency in these spectral regions. The measurements of low and high detector efficiencies are described using modeling approach. Absorption of x-ray strongly depends on mass absorption coefficients. An investigation has been made to see how different formulations for calculating mass absorption coefficients affect the predicted detector parameters for a number of detectors.