This depends on how big a solar water heater system you want/need. For a family of 4 you will need a boiler of at least 200 liters and a collector of about 4 sqm.

This might change depending on your latitude (the further away from the tropical latitudes you go, the more collector surface you need). On average a solar water heater system uses around 4 sqm of roof space.