The common sizes of hoses are 30cm, 40cm, 50cm, and 60cm.
The length of the toilet hose is the length from the toilet inlet to the outlet of the figure-eight valve on the wall. If the installed (reserved) water pipe is normal, a 40cm hose is enough. Sometimes the distance is 50-60cm.