どのくらい is used to ask questions about the amount, extent, or degree of something. It can be applied to inquire about time, quantity, distance, or even intensity. It translates as "how long," "how much," "how far," or "to what extent" in English, depending on the context.
How Long (Duration): Ask about the length of time for an activity or event.
How Much (Quantity): Ask about the amount of something, such as money or effort.
How Far (Distance): Inquire about physical distance.
To What Extent (Degree): Ask about the intensity or degree of a situation.