About 25 years ago, I was told by the then Pipe Major in the Skye pipe band that if you kneel down (both knees!), the bottom edge of your kilt should just touch the floor.

He always seemed as authoritative a source as I could find, so I've always followed the advice, and I've never had folk pointing and laughing at me so far, so it's probably as good a rule of thumb as any.