How much hay does a horse eat a day?

If it's grass hay they can eat as much as they want.
I don't know if this helps but I read somewhere that wild horses graze for up to 18 hours a day.