If one looked at the
datasheet, one might notice a graph showing the dropout voltage (page six, bottom right corner from memory).
Note that dropout voltage is input - output, so in the case of the 7805, you are quoting 1 to 2V (I have no idea if that's correct, but I'd be dubious about the lower limit without checking the datasheet)