On a regular AEG, the piston travels roughly 70mm front to back and vice versa.
Diameter of the piston cylinder is roughly 25mm.
Piston head diameter is roughly 23mm.
Barrel length varies, not sure what you're asking about with the whole "ratio" thing, but in my AK47, the inner barrel length is 423mm