It is always 10 yards.*
However, if the hold occurs BEHIND the line of scrimmage, the penalty is 10 yards from the line of scrimmage.
If the hold occurs BEYOND the line of scrimmage, the penalty is 10 yards from the spot of the foul.
*unless you're within your own 20, at which point it is half the distance to the goal