Long slit spectrometers are widely used in optical and infrared bands in astronomy. Absolute flux calibration for extended sources, however, is not straightforward, because a portion of the radiation energy from a flux calibration star is blocked by the narrow slit width. Assuming that the point spread function(PSF) of the star is circularly symmetric, we develop a robust method to extrapolate the detected stellar flux to the unobscured flux using the measured PSF along the slit-length direction. We apply this method to our long slit data and prove that the uncertainty of the absolute flux calibration is less than a few percents.