Where is my shutoff, and will it turn?
On a metered supply, where the service enters the building, commonly near the meter in a basement or a utility space. On a well, the pump breaker. Find it now, label it, and try turning it before you need it.
The two minutes this takes is the highest-value maintenance available to any property owner, and almost nobody does it. A valve that has not been moved in twenty years can be stiff or seized, and discovering that at two in the morning with water coming through a ceiling is a different experience from discovering it on a Sunday afternoon.
Show everyone in the building, including anyone who stays there occasionally. Keep the space around the valve clear enough to reach it in the dark. If it will not turn, that is a small plumbing job now and a large one later, and a lever-type valve that anybody can close is a worthwhile replacement.
What should I do before anyone arrives?
Close the valve, switch off the affected circuits from a dry position, lift what you can off wet floors, and photograph everything in place before you move it.
After the water and the power, the useful work is rescuing contents and recording the scene. Furniture lifted onto blocks stops legs staining a floor and stops upholstery wicking water upwards. Boxes, papers and anything with a fabric base come off the floor entirely. Rugs come up, because a wet rug on a wood floor marks it within hours.
Photographs matter more than people expect, because they cannot be taken later. Pictures of water actually standing, of the failed pipe, and of each affected room with a date on them are what an insurer cannot reconstruct from a dried building. Note the time you found it and the time you closed the valve, and write it down rather than trusting memory.
Why does the damage reach rooms the water never visited?
Because water under pressure gets into the structure, and the structure is continuous. It runs along joists, through cavities, under floor coverings and down to the level below, appearing wherever it finds a route out.
A pipe releasing water for an hour does not produce a puddle in one room. It produces a wet volume inside the building, and the visible wet floor is the part that happened to be on top. Subfloor, wall bases, insulation and the ceiling of the room below can all be involved while looking entirely normal.
That is the whole argument for mapping rather than guessing. Readings along a floor and up the adjacent walls, with a thermal camera to show where to measure, give an edge to the wet area. Without it, equipment gets placed where the water was visible, and the part nobody measured dries on its own schedule, which is usually long enough to cause a second problem.
What decides the bill?
How long it ran, how many rooms and levels it reached, whether cavities and insulation are involved, the access needed to reach the wet material, and the days of drying that follow.
Duration dominates everything else. A line that ran for ten minutes with somebody at home is a modest job; the same line running through a weekend in an empty house is a different scale entirely, with the lower level, the structure and the contents all involved.
After that it is the building: finished basements, cavities packed with insulation, and anything that has to be opened and made good again. No figures appear anywhere on this site, and a scope and a price are agreed before work begins rather than described after it. Where an insurer is involved, the measured scope is also what the claim is built from.
Can this be prevented, or only survived?
Largely prevented. Keep the heat on in cold weather, insulate lines in unheated spaces, know and exercise the shutoff, and have the supply closed and drained when a building stands empty in winter.
The failures that cause the most damage are the ones in empty buildings, because nothing stops them. For a property standing unoccupied through a cold spell, closing the supply and draining the system removes the risk altogether, and keeping the heating on a low setting protects the lines that cannot be drained.
The rest is unglamorous and effective: insulation on runs in crawl spaces, attics and outside walls; a cabinet door left open where plumbing sits against an exterior wall in a cold snap; a pressure reducing valve that is actually working; and a water sensor with an automatic shutoff where a failure would be expensive. None of it is a large expense against the alternative.