The Tueller Drill, developed by Salt Lake City police in 1983, established the 21-foot benchmark now taught in nearly every serious defensive-tactics curriculum.
Understand how quickly distance closes so you set boundaries in time to matter.
Twenty-one feet feels like a long way. It is not. A determined attacker crosses it in roughly the time it takes you to identify the threat and respond - about a second and a half.
The lesson is not to fear crowds. The lesson is to set your boundaries early. If someone you do not know approaches inside conversational distance, speak up, angle off, put something between you.
A car door, a shopping cart, a park bench - any barrier turns 21 feet into 30 or 40, and 30 or 40 is time you can use. Distance and barriers are the same technique in two shapes.