The total capacity of the cluster is defined as the sum of all OSDs. This number only changes when you add or remove disks.
Do not confuse that with the maximum available space for pools which depends on replication factor or erasure code settings and currently used capacity.