Ratio and lead angle
The reduction ratio of a worm set is simply wheel teeth divided by worm starts. A 40 tooth wheel with a single start worm gives 40:1 in one compact stage, where ordinary spur gears would need two or three stages.
The lead angle is how steeply the thread climbs. Here it is estimated as atan(starts / 10), assuming a worm whose pitch diameter is ten times the gear module, a common proportion. Small lead angles mean more sliding, more friction, and lower efficiency.
Self locking is a tendency, not a promise
When the friction angle between worm and wheel is larger than the lead angle, torque on the wheel cannot turn the worm. Engineering references caution that vibration and lubrication can break this hold, so a set with a lead angle under about 5 degrees is only likely to lock. The drawing keeps one wheel size and thread pitch for clarity.