No such ratio exists. A cube of twice the side length has eight times the volume. However, you can say that the side length of a cube is the cube root of its volume.
If by "cuboid" you mean "rectangular prism", then the situation is even worse than for a cube, since there are infinitely many configurations with different measurements that all give the same volume.