How much is a homeless hostel for the night?

I always feel a bit bad when they ask for two euro, obviously it's going to be more than that.

Is there a standard rate, or does it vary from hostel to hostel?

I'd like to pay for the entire amount for the night for someone next time.