A precise model of a 40% relative efficiency p-type HPGe detector was created for photon detection efficiency calculation using the MCNP code. All detector parameters were determined by different experiments. No experimental calibration points were used for the modification of detector parameters. The model was validated by comparing calculated and experimental full energy peak efficiencies in the 40-2754 keV energy range, for point-source geometry with the source-to-detector distance of 25 cm.