Supply piping is sized on demand - but the demand that matters is the probable peak, not the sum of every open tap. Fixture units convert a fixture schedule into one comparable number, and a demand curve turns that number into flow.
Fixture Unit Demand Calculator builds the WSFU total and converts it to peak flow and a suggested supply size for preliminary domestic-water pipe design.