https://www.computerhope.com/hdquantu.htm
E.g., if you take the Quantum Bigfoot 1.2 GB model:
2492 cylinders * 16 heads * 63 sectors * 512 bytes per sector = 1286111232 bytes
The size it was sold as, is definitely closer GiB (as in power of two):
1.2 * 2*30 = 1288490189
With rounding, they could sell it as 1.3 GiB with the current marketing trick of using SI units.
So the old branding strategy seems to have been: compute the size in bytes, then find a reasonably MiB or GiB value (powers of two).