A method for calibration of single-photon detectors without the need of input photon flux calibration is presented. The method relies on the use of waveguide-coupled single photon detectors and a series of photon-counting measurements using a single-photon source. It is shown that the method can yield relative uncertainties of less than 1% including counting statistics and fiber splice loss uncertainties with a total measurement time of about 1 h under the assumptions that the fractional losses of the waveguide-coupled detectors are known or zero and the loss along the waveguide is constant. It is also shown that the fractional losses of the waveguide-coupled detectors can be determined if they are equal. However, in this case an input photon flux calibration is required.