A spell's range is measured from the base of the casting wizard to the base of the nearest model in the target (if the target is a unit) or to the base of the model itself (if the target is a single model). In the case of a spell which affects a whole unit, the spell affects the whole unit if any of its models are in range, even if this is just one model.
Some spells are represented by a separate template. Spells which have a template to represent their area of effect may be placed so that the centre of the template is at the maximum stated range from the wizard model's base.