g729 Codec Calculation

g729;

Sr = 8kps (Sample Rate – How often audio is sampled per second.)
Ss = 20ms (Sample Size – This is the duration of each sample delivered. (Can also be 30ms))

Pb = Payload in bits
PB = Payload in bytes

To calculate BW usage:

8000 / 50 (g729 sample size / codec transmission rate in pps)

160 Kb / 8
20 KB

Sr / Ss = Pb / 8 = PB + headers