how to calculate hot water boiler capacity

how to calculate hot water boiler capacity