One-quarter of the head or more: dam.
Less than one-quarter: sadaqah.
Illustrative examples involving 20% and 30% of the head show how the threshold changes the stated ruling. These are teaching examples of the quantity distinction, not automatic determinations for all complex real-life cases.