What age is a child ready to be on a top bunk?

J

If you have bunk beds for your children, what do you think is the best age for putting a child on the top?

I know this kind of varies by the physical capability of the child but I’m trying to think of a sort of general age range?