It combines a back-of-envelope model (traffic, storage, memory, servers), measurements of the real system, load tests and headroom such as N+1.
Capacity planning
Estimating and checking how much hardware a service needs for expected load, and repeating it as load grows.